Avoid syncronized logon sleep timer in powershell logon script?

Hi,

We have Asyncronized logon for all our clients except a ad group with a few members that get a GPO that sets syncronized logon for those users. We also have a logon script based on powershell that has a start-sleep command of 60 seconds that fixes som printer issues.

the problem is that the users in the ad group is getting a 60 seconds delay with a black screen on logon. 

Is there a way to avoid the syncronized logon to consider the start-sleep command as part of the login process by using start-job or executing another script file from within the logon script? 

  • Moved by Bill_Stewart 16 hours 55 minutes ago Move to more appropriate forum
August 20th, 2015 5:53am

Hi Primeid,

Please post the updated link here.

Here are some clues as well:
How to schedule a delayed start logon script with Group Policy:
http://www.grouppolicy.biz/2010/01/how-to-schedule-a-delayed-start-logon-script-with-group-policy/


Logon scripts do not run for five minutes after a user logs on to a Windows 8.1-based computer
https://support.microsoft.com/en-us/kb/2895815#/en-us/kb/2895815

Free Windows Admin Tool Kit Click here and download it now
August 21st, 2015 6:39am

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

Other recent topics Other recent topics