If you have not successfully logged on after the problem first occurred, press the F8 key when the operating system selection page is displayed or before the computer starts Windows. Select the
Last Known Good Configuration option.
If you still experience the problem, follow these steps to log on to the computer and to run Sc.exe.
Windows 2000 and Windows XP- Restart the computer.
- Press the F8 key before the Windows logo page is displayed.
- Press the F8 key to select Advanced Startup Options when the operating system selection page is displayed.
- Use the arrow keys to select Safe Mode with Command Prompt, and then press ENTER.
Windows Server 2003- Restart the computer.
- Press the F8 key before the Windows logo page is displayed.
- Use the arrow keys to select Safe Mode with Command Prompt, and then press ENTER.
You can use the Sc.exe tool to determine what service is incorrectly configured. To do this, follow these steps.
Note Sc.exe is included with Windows XP and with Windows Server 2003. Sc.exe is also available in the Windows 2000 Server resource kit.
- Click Start, click Run, type cmd, and then click OK.
- Type the following commands. Press ENTER after you type each command:
- Sc query HTTPFilter
- Sc query KDC
- Sc query Netlogon
- Sc query NTLMssp
- Sc query PolicyAgent
- Sc query ProtectedStorage
- Sc query SamSs
- Sc query Eventlog
- Sc query PlugPlay
The TYPE value must be 20 WIN32_SHARE_PROCESS for the services that are listed in the "More Information" section to be correctly configured. This value configures the services to run in shared service processes.
For example, if you type
SC query Netlogon, you receive output that is similar to the following:
C:\>sc query Netlogon
SERVICE_NAME: Netlogon
TYPE : 20 WIN32_SHARE_PROCESS
STATE : 4 RUNNING
(STOPPABLE,PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x0
Note Services that are configured to run in separate memory processes have a TYPE value of 10 WIN32_OWN_PROCESS.
After you determine what services are incorrectly configured, follow these steps to change the TYPE value:
- Click Start, click Run, type cmd, and then click OK.
- Type sc config Service Name type= share, and then press ENTER.
Note In this step, Service Name is one of the services that are listed in the "More Information" section. - Repeat step 1 for each service that is incorrectly configured.
Note Even if you received activation notification before you followed these steps, you must reactivate your copy of Windows.