Quantcast
Channel: Windows PowerShell Forum
Viewing all articles
Browse latest Browse all 2562

PowerShell remoting from Windows 7 to Windows 2008 R2 fails

$
0
0

hello all,

I have a script (which uses PSRemoteRegistry module) that collects registry information from remote servers running Windows Server 2008 R2.
I have local administrator rights on these remote servers.
I can run the script without any issues and the data is collected if I run it from a Windows XP workstation.
But the script fails if I run it from a Windows 7 workstation..

Windows 7 test:
PS C:\> Test-RegKey -ComputerName $server -key $key1
False

Windows XP test:
PS C:\> Test-RegKey -ComputerName $server -key $key1
True

both the $key have the same value.

Any idea why it is failing on Windows 7? Is there a specific policy or something that could be preventing this on the remote 2008 R2 server?

Please advise!

Thanks,
Low


Viewing all articles
Browse latest Browse all 2562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>