When you enable the Run logon scripts synchronously policy in Windows XP, the desktop loads before the logon script finishes?
Windows XP enables a logon performance enhancement by default, which causes your computer to not wait for Group Policy processing before initializing the user environment.
To work around this feature, enable the Always wait for the network at computer startup and logon Group Policy:
1. Open the appropriate GPO.
2. Expand Computer Configuration / Administrative Templates / System / Logon
3. Double-click Always wait for the network at computer startup and logon.
4. Enable the policy and press OK.