Error Message: Regenv32 Has Caused an Error in Unknown. Regenv32 Will Be Shutdown (308906)
The information in this article applies to:
- Microsoft Windows Millennium Edition
This article was previously published under Q308906 SYMPTOMS
If you either run the Msconfig tool or you try to shut down the computer, you may receive the following error message:
Regenv32 has caused an error in Unknown. Regenv32 will be shutdown. CAUSE
This issue may occur if your computer is infected with the PE_Weird virus. In this situation, one or more of the following files may be corrupted:
- Autoexec.bat
- Config.sys
- Regenv32.exe
RESOLUTION
To resolve this issue, use either of the methods that are described in this section.
Method One
Rename the Autoexec.bat file and Config.sys file in the root folder, and then create two new files:
- Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
- Expand drive C.
- Right-click the Autoexec.bat file, and then click Rename.
- Rename the file to "Autoexec.old", and then press ENTER.
- Repeat steps 3 and 4 to rename the Config.sys file to "Config.old".
- Point to New on the File menu, and then click Text Document.
- Name the file "Autoexec.bat", press ENTER, and then click Yes when you are prompted to change the file name extension.
- Repeat steps 6 and 7 to create a file named "Config.sys".
- Restart the computer.
Method Two
Rename and extract the Regenv32.exe file:
- Click Start, point to Search, and then click For Files or Folders.
- Type regenv32.exe in the Search for files or folders named box, click Local Hard Drives in the Look in box, and then click Search Now.
- Right-click the regenv32.exe file, and then click Rename.
- Name the file "Regenv32.old", and then press ENTER.
- Close the Search Results window.
- Click Start, point to Programs, point to Accessories, point to System Tools, and then click System Information.
- Click Tools, and then click System Configuration Utility.
- If you receive a message about the environment variables, click OK.
- Click Extract File.
- Type regenv32.exe, and then click Start.
- Click C:\Windows\Options\Install in the Restore from box.
- Type c:\windows\system in the Save file in box, and then click OK.
- Click OK if you are prompted to back up the file.
- Click OK if you are prompted to create the backup folder.
- When you receive the message that states that the file has been successfully extracted, click OK.
- Click OK, and then click Yes.
NOTE: If Msconfig does not start when you try to extract the Regenv32.exe file, see the following Microsoft Knowledge Base article: 129605 How to Extract Original Compressed Windows Files
Modification Type: | Minor | Last Reviewed: | 1/14/2006 |
---|
Keywords: | kberrmsg kbprb KB308906 |
---|
|