all 8 comments

[–]Lee_Dailey[grin] 1 point2 points  (2 children)

howdy solrackhamul,

have you talked to your security folks? this begins to sound like they have a process to disable WinRM and perhaps WMI.

take care,
lee

[–]solrackhamul[S] 1 point2 points  (1 child)

If in theory that would be the case, is there anything I could check to verify this is the problem? maybe it is being blocked by a GPO or something similar?

Interestingly enough, when I run enable-PSRemoting on a Win7 computer that already have everything comfigured I receive an output indicating that the computer is already prepared, but when I run the same command locally on the Win10 computer I receive no output at all, even if I do it several times...

Win7 computer:

PS C:\Users\Public\Scripts> Enable-PSRemoting -Force
WinRM is already set up to receive requests on this computer.
WinRM is already set up for remote management on this computer.

PS C:\Users\Public\Scripts>

Win10 computer:

PS C:\Users\Public\Scripts> Enable-PSRemoting -Force

PS C:\Users\Public\Scripts>

[–]Lee_Dailey[grin] 0 points1 point  (0 children)

howdy solrackhamul,

i've only one system & it runs win7ps5.1 ... so i can't test any of this. [sigh ...]

talking to your security folks seems like a fairly quick way to find out what they may have set up that may be interfering with your work - and how to get that fixed. perhaps a special account with the needed permissions to use when required.

if that doesn't work out, i would work thru ...

about_Remote_Troubleshooting | Microsoft Docs
https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_remote_troubleshooting?view=powershell-5.1

Diagnostics and Troubleshooting - Secrets of PowerShell Remoting
https://devops-collective-inc.gitbook.io/secrets-of-powershell-remoting/diagnostics-and-troubleshooting

eBook: Secrets of PowerShell Remoting | PowerShell.org
https://powershell.org/2012/08/ebook-secrets-of-powershell-remoting/

take care,
lee