Logon Script with PowerShell

Hi

Im 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 as Set-ExecutionPolicy -ExecutionPolicy Unrestricted -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


  • Edited by latofi 18 hours 21 minutes ago
March 31st, 2015 8:15am

Hi,

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

On Windows 8 clients, we can run command gpresult/h gpreport.html to collect group policy result report to check how group policy settings are being applied. Besides, on Windows 8 clients, we can try to run the script from the shared location where it is stored to see if it can be run successfully. Moreover, we can check event logs in Event Viewer to see if some related events were logged.

Best regards,
Frank Shen

Free Windows Admin Tool Kit Click here and download it now
March 31st, 2015 10:20pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics