2012-05-29 58 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

相關問題