Microsoft KB Archive/124551

From BetaArchive Wiki
Knowledge Base


INFO: Configuring Parsing of the AUTOEXEC.BAT File

Article ID: 124551

Article Last Modified on 3/20/2007



APPLIES TO

  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Business
  • Windows Vista Home Basic 64-bit edition
  • Windows Vista Home Premium 64-bit edition
  • Windows Vista Business 64-bit edition
  • Windows Vista Starter
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows NT Workstation 3.5
  • Microsoft Windows NT Workstation 3.51
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 3.51
  • Microsoft Windows NT Server 4.0 Standard Edition



This article was previously published under Q124551

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



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

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

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

  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: Winlogon boot ParseAutoexec

Keywords: kbinfo KB124551