Solving "Cygrunsrv Error 1062" on Windows


For some users, the Cygrunsrv service may throw an error 1062 when trying to start a service QueryServiceStatus on Windows. This error may appear even when the user is a member of the local administrator's group. This article serves to explain the error and provide several possible solutions for correcting the issue.

What Causes Cygrunsrv Error 1062

Cygrunsrv error 1062 occurs when the service QueryServiceStatus returns a failure. This means that the service failed to query or access the status information. Error 1062 is one of the Windows Process Activation Service (WAS) error codes.

The cause of the error can be attributed to a number of issues, including registry corruption, virus infections, incorrect configuration settings, incompatible software, or a missing system file.

How to Fix Cygrunsrv Error 1062

Below are the possible solutions to fix the Cygrunsrv error 1062. It is recommended to try each solution in order until the problem is resolved.

Verify Service Identity: Make sure that the service is running within the correct security context. To do this, right-click on the service, go to the tab “Log On” and verify that it is running under the correct account.

Disable UAC: Disable User Account Control (UAC). To do this, from the Start Menu, type “UAC” in the search box and select “Change User Account Control Settings.” Then move the slider to the “Never Notify” position.

Disable Windows Firewall: Temporary disable Windows Firewall from the Control Panel and from the Command Prompt, type netsh firewall set opmode disable.

Uninstall Conflicting Programs: Uninstall programs as needed in order to avoid any conflicts.

Verify System Files: Check the integrity of system files on the PC with the Windows System File Checker tool. To do this, open Command Prompt and type sfc /scannow.

Run Disk Cleanup: Perform Disk Cleanup with the tool Disk Cleanup by typing in cleanmgr on the Command Prompt. This will help ensure that all temporary files and unnecessary files are removed from the system.

Perform a System Restore: Use the Windows System Restore tool to restore the PC to an earlier date/time.

Reinstall Windows: If the issue still persists, then a complete reinstallation of Windows may be needed.


What is the Windows Process Activation Service (WAS)?

The Windows Process Activation Service (WAS) is a process activation mechanism that is introduced with IIS 7.0. It is used to control how applications respond to user and Web requests.

How do I disable UAC?

To disable User Account Control (UAC), you can use the Control Panel. Go to the Start Menu, type “UAC” in the search box, and select “Change User Account Control Settings.” Then move the slider to the “Never Notify” position.

How do I verify system files?

You can verify system files with the Windows System File Checker tool. To do this, open Command Prompt and type sfc /scannow.

How do I uninstalled conflicting programs?

To uninstall conflicting programs, press and hold the Windows key and press 'R'. Type 'appwiz.cpl' in the open box and press 'Enter' to open the “Programs and Features” window. Select the problematic program and click “Uninstall/Change” to remove the program.

How do I disable Windows Firewall?

To disable Windows Firewall, open the Control Panel, select System and Security, and then Windows Firewall. Select the “Turn Windows Firewall On or Off” link. Select “Turn off Windows Firewall” and then click “OK”.

How to Turn On and Off the User Account Control

Reinstalling Windows

Great! You’ve successfully signed up.

Welcome back! You've successfully signed in.

You've successfully subscribed to

Success! Check your email for magic link to sign-in.

Success! Your billing info has been updated.

Your billing was not updated.