Reader to Reader - Scripting Solutions - 01 Sep 1999

\[Editor's note: Email your scripting solutions (400 words or less) to Reader to Reader at [email protected] Please include your script and phone number. We'll edit submissions for style, grammar, and length. If we print your contribution, you get $100.\]

In Windows NT 4.0, you can synchronize logon scripts and shell loading so that Windows Explorer doesn't start until the logon script has finished running. To delay the start of Windows Explorer, follow these steps:

  1. Run the Registry Editor (i.e., regedit).
  2. Navigate to HKEY_CURRENT_USER\Soft-
    ware\Microsoft\Windows NT\CurrentVersion\
  3. Select RunLogonScriptSync, and change it from the default of 0 to 1.
  4. Quit the Registry Editor.
  5. Log off and back on.

Following these steps works well if you need to change the value for only a few users. If you must change this value for many users, you can use this procedure instead:

  1. Run the Registry Editor.
  2. Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\ WindowsNT\CurrentVersion\Winlogon.
  3. Create a DWORD value, name this value RunLogonScriptSync, and assign a value of 1 to it.
  4. Quit the Registry Editor.
  5. Log off and back on.

Although the steps differ, the result is the same: No application runs until the logon script maps all the drives.

—Vladimir Tankhimovich
[email protected]

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.