
What each PowerShell execution policy does, how to check and set it with Set-ExecutionPolicy, and how to fix "running scripts is disabled".
Fix "The Group Policy Client service failed the sign-in" and "Windows couldn't connect to the Group Policy Client service": service, permissions, repair.


Content writer, trio.so
"The Group Policy Client service failed the sign-in. Access is denied." means Windows could not start or reach the Group Policy Client service (gpsvc) during sign-in, so it refuses to log the user on. The most common causes are the service being stopped or disabled, wrong permissions on its registry key, a damaged user profile, corrupted system files, or a profile container that did not attach on a VDI. Work through the fixes below in order; they run from least to most invasive.
The same fault shows up under a second message: "Windows couldn't connect to the Group Policy Client service. This problem prevents standard users from signing in." The fixes are the same. Administrators can often still sign in, which is the clue that it is a gpsvc problem.
services.msc, and press Enter.
On current Windows versions the Startup type is greyed out for this service, so you cannot change it here. If it is stopped or disabled, set it in the registry:
regedit and go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpsvc.Start is 2 (Automatic). Change it to 2 if it is not.The "access is denied" variant often comes from missing permissions on the service key, usually after a security hardening tool or an incorrect script changed them.
gpsvc key and choose Permissions.If you are not sure what the defaults are, open the same key on a healthy PC of the same version and copy what you see.
From a Command Prompt run as administrator, run these in order:
sfc /scannow DISM /Online /Cleanup-Image /RestoreHealth sfc /scannow
Restart when they finish. DISM needs a connection to Windows Update, or a source you give it with /Source.
If administrators can sign in but one user cannot, the profile is a suspect.
regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList..bak suffix. A .bak without a matching entry, or the reverse, means the profile registration broke..bak entry to the proper SID, and set State to 0.C:\Users, delete the SID key, and let Windows create a new profile on the next sign-in. Copy the user's data from the old folder afterwards.On virtual desktops, this error often means the profile container did not attach and the session fell back to a temporary profile before gpsvc could start cleanly.
C:\ProgramData\FSLogix\Logs\Profile for the failing user. A VHDX that is locked by another session, a share with the wrong permissions or no free space are the usual causes. Fix the container, then sign the user in again.A policy that restricts access or changes user rights on the registry or services can trigger this. On an affected PC, run:
gpresult /h C:\Temp\gpresult.html
Open the report and look for policies that touch Registry or System Services permissions, then test with the policy removed. To read a gpresult report, see how to enable Remote Desktop with Group Policy.
Back up the user's data, then reset the PC or restore from an image. Do this for a single PC. If sign-in fails on many PCs at once, look first at what changed on the network, such as a recent GPO or security baseline.
| Cause | Clue | Fix |
|---|---|---|
| Service stopped or disabled | Admin can sign in; gpsvc not running | Fix 1 |
| Wrong registry permissions | "Access is denied" in the message | Fix 2 |
| Corrupted system files | Started after a failed update or power loss | Fix 3 |
| Damaged profile | Only one user affected | Fix 4 |
| Profile container failure | VDI or roaming profiles | Fix 5 |
| Restrictive policy | Started after a GPO or hardening change | Fix 6 |
Group Policy reaches domain-joined Windows machines. trio.so pushes policies to enrolled Windows, macOS, Linux, iOS and Android devices from one console. See policy management.
Related reading: enable Remote Desktop with Group Policy, disable Control Panel using Group Policy and how to disable a domain controller GPO.
trio.so applies policies, apps and patches to Windows devices from one console, and shows the status on each device. Start a 14-day free trial.
trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.
trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.





Have questions? We've got answers. This section covers some of the most commonly asked questions related to this topic.
HKLM\SYSTEM\CurrentControlSet\Services\gpsvc. SYSTEM and Administrators need Full Control and Users need Read. Restart afterwards.Related
The related industry news, interviews, technologies, and resources.

What each PowerShell execution policy does, how to check and set it with Set-ExecutionPolicy, and how to fix "running scripts is disabled".

Tired of intrusive ads on Windows 10? Discover effective methods for how to block ads on Windows 10 and enhance your browsing experience.

Curious about patch management challenges? WSUS vs SCCM offers unique solutions for efficient updates and robust system security in your firm.

How to pause, delay or disable Windows Update on Windows 11 and 10 with Settings, Group Policy, the registry and services, and why IT should defer instead.

Intune vs SCCM compared: cloud vs on-premises, co-management, Configuration Manager's future, and which fits a small, mid-size or hybrid fleet.

How to delete a Windows service with sc delete or PowerShell, fix "marked for deletion", and what to check first. One PC or many.

Disable Control Panel and Settings with Group Policy: the exact policy, its registry value, how to exempt admins and how to allow only some items.

Disable a GPO safely: disable the link, disable user or computer settings, or unlink it, and why to leave the Default Domain Controllers Policy alone.
14-day free trial. No credit card required.
trio.so for MSPs: one console, separate clients