How do I force Windows 7 startup to finish before logon is allowed?
Posted on 2011-09-08
I am trying to get my Windows 7 workstations to wait until all the Startup policies have finished before allowing the user to logon. My Windows 7 workstations don't behave this way. To test this I've created a group policy that runs the following script:
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objOutput = objFSO.CreateTextFile("C:\Test.txt", True)
objOutput.WriteLine(Now() & " - Sleeping for 5 minutes.")
objOutput.WriteLine(Now() & " - Finished sleeping.")
When the workstation is started, the logon screen is presented immediately. If I log on and check the file that the script creates, only the first line appears. The second line appears 5 minutes later.
How can I force Windows 7 workstations to wait until all startup wscripts are finished before allowing a user to logon? I've enabled the 'Always wait for network at computer startup and logon", which didn't help.