http://support.microsoft.com/?kbid=170086 System32 Folder Opens When Logging on to Windows
SYMPTOMS When you log on to Microsoft Windows, a Microsoft Windows Explorer window may open that displays the contents of the System32 folder.
This behavior also occurs if there is a String value that contains only a single quote character (") as the Value data in the following Registry key: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Run
CAUSE This behavior can occur if a null, incomplete, or damaged entry exists in the registry.
RESOLUTION 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.
Use Registry Editor to view the following two Windows registry keys: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Run
Verify that all the values in these keys do not contain any incorrect, incomplete, or null entries (such as "").
MORE INFORMATION An incorrect entry in the following registry value has been confirmed to cause the behavior described above: Key: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersion/Run Value: ActiveMovie File Extensions Value Type: REG_SZ Value Data: ActMovie.exe /Check
If the value data for this entry is null or appears in Registry Editor as quotation marks, you may experience the problem described above. To correct the problem, change the value data to match the entry above or delete the ActiveMovie File Extensions value.
This behavior can also occur if the Reminder value that has "" next to it is in the following registry key: HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/Run
You can resolve this behavior by deleting the Remainder value.
If you are uncertain whether an entry is incorrect or incomplete, you may want to delete all entries other than the default Windows entry. The following entry to run the System Tray is the only required Windows default entry: Key: HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/CurrentVersio/Run Value: SystemTray Value Type: REG_SZ Value Data: SysTray.exe
复制代码代码如下: On Error Resume Next Set WshShell = WScript.CreateObject("WScript.Shell") X = WshShell.RegRead("HKCU/Software/Microsoft/Windows/CurrentVersion/Run/SB Audigy 2 Startup Menu") If X <> "" Then WshShell.RegWrite "HKCU/Software/Microsoft/Windows/CurrentVersion/Run/SB Audigy 2 Startup Menu", "/L:ENG" X = MsgBox("完成! System32文件夹以后将不会在开机的时候自动打开.", vbOKOnly, "完成") Else MsgBox "这个脚本不能修复你的问题, 相应的注册表键值没有找到,此脚本由高宝猫汉化!", vbOKOnly, "完成." End If