Error : The RPC server is unavailable
Hello
I get this error whaen I try to to run a script from the Win SBS 2003 that uses the cmdlet Get-WmiObject in all my computers on the network.
I have windows Xp Sp 3 installed.
Quote:
The RPC server is unavailable.
The script runs fine on a local machine.
How do i solve this problem?
Re: Error : The RPC server is unavailable
This problem occurs because of a mismatch in the computer name and the name that the RPC service expects. This mismatch may occur if the computer name is changed by using one of the following methods:
* The Microsoft System Preparation (Sysprep) tool was used to create the Windows XP image that you used to start the computer.
* You change the computer name during the Windows XP Out of Box Experience.
* One or more of the following conditions are true:
o You disconnect the network cable during the Windows XP Out of Box Experience.
o You do not restart the computer after the Windows XP Out of Box Experience has completed.
o You open Disk Management.
To work around this problem, restart the computer at least one time after the Windows XP Out of Box Experience has completed, and before you open Disk Management.
Re: Error : The RPC server is unavailable
The error is usually caused because the server can't be located. Make sure you can ping the server machine using the string you typed into the ComputerName property of the TRemoteServer.
* You might also want to try using an IP address instead in case there is some problem with your DNS configuration or the hosts file. Try setting the "Default Authentication Level" to (Run DCOMCNFG on the server to do this.)
* It may be that you have a static value in your registry's field PagedPoolSize.
Set PagedPoolSize to 0 at:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management