INFO: Configuring Parsing of the AUTOEXEC.BAT File

ID: Q124551


The information in this article applies to:
  • Microsoft Windows NT Workstation version 3.5
  • Microsoft Windows NT Server version 3.5

IMPORTANT: This article contains information about editing the registry. Before you edit the registry, make sure you understand how to restore it if a problem occurs. For information about how to do this, view the "Restoring the Registry" Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in Regedt32.exe.


Windows NT parses the AUTOEXEC.BAT file during startup by default, which results in the appending of the path statement in the AUTOEXEC.BAT file to the system path created by Windows NT.

You can configure parsing of the AUTOEXEC.BAT file in the Registry by doing the following:

WARNING: Using Registry Editor incorrectly can cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

For information about how to edit the registry, view the "Changing Keys and Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete Information in the Registry" and "Edit Registry Data" Help topics in Regedt32.exe. Note that you should back up the registry before you edit it. If you are running Windows NT, you should also update your Emergency Repair Disk (ERD).
  1. Run REGEDT32.EXE.


  2. Modify the following value within HKEY_CURRENT_USER:

    Software\Microsoft\Windows NT\CurrentVersion\Winlogon\ParseAutoexec

    1 = autoexec.bat is parsed
    0 = autoexec.bat is not parsed


This has no effect on the parsing of AUTOEXEC.NT or CONFIG.NT by the MS-DOS or 16-bit Windows environments (VDMs).

NOTE: Support for configuring the parsing of the AUTOEXEC.BAT file is also provided via the REGKEY.EXE file included with the Windows NT 3.5 Resource Kit.

SUMMARY

Additional query words: prodnt Winlogon boot

Keywords : kbNTOS350
Version : winnt:3.5
Platform : winnt
Issue type : kbinfo


Last Reviewed: September 17, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.