Configuring Parsing of the AUTOEXEC.BAT File

ID: Q124551


The information in this article applies to:

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:

  1. Run REGEDT32.EXE.


WARNING: Using Registry Editor incorrectly can cause serious, system-wide problems that may require you to reinstall Windows NT to correct them. Microsoft cannot guarantee that any problems resulting from the use of Registry Editor can be solved. Use this tool at your own risk.


  1. 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.

Additional query words: prodnt Winlogon boot


Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: February 15, 1999