I have recently been working on creating logon scripts for users on Windows 8.1 Enterprise. I was trying to push the scripts out to users using group policy settings via Windows Server 2008 R2. At first it seemed as if something was wrong, as the logon scripts did not seem to be running. I thought that maybe something was wrong with my configuration of the GPO.
After a little research, I noticed that there is a new setting in Windows 8.1 that forces a 300 second (5 minute) delay on all logon scripts. So with a little bit of patience, I noticed that my logon scripts actually would run almost exactly 5 minutes after logon.
This could still be a problem for some IT administrators if the scripts they are pushing out need to be run before the user is able to interact with the desktop. A five minute delay is way too long in that case. Thankfully, there are group policy settings to fix this.
For Administrators using Windows Server 2012 or 2012 R2:
The logon script delay can be managed through the group policy setting located at: Computer Configuration\Policies\Administrative Templates\System\Group Policy\Configure Logon Script Delay
For Administrators using Windows Server 2008 R2:
By default, Windows 8.1-specific settings, like the logon script delay, cannot be managed through group policy in Windows Server 2008 R2. To do this, Administrative Templates for Windows 8.1 and Windows Server 2012 R2 need to be installed on the domain controller being used to manage group policy settings.
These templates can be downloaded from Microsoft at the following web page:
Once the templates are installed, the logon script delay setting can be managed through group policy at: Computer Configuration\Policies\Administrative Templates\System\Group Policy\Configure Logon Script Delay