NET.exe & CMD.exe – Logon script. Hangs. U betcha!
Have you tried running the script in a ‘command prompt window’? Unless you have watched the script in a window you don’t know where the process stops. (Usually waiting on a response from the keyboard.)
Items that cause hangs in logon script –
#1 – mapping a non existing drive. Also gets you if you left ‘Windows Explorer’ at the default of checking ‘network shares and drives’ upon start.
#2 – printer redirects, changes to network printers that are not on.
#3 – secondary logins (this is a biggie) If you try to set access to a 2nd domain before the first one initializes, the process locks up waiting for a flag that cannot arrive.
#4 – Bad script commands. There are small changes in scripting in XP and SP2. These changes are in the allowed options (xxx.exe /1 /C /E etc.) An invalid option will generate an error that you can only see in the command prompt window.
This should get you started. Good Luck.