Windows 7 know how
When I try to ping a brand new install of Windows 7 (beta). I got the “Request Timed out” error and when I try to use PowerShell to restart the Windows 7 box remotely, I got the below error:
Restart-Computer -computername neptune
Restart-Computer : The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
At line:1 char:17
+ Restart-Computer <<<< -computername neptune
+ CategoryInfo : InvalidOperation: (:) [Restart-Computer], COMException
+ FullyQualifiedErrorId : RestartComputerException,Microsoft.PowerShell.Commands.RestartComputerCommand
How to fix this?
On the Windows 7 box, I go to Control Panel – Windows Firewall, in "Allow programs to communicate through Windows Firewall” I enabled “File and Printer Sharing” and “Windows Management Instrumentation(WMI)”, I am now able to ping the Windows 7 box successfully. When I try to restart-computer again, I get a new error:
Restart-Computer -computername neptune
Restart-Computer : This command cannot be executed on target computer('neptune') due to following error: The system shu
tdown cannot be initiated because there are other users logged on to the computer.
At line:1 char:17
+ Restart-Computer <<<< -computername neptune
+ CategoryInfo : InvalidOperation: (neptune:String) [Restart-Computer], InvalidOperationException
+ FullyQualifiedErrorId : InvalidOperationException,Microsoft.PowerShell.Commands.RestartComputerCommand
What if I insist to reboot the Windows 7 box, Yes I can!
Restart-Computer –computername neptune -force