o perform clean-boot troubleshooting, it is necessary to make changes and restart the computer several times to determine if the problem is with something in the operating system environment and, if this is the case, what specific component.
The overall structure of clean-boot troubleshooting that is presented in this article is categorized in the following way:
Note You cannot use Safe mode with networking support when you use a modem or PC Card connection to a network, because modem drivers and PC Card drivers do not load in Safe mode or in Safe mode with networking support.
To start in Safe mode, follow these steps:
Note: You may not be able to test some operations in Safe mode because not all services and devices load in Safe mode or Safe mode with networking support. For example, you cannot test multimedia issues that involve sound, or suspend or hibernate issues in Safe mode. Also, any network programs that rely on the Remote Procedure Call Subsystem (RpcSS) do not work because the RpcSS service does not load in Safe mode with networking support.
If you boot into Safe mode or Safe mode with networking support and the issue still occurs, there may still be an environmental issue; many Function or Filter drivers installed by third-party software may still load in Safe mode.
Therefore, it may be necessary to take an additional step to test and remove third-party drivers in Safe mode.
Programs that are a part of the boot process for Windows 2000 are generally added to one of the following locations:
To back up the Windows 2000 registry:
Note: Sometimes, a program may work correctly when you log on with the default Administrator account only. Older programs may have this problem.
If the default Administrator profile becomes corrupt, you need to reinstall Windows 2000 to correct this problem.
All user-specific configuration information (which is displayed in Registry Editor as HKEY_CURRENT_USER) is stored in the Ntuser.dat file in the \Documents and Settings\username folder.
The following table is a partial list of core operating system services that load; however, this varies according to the services that are installed and the version of Windows 2000 that is in use:
The overall structure of clean-boot troubleshooting that is presented in this article is categorized in the following way:
- Safe Mode or Safe Mode with Networking Support
- Removing Registry Entries
- Testing User Profiles
- Disabling Third-Party Services
- Uninstalling Programs
Safe Mode or Safe Mode with Networking Support
The first step to troubleshoot potential environmental issues is to start in Safe mode or in Safe mode with networking support. If the issue is with a program that does not depend on network connectivity, Safe mode is appropriate. If the issue is with a network program, and you are using a network adapter to connect to a network, Safe mode with networking support may let you test the networking program, including browser issues.Note You cannot use Safe mode with networking support when you use a modem or PC Card connection to a network, because modem drivers and PC Card drivers do not load in Safe mode or in Safe mode with networking support.
To start in Safe mode, follow these steps:
- Click Start, and then click Shut Down.
- Click Restart, and then click OK.
- As the computer restarts, press F8.
- Select Safe Mode or Safe Mode with Networking, and then press ENTER.
Note: You may not be able to test some operations in Safe mode because not all services and devices load in Safe mode or Safe mode with networking support. For example, you cannot test multimedia issues that involve sound, or suspend or hibernate issues in Safe mode. Also, any network programs that rely on the Remote Procedure Call Subsystem (RpcSS) do not work because the RpcSS service does not load in Safe mode with networking support.
If you boot into Safe mode or Safe mode with networking support and the issue still occurs, there may still be an environmental issue; many Function or Filter drivers installed by third-party software may still load in Safe mode.
Therefore, it may be necessary to take an additional step to test and remove third-party drivers in Safe mode.
Removing Registry Entries
If you no longer encounter problems running programs in Safe mode, the issue is mostly likely due to programs that are loading while the Windows 2000 computer is booting.Programs that are a part of the boot process for Windows 2000 are generally added to one of the following locations:
- The Startup folder under the Programs menu.
- The Run line for all users in the registry.
- The Run line for particular users in the registry.
- The "load" entry for all users in the registry.
To back up the Windows 2000 registry:
- Click Start, point to Programs, point to Accessories, point to System Tools, and then click Backup.
- On the General tab, click Emergency Repair Disk and follow the provided directions.
- Click Start, point to Settings, and then click Taskbar and Start Menu Properties.
- On the Advanced tab, click Advanced.
- Open the Startup folder for the user account with which you logged on, and then click Cut on the Edit menu.
- Create a SysDriversBak folder, create a UserStartup folder under the folder, open the UserStartup folder, and then click Paste.
- Repeat steps 1 through 2 and navigate to the All Users\Start Menu\Programs\Startup folder.
- Click Cut on the Edit menu, navigate to the SysDriversBak folder, create an AllUsersStartup folder, and then click Paste.
- Click Start, click Run, type regedit, and then click OK.
- Navigate to the following registry key:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Open the Run key and note the entries on the right pane.
- For each value except for the Default value, click the value, click Export Registry File on the Registry menu, navigate to the SysDriversBak folder, and then save the file using the following naming convention HKLMRun_(valuename)where (valuename) is the name of the value that you are exporting.
- Click Delete on the Edit menu.
- Repeat these steps for each value under the Run key.
- Check the related RunOnce and RunOnceEx keys to see if a program was not completely installed and repeat steps 3 through 5, except that you need to change the naming convention to reflect RunOnce or RunOnceEx.
- Click Start, click Run, type regedit, and then click OK.
- Navigate to the following registry key:HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
- Open the Run key.
- Highlight the first value below Default (value not set), click the value, click Export Registry File on the Registry menu, navigate to the SysDriversBak folder, and then save the file using the following naming convention: HKCURun_(valuename)where (valuename) is the name of the value that you are exporting.
- Click Delete on the Edit menu.
- Repeat these steps for each value under the Run key.
- Check the related RunOnce key to see if a program was not completely installed and repeat steps 3 through 5, except that you need to change the naming convention to reflect RunOnce.
- Click Start, click Run, type regedit, and then click OK.
- Navigate to the following registry key: HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows
- If the value "load" (without quotation marks) has any value data, click Export Registry File on the Registry menu, navigate to the SysDriversBak folder and save the file as HKCUload.
- Double-click the "load" value and clear the value data.
- When you have completed these steps, restart your computer, and test.
- Startup icons from both the All Users group and the user account with which you log on
- HKCURun_ values
- HKLMRun_ values
- HKCUload
- Click Start, point to Programs, point to Accessories, and then click Windows Explorer.
- Navigate to the SysDriversBak folder that you created earlier, open the AllUsersStartup folder, click Select All, and then click Copy on the Edit menu.
- Navigate to the following folder, and then click Paste:\Documents and Settings\All Users\Start Menu\Programs\Startup
- Navigate to SysDriversBak\UserStartup folder, and then click Copy on the Edit menu.
- Navigate to the following folder, and then click Paste: \Documents and Settings\username\Start Menu\Programs\Startupwhere username is the name of the user that you have logged on as.
- Restart your computer and test.
Testing User Profiles
Sometimes, a user's specific information may be corrupted, but other users on the same computer may have no problem. To determine if this is the case, log on as a new user or create a new user account, and then test it.Note: Sometimes, a program may work correctly when you log on with the default Administrator account only. Older programs may have this problem.
If the default Administrator profile becomes corrupt, you need to reinstall Windows 2000 to correct this problem.
All user-specific configuration information (which is displayed in Registry Editor as HKEY_CURRENT_USER) is stored in the Ntuser.dat file in the \Documents and Settings\username folder.
Disabling Third-Party Services
It is sometimes necessary to disable third-party services that are installed to eliminate problems. Safe mode and Safe mode with Networking do not load third-party services, so if Safe mode works, the problem may be due to a third-party service that is loading.The following table is a partial list of core operating system services that load; however, this varies according to the services that are installed and the version of Windows 2000 that is in use:
Comments