Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Logon Script with PowerShell

$
0
0

Hi

I’m having some problems running PowerShell scripts using the Logon GPO, as in it does not run at all.

I have Disabled the Configure Logon Script Delay, from the description it should then run scripts without delay.

I have also Enabled Turn on Script Execution (Allow all Scripts), from the description it should do about the same asSet-ExecutionPolicy-ExecutionPolicyUnrestricted-Force that I have also tried to start my script with, but it just does not run from the GPO.

I can copy the script to the computer and run it manually.

EDIT: Looks like it is working on Windows 7 but not Windows 8 !

 

/Lars



Viewing all articles
Browse latest Browse all 19997

Trending Articles



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