If you receive error code 126 or error code 2 when you try to start the HID service, follow the appropriate steps.
Error 126
If you receive error code 126, extract the hidserv.dll file. To do this, follow these steps:
- Search for the hidserv.dll file on your system drive. If you cannot locate the file on your system drive, locate the file on your Windows CD.
- Use the arrow keys to select Extract , and then press ENTER.
- Use the arrow keys to select the C:\Windows\System32 folder, and then set this folder as the destination.
- Restart the computer.
Error 2
If you receive error code 2, change the registry settings.
Note This issue may also occur because of changes in the registry settings.
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.To resolve this problem, turn on the HID service on the computer. To do this, follow these steps:
- Start Registry Editor.
- In Windows Vista, click Start
, type
regedit
in the
Start Search
box, and then press ENTER.
If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.
- In Windows XP, click
Start
, click
Run
, type
regedit
in the
Open
box, and then click
OK.
- Locate and then click the following registry key:
HKEY_LOCAL_MACHINE/System
- Expand System.
- Expand ControlSet001.
- Expand Services, and then click HidServ.
- In the details pane, right-click Type, and then click Modify.
- In the Value data box, make sure that the value is set to 20, and then click OK.
- Expand HidServ , and then click Parameters.
Note If the Parameters registry key does not exist, follow these steps:
- Click HidServ.
- On the Edit menu, point to New, and then click Key.
- Type Parameters, and then press ENTER.
- In the details pane, right-click ServiceDll, and then click Modify.
Note If the ServiceDll registry value does not exist, follow these steps:
- Click Parameters.
- On the Edit menu, point to New, and then click Expandable String Value .
- Type ServiceDll, and then press ENTER.
- In the Value data box, verify that the value is set to %SystemRoot%\System32\hidserv.dll. If this is not the value, type %SystemRoot%\System32\hidserv.dll in the Value data box, and then click OK.
- Repeat steps 5 through 10 for each registry key that contains "ControlSet" in the key name. For example, if there is a registry key that is named CurrentControlSet or ControlSet002, click CurrentControlSet or click ControlSet002 . Then, repeat steps 5 through 10.
- Exit Registry Editor.
- Restart the computer.