Troubleshooting Problems With Logon Scripts

Use this list to troubleshoot the most common problems with logon scripts:

The only valid path option is a subdirectory of the default logon script directory. If the path is any other directory or it uses the environment variable %homepath%, the logon script fails.

Attempting to use the .exe extension for a script file results in the following error message:


NTVDM CPU has encountered an illegal instruction.

If this error message appears, close the window in which the logon script is running.