2012-05-29 4 views
1

Lorsque j'essaie d'activer PSRemoting, mon ordinateur crie sur moi, me disant qu'il y a un problème avec Set-WSManQuickConfig. Je ne suis pas sûr de ce que je dois faire pour le réparer. Des idées?Impossible d'activer Powershell Remoting

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

Quel système d'exploitation est-ce? Windows XP, Vista, Win7? Ce système est-il dans un domaine? – ravikanth

+0

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

+0

Windows 7, Windows Powershell en tant qu'administrateur. Le système est sur un domaine. – JSWork

Répondre

0

Voici mon guide de dépannage pour régler ce problème, il couvre:

  • Votre appareil connecté à un domaine ou d'un groupe de travail?
  • Êtes-vous connecté en tant qu'administrateur local?
  • PowerShell a-t-il été lancé en tant qu'administrateur?
  • Votre mot de passe est vide?
  • Essayez-vous de vous connecter à une batterie de serveurs SharePoint?
  • Votre serveur est-il hébergé/géré par une société d'hébergement?
  • Utilisez-vous VirtualBox?
  • Exécutez-vous Windows XP?
  • Exécutez-vous la commande sur un ordinateur dont la langue n'est pas définie sur Anglais?

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