Mailbox Role Failed Error: The following error was generated when "$error.Clear(); $InstallerScriptFileName = 'Scripts\ManageScheduledTask.ps1' $OneCopyScriptFileName = 'Scripts\CheckDatabaseRedundancy.ps1' $PsInstallerScriptPath = Join-Path $RoleInstallPath $InstallerScriptFileName $PsOneCopyScriptPath = Join-Path $RoleInstallPath $OneCopyScriptFileName & $PsInstallerScriptPath -RunFromSetup -Install -DeleteExisting -ServerName $RoleNetBIOSName -TaskName "Database One Copy Alert" -PsScriptPath $PsOneCopyScriptPath -PsScriptArgs "-MonitoringContext -ShowDetailedErrors -ErrorAction:Continue" -Verbose " was run: "[ManageScheduledTask.ps1] Could not find script: '\\mail\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.". [ManageScheduledTask.ps1] Could not find script: '\\mail\C$\Program Files\Microsoft\Exchange Server\V14\Scripts\CheckDatabaseRedundancy.ps1'.
Hi
Check if you have
CheckDatabaseRedundancy.ps1 in the Sp3 setup file you have in the below location
\mail\C$\Program Files\Microsoft\Exchange Server\V14\Scripts
Else try with the different setup and see the results
Hi Manel,
Thank you for your question.
We could enable C$ by the following steps to check if the issue persist:
- Click Start, click Run, type regedit, and then click OK.
- Locate and then click the following registry subkey:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Note The AutoShareServer registry entry must be set to the REG_DWORD type. When this value is set to 0 (zero), Windows Server 2008 does not automatically create administrative shares. This does not apply to the IPC$ share or to shares that you create manually.
- In the details pane, click AutoShareServer.
- On the Edit menu, click Modify. In the Value data box, type 0, and then click OK.
- Exit Registry Editor, and then restart the computer.
Note If the AutoShareServer registry entry does not exist, follow these steps to create it:
- Locate and then click the following subkey in the registry:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
- On the Edit menu, point to New, and then click DWORD (32-bit) Value.
- Type AutoShareServer, and then click OK.
- Double-click AutoShareServer, type 0, and then click OK.
- At the command prompt, type net stop srvnet, and then press ENTER. Note When you are prompted, type y, and then press ENTER to stop the services that depend on the Srvnet service
- Type exit, and then press ENTER to close the Command Prompt window.
The more details we could refer to the following link:
https://support.microsoft.com/en-us/kb/954422/
If there are any questions regarding this issue, please be free to let me know.
Best Regard,
Jim