简体   繁体   English

无法启用Powershell远程处理

[英]Unable to enable Powershell Remoting

When i try to enable PSRemoting my machine yells at me, telling me that there's an issue with Set-WSManQuickConfig. 当我尝试启用PSRemoting时,我的机器对我大叫,告诉我Set-WSManQuickConfig存在问题。 I'm not sure what I need to do to fix it. 我不确定该如何解决。 Ideas? 有想法吗?

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

Here's my trouble shooting guide to fixing this problem, it covers: 这是解决此问题的故障排除指南,内容包括:

  • Is your machine connected to a domain or work group? 您的计算机是否连接到域或工作组?
  • Are you logged in as a local Administrator? 您是否以本地管理员身份登录?
  • Was PowerShell launched as 'Administrator'? PowerShell是否以“管理员”身份启动?
  • Is your password blank? 您的密码为空吗?
  • Are you trying to connect to a SharePoint farm? 您是否要连接到SharePoint服务器场?
  • Is your Server hosted/managed by a Hosting company? 您的服务器是否由托管公司托管/托管?
  • Are you using VirtualBox? 您在使用VirtualBox吗?
  • Are you running Windows XP? 您正在运行Windows XP吗?
  • Are you running the command on a computer where the language is not set to English? 您是否在未将语言设置为英语的计算机上运行命令?

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM