2012-05-29 59 views
1

当我尝试启用PSRemoting时,我的机器对我大叫,告诉我Set-WSManQuickConfig存在问题。我不知道我需要做些什么来解决它。想法?无法启用Powershell远程处理

PS C:\Windows\system32> Enable-PSRemoting 

WinRM Quick Configuration 
Running command "Set-WSManQuickConfig" to enable this machine for remote management through WinRM service. 
This includes: 
    1. Starting or restarting (if already started) the WinRM service 
    2. Setting the WinRM service type to auto start 
    3. Creating a listener to accept requests on any IP address 
    4. Enabling firewall exception for WS-Management traffic (for http only). 

Do you want to continue? 
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): 
WinRM already is set up to receive requests on this machine. 
Set-WSManQuickConfig : The WinRM client cannot complete the operation within the time specified. Check if the machine n 
ame is valid and is reachable over the network and firewall exception for Windows Remote Management service is enabled. 

At line:50 char:33 
+    Set-WSManQuickConfig <<<< -force 
    + CategoryInfo   : InvalidOperation: (:) [Set-WSManQuickConfig], InvalidOperationException 
    + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand 
+1

什么操作系统,这是? Windows XP,Vista,Win7?这个系统是否在一个域中? – ravikanth

+0

http://www.nivot.org/nivot2/post/2009/10/30/PowerShell20EnablingRemotingWithVirtualXPModeOnWindows7.aspx –

+0

Windows 7,Windows PowerShell作为管理员。 系统在域中。 – JSWork

回答

0

这里是我的故障排除指南,以解决这个问题,它包括:

  • 是您的计算机连接到域或工作组?
  • 您是否以本地管理员身份登录?
  • PowerShell是否以'管理员'身份启动?
  • 你的密码是空白吗?
  • 您是否尝试连接到SharePoint场?
  • 您的服务器是由托管公司托管/托管吗?
  • 你在使用VirtualBox吗?
  • 您是否正在运行Windows XP?
  • 您是否在计算机上运行语言不是 设置为英语的命令?

https://serverfault.com/questions/337905/enabling-powershell-remoting-access-is-denied

相关问题