Troubleshoot > Troubleshooting and Limitations – Discovery Modules > Troubleshooting and Limitations – Host Connection by PowerShell Discovery

Troubleshooting and Limitations – Host Connection by PowerShell Discovery

This section describes troubleshooting and limitations for Host Connection by PowerShell Discovery.

Problem: Access Denied Error Message

The following error message may appear while trying to discover Windows 2008 SP2 destination by PowerShell protocol:

Connecting to remote server failed with the following error message: Access is denied. For more information, see the about_Remote_Troubleshooting Help topic.

This appears if the user attempting to discover the destination host is not a local Administrator user. (It does not matter if the user is a member of the Administrators group.)

Solution: The solution requires additional configuration of PowerShell.

The LocalAccountTokenPolicy key should be changed to allow users from the Administrator group to connect remotely with Administrator privileges. Run the following command in PowerShell on the discovered host:

Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\
System -Name LocalAccountTokenFilterPolicy -Value 1 -Type DWord

For details of this special case, see "HOW TO ENABLE REMOTING FOR ADMINISTRATORS IN OTHER DOMAINS" at http://technet.microsoft.com/en-us/library/dd347642.aspx.