ACLight icon indicating copy to clipboard operation
ACLight copied to clipboard

Server 2008 PowerShell v5.1 does not work

Open NickYan7 opened this issue 4 years ago • 2 comments

Summary

For your information:

  1. The winver is Windows Server 2008 R2 SP1, Ver6.1 (7601). And I've updated the .Net so the PowerShell version now is 5.1.
  2. The Server 08 is not in the Domain .

image

What I want to do is to execute the script on a machine that is not in the target domain . So I played a tricky way:

  1. Configuring the dns of the server 08 to point to the target DC.

  2. Using cmd and execute: c:> runas /netonly /user:xxx.com\username powershell

  3. now I have a domain user powershell, then: PS c:> import-module aclight2.psm1 PS c:> Start-ACLsAnalysis

Unfortunately, I got some error...

{177dd1fc-fc53-4b49-a71b-b70e8b8d51f3}

And the script was tested successfully on a Windows 10 which is in the domain.

Please check this, Thanks a lot.

NickYan7 avatar Jan 18 '22 07:01 NickYan7

Tested fail on a Windows 10 that is not in the domain, clearly it must be executed on the machine that domain joined.

NickYan7 avatar Jan 18 '22 08:01 NickYan7

Tested failed on a Server 08 that is domain joined.... the error reported 'the server is not operational'

image

NickYan7 avatar Jan 18 '22 11:01 NickYan7