Is there any way to force the clients to completely finish processing of all logon scripts before the CTRL-ALT-DEL login prompt appears?
I have a complicated startup script that makes changes to the user profiles. (For example, one startup script deletes any profiles that contains over 5 mp3's.) If the user is fast, and logs in before the script finishes deleting the profile, we see really funny results. However, if the startup script is able to delete the profile, the next time the user logs on, he gets a fresh clean copy of the default profile.
I first tried a GPO to disable "Run startup scripts asynchronously". Unfortunately, this setting works exactly as expected... The startup scripts all run in a row, one at a time, BUT it is clear that the logon prompt doesn't have anything to do with the startup scripts. The logon prompt appears as soon as the workstation service starts.
I have a complicated startup script that makes changes to the user profiles. (For example, one startup script deletes any profiles that contains over 5 mp3's.) If the user is fast, and logs in before the script finishes deleting the profile, we see really funny results. However, if the startup script is able to delete the profile, the next time the user logs on, he gets a fresh clean copy of the default profile.
I first tried a GPO to disable "Run startup scripts asynchronously". Unfortunately, this setting works exactly as expected... The startup scripts all run in a row, one at a time, BUT it is clear that the logon prompt doesn't have anything to do with the startup scripts. The logon prompt appears as soon as the workstation service starts.