Unhiding your logon scripts on Windows 7/Vista/2008
Windows 7/Vista/2008 uses a "Welcome" screen that hides your logon script. By default it only gets visible, if the execution takes
more than 30 seconds. This means that our prelogon script is not visible on these clients, unless execution takes more than 30 seconds. In this section,
we will describe how to make it visible. But first you have to decide whether or not you actually want it to be visible. If you just
connect simple shares and you don't like the splash screen, you can just leave it as it is. Then it is only visible on systems older than
Vista. However, if you use more advanced features, you will probably want it visible. Let's say you want to backup the users documents to their
network drive with the syncdir command before the explorer starts, then you need to show the user the progress window that the syncdir command makes.
You may have noticed that by default Windows Vista/7/2008 shows a completely black background when the "Welcome" screen stops. This is gone with FastTrack logon!
It uses the users wallpaper as the background during login, so you will never see this black screen again.
Assuming you actually want to show your logon script, we need to set a registry key. This is not possible to do in the users own context on Windows 7,
which is why FastTrack logon can not set it for you. New in Windows 7 is that all policy keys in the HKEY_CURRENT_USER have are no longer writable for the
user, so we have to do this with group polices. Follow this simple procedure:
- Download this Welcome Screen Policy file and place it in your %windir%/inf folder on your domain controller
- Open your group policies again (see section further up of you are unsure where it is). Under "User Configuration", right-click Administrative Templates,
and then click Add/Remove Templates.
- Click "Add" Button and select the "CustomWelcomeScreen.adm" you just downloaded.
- Select "Disable Welcome Screen" and select "Enable" as shown below.
- Click "OK" - your clients will now show your prelogon script.
You can freely enable and disable it to show or hide you logon script. All it essentially does is writing a DWORD 0 to
SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\DelayedDesktopSwitchTimeout under HKEY_CURRENT_USER. If you have another preferred
way of setting this value under HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE, you can do it that way, but be aware that neither key is writable on
Windows 7 in the users' context.