Exchange 2010 SP3 Fails at Mailbox Role
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'.
May 17th, 2015 3:26am

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

Free Windows Admin Tool Kit Click here and download it now
May 17th, 2015 3:52am

Hi Manel,

Thank you for your question.

We could enable C$ by the following steps to check if the issue persist:

  1. Click Start, click Run, type regedit, and then click OK.
  2. 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.

  1. In the details pane, click AutoShareServer.
  2. On the Edit menu, click Modify. In the Value data box, type 0, and then click OK.
  3. Exit Registry Editor, and then restart the computer.

Note If the AutoShareServer registry entry does not exist, follow these steps to create it:

  1. Locate and then click the following subkey in the registry:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters

  1. On the Edit menu, point to New, and then click DWORD (32-bit) Value.
  2. Type AutoShareServer, and then click OK.
  3. Double-click AutoShareServer, type 0, and then click OK.
  4. 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
  5. 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

May 18th, 2015 2:27am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics