修复 Windows 无法连接到组策略客户端服务: (Fix Windows couldn’t connect to the Group Policy Client service: )如果您在尝试登录非管理员帐户(administrator account)时遇到上述错误,那么您来对地方了,今天我们将讨论如何解决此问题。该错误清楚地表明组策略客户端服务(Group Policy Client service)在尝试将非管理员用户登录到Windows时失败。使用管理员帐户(administrator account)时不会出现此类错误,用户可以轻松登录Windows 10。
只要标准用户尝试登录Windows he/she就会看到一条错误消息(error message)“ Windows 无法(Windows couldn)连接到组策略客户端服务(Group Policy Client service)。请(Please)咨询您的系统管理员(system administrator)。” 它清楚地表明咨询您的系统管理员(system administrator),因为管理员可以登录系统并查看(system and view)事件日志(event logs)以更好地了解错误。
主要问题似乎是标准用户(standard user)尝试登录时组策略客户端服务(Group Policy Client service)未运行,因此显示错误消息(error message)。虽然管理员可以登录系统,但他们也会在通知中看到错误消息(error message)“无法连接到Windows 服务(Windows service)。Windows 无法(Windows couldn)连接到gpsvc 服务(gpsvc service)。这个问题会阻止标准用户(standard user)登录”所以不要浪费任何时间让我们(time let)看看如何实际修复 Windows 无法(Fix Windows couldn)连接到组策略客户端服务(Group Policy Client service)在下面列出的故障排除指南的帮助下出错。
修复 Windows 无法(Fix Windows couldn)连接到组策略客户端服务(Group Policy Client service)
确保(Make)创建一个还原点(restore point) 以防万一(case something)出现问题。
方法一:将组策略客户端服务设置为自动(Method 1: Set Group Policy Client service to Automatic)
确保(Make sure)您使用管理帐户(Administrative account)登录,以便执行以下更改。
1.按 Windows 键 + R 然后键入services.msc并按 Enter。
2.找到组策略客户端服务(Group Policy Client service),然后右键单击并选择停止。(Stop.)
3.现在双击它并确保启动类型(Startup type)设置为自动。(Automatic.)
4.下一步,单击开始(Start)以再次启动服务。
5.单击应用,然后单击确定。
6.重新启动您的PC,这将 修复Windows无法连接到组策略客户端服务错误。(Fix Windows couldn’t connect to the Group Policy Client service error.)
方法2:尝试系统还原(Method 2: Try System Restore)
1.按 Windows 键 + R 并输入“ sysdm.cpl ”然后回车。
2.选择系统保护(System Protection)选项卡,然后选择系统还原。( System Restore.)
3.单击下一步并选择所需的系统还原点(System Restore point)。
4.按照屏幕提示完成系统还原(system restore)。
5.重新启动后,您可能能够修复Windows无法连接到组策略客户端服务错误。(Fix Windows couldn’t connect to the Group Policy Client service error.)
方法 3:运行 SFC 和 DISM(Method 3: Run SFC and DISM)
1.按Windows Key + X然后单击命令提示符(管理员)。( Command Prompt(Admin).)
2.现在在cmd中输入以下内容并回车:
Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (If above fails then try this one)
3.等待上述过程完成,完成后重新启动您的电脑。
4.再次打开cmd并输入以下命令并(command and hit enter)在每个命令后按回车键:
a) Dism /Online /Cleanup-Image /CheckHealth
b) Dism /Online /Cleanup-Image /ScanHealth
c) Dism /Online /Cleanup-Image /RestoreHealth
5.让DISM 命令运行并等待(DISM command run and wait)它完成。
6. 如果上述命令(command doesn)不起作用,请尝试以下操作:
Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess
注意:(Note:) 将(Replace)C:RepairSourceWindows替换为修复源(repair source)的位置(Windows 安装或恢复光盘(Windows Installation or Recovery Disc))。
7.重新启动您的 PC 以保存更改并查看您是否能够修复 Windows 无法连接到组策略客户端服务错误。(Fix Windows couldn’t connect to the Group Policy Client service error.)
方法 4:如果无法打开 Windows 更新设置(Method 4: If you can’t open Windows Update Setting)
1.按Windows Key + X然后选择命令提示符(管理员)。(Command Prompt (Admin).)
2.在 cmd 中键入以下命令并按Enter:
netsh
winsock reset
netsh winsock repair
3.重新启动您的PC以保存更改并解决错误。
方法五:关闭快速启动(Method 5: Turn off Fast Startup)
1.按 Windows 键 + R 然后输入“ powercfg.cpl ”并按回车键打开电源选项(Power Options)。
2.单击左上栏中的选择电源按钮的功能。(Choose what the power buttons do)
3.下一步,单击更改(Change)当前不可用的设置。
4.取消选中关机设置下的启用快速启动。(Uncheck Turn on Fast startup)
5.现在单击保存更改并重新启动(click Save Changes and Restart)您的 PC。
此解决方案似乎很有帮助,并且应该 修复 Windows 无法连接到组策略客户端服务错误。(Fix Windows couldn’t connect to the Group Policy Client service error.)
方法 6:注册表修复(Method 6: Registry Fix)
1.按 Windows 键 + R 然后键入regedit 并按回车键打开注册表编辑器(Registry Editor)。
2.现在导航到注册表编辑器(Registry Editor)中的以下键:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpsvc
3.接下来,找到imagepath key的值并检查它的数据。在我们的例子中,它的数据是svchost.exe -k netsvcs。
4.表示上述数据负责gpsvc服务。( gpsvc service.)
5.现在导航到注册表编辑器(Registry Editor)中的以下路径:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost
6.在右侧窗格中找到 netsvcs(locate netsvcs),然后双击它。
7.检查数值数据字段(Value data field)并确保没有丢失 gpsvc。如果它不存在,则添加 gpsvc 值(add the gpsvc value)并在这样做时非常小心,因为您不想删除其他任何内容。单击确定(Click Ok)并关闭对话框(dialog box)。
8.接下来,导航到以下文件夹:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\netsvcs
(这与SvcHost下存在的密钥不同,它存在于左侧窗格中的(left window pane)SvcHost 文件夹(SvcHost folder)下)
9.如果SvcHost 文件夹(SvcHost folder)下不存在 netsvcs 文件夹,则需要手动创建。为此,请右键单击SvcHost 文件夹(SvcHost folder)并选择 New > Key。接下来,输入 netsvcs 作为新密钥的名称。
10.选择刚刚在SvcHost下创建的netsvcs 文件夹(netsvcs folder),在左侧窗格中右键单击并选择(left window pane right-click and select)New > DWORD (32-bit) value。
11.现在输入新DWORD的名称为CoInitializeSecurityParam并双击它。
12.将数值(Value)数据设置为 1,然后单击确定保存更改。
13.现在在 netsvcs 文件夹下( Value under netsvcs folder)同样创建以下三个DWORD (32-bit)值并输入如下指定的值数据:
Name of the DWORD Value Data
CoInitializeSecurityAllowLowBox: 1
CoInitializeSecurityAllowInteractiveUsers: 1
AuthenticationCapabilities: 3020
14. 设置好每个值后单击确定并关闭注册表编辑器(Registry Editor)。
方法 7:注册表修复 2(Method 7: Registry Fix 2)
1.按 Windows 键 + R 然后键入regedit并按Enter打开注册表编辑器(Registry Editor)。
2.导航到以下注册表项(registry key):
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpsvc
3.只要确保上面的钥匙在它的位置,然后继续。
4.现在导航到以下键:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost
5.右键单击Svchost并选择New > Multi-String Value.
6. 将此新字符串命名为GPSvcGroup,然后双击它以将其值更改为 GPSvc ,然后单击确定。
7.再次右键单击Svchost并选择New > Key.
8.将此键命名为GPSvcGroup并按 Enter。
9.现在右键单击GPSvcGroup并选择New > DWORD (32-bit) value。
10.将此DWORD命名为AuthenticationCapabilities并双击它以将其值更改为12320(确保您使用的是Decimal base)。
11.类似地,创建一个名为ColnitializeSecurityParam的新(ColnitializeSecurityParam)DWORD并将其值更改为1。
12.关闭注册表编辑器(Registry Editor)并重新启动您的 PC。
为你推荐:(Recommended for you:)
- (Fix Photo App Keeps Crashing)修复照片应用程序在Windows 10中(Windows 10)不断崩溃
- 如何将Microsoft Edge重置为默认设置(Default Settings)
- 修复(Fix Something)在Windows 10中创建帐户时出现错误错误(Windows 10)
- 修复邮件和日历应用在(Fix Mail and Calendar)Windows 10中打开时崩溃
就是这样,您已成功修复 Windows 无法连接到组策略客户端服务错误(Fix Windows couldn’t connect to the Group Policy Client service error),但如果您对本指南仍有任何疑问,请随时在评论部分询问他们
Fix Windows couldn't connect to the Group Policy Client service
Fix Windows couldn’t connect to the Group Policy Client service: If you are facing the above error while trying to login into non-administrator account then you are at the right place as today we are going to discuss how to fix this issue. The error clearly states that Group Policy Client service failed while trying to log in the non-administrator users into Windows. While using administrator account there is no such error and the user can easily login into Windows 10.
As soon as the standard user tries to login into Windows he/she sees an error message” Windows couldn’t connect to the Group Policy Client service. Please consult your system administrator.” It clearly says consult your system administrator because administrators can login into the system and view the event logs for a better understanding of the error.
The main issue seems like the Group Policy Client service isn’t running when the standard user tried to log in and therefore, the error message is displayed. While administrators can login into the system but they will also see the error message in the notification saying “Failed to connect to a Windows service. Windows couldn’t connect to the gpsvc service. This problem prevents standard users from signing in” So without wasting any time let’s see how to actually Fix Windows couldn’t connect to the Group Policy Client service error with the help of below-listed troubleshooting guide.
Fix Windows couldn’t connect to the Group Policy Client service
Make sure to create a restore point just in case something goes wrong.
Method 1: Set Group Policy Client service to Automatic
Make sure you are logged in with the Administrative account in order to carry out the following changes.
1.Press Windows Key + R then type services.msc and hit Enter.
2.Find Group Policy Client service then right-click and select Stop.
3.Now double click on it and make sure the Startup type is set to Automatic.
4.Next, click on Start in order to again start the service.
5.Click Apply followed by OK.
6.Reboot your PC and this will Fix Windows couldn’t connect to the Group Policy Client service error.
Method 2: Try System Restore
1.Press Windows Key + R and type”sysdm.cpl” then hit enter.
2.Select System Protection tab and choose System Restore.
3.Click Next and choose the desired System Restore point.
4.Follow on screen instruction to complete system restore.
5.After reboot, you may be able to Fix Windows couldn’t connect to the Group Policy Client service error.
Method 3: Run SFC and DISM
1.Press Windows Key + X then click on Command Prompt(Admin).
2.Now type the following in the cmd and hit enter:
Sfc /scannow
sfc /scannow /offbootdir=c:\ /offwindir=c:\windows (If above fails then try this one)
3.Wait for the above process to finish and once done restart your PC.
4.Again open cmd and type the following command and hit enter after each one:
a) Dism /Online /Cleanup-Image /CheckHealth
b) Dism /Online /Cleanup-Image /ScanHealth
c) Dism /Online /Cleanup-Image /RestoreHealth
5.Let the DISM command run and wait for it to finish.
6. If the above command doesn’t work then try on the below:
Dism /Image:C:\offline /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows
Dism /Online /Cleanup-Image /RestoreHealth /Source:c:\test\mount\windows /LimitAccess
Note: Replace the C:\RepairSource\Windows with the location of your repair source (Windows Installation or Recovery Disc).
7.Reboot your PC to save changes and see if you’re able to Fix Windows couldn’t connect to the Group Policy Client service error.
Method 4: If you can’t open Windows Update Setting
1.Press Windows Key + X then select Command Prompt (Admin).
2.Type the following command into cmd and hit Enter:
netsh
winsock reset
netsh winsock repair
3.Reboot your PC to save changes and the error is resolved.
Method 5: Turn off Fast Startup
1.Press Windows Key + R then type “powercfg.cpl” and hit enter to open Power Options.
2.Click on Choose what the power buttons do in the top-left column.
3.Next, click on Change settings that are currently unavailable.
4.Uncheck Turn on Fast startup under Shutdown settings.
5.Now click Save Changes and Restart your PC.
This solution seems to be helpful and should Fix Windows couldn’t connect to the Group Policy Client service error.
Method 6: Registry Fix
1.Press Windows Key + R then type regedit and hit enter to open Registry Editor.
2.Now navigate to the following key in the Registry Editor:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpsvc
3.Next, find the value of imagepath key and check its data. In our case, its data is svchost.exe -k netsvcs.
4.This means the above data is in charge of the gpsvc service.
5.Now navigate to the following path in the Registry Editor:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost
6.In the right window pane locate netsvcs and then double click on it.
7.Check the Value data field and make sure gpsvc is not missing. If it’s not there then add the gpsvc value and be very careful in doing so because you don’t want to delete anything else. Click Ok and close the dialog box.
8.Next, navigate to the following folder:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SvcHost\netsvcs
(This is not the same key present under SvcHost, its present under the SvcHost folder in the left window pane)
9.If netsvcs folder is not present under SvcHost folder then you need to manually create it. To do so, right-click on SvcHost folder and select New > Key. Next, enter netsvcs as the name of the new key.
10.Select the netsvcs folder which you just created under SvcHost and in the left window pane right-click and select New > DWORD (32-bit) value.
11.Now enter the name of the new DWORD as CoInitializeSecurityParam and double click on it.
12.Set Value data to 1 and click OK to save changes.
13.Now similarly create the following three DWORD (32-bit) Value under netsvcs folder and enter the value data as specified below:
Name of the DWORD Value Data
CoInitializeSecurityAllowLowBox: 1
CoInitializeSecurityAllowInteractiveUsers: 1
AuthenticationCapabilities: 3020
14.Click Ok after setting the value of each of them and close the Registry Editor.
Method 7: Registry Fix 2
1.Press Windows Key + R then type regedit and hit Enter to open Registry Editor.
2.Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\gpsvc
3.Just make sure the above key is in it’s location and then continue.
4.Now navigate to the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Svchost
5.Right-click on Svchost and select New > Multi-String Value.
6.Name this new string as GPSvcGroup and then double click on it to change it’s value to GPSvc and hit OK.
7.Again right-click on Svchost and select New > Key.
8.Name this key as GPSvcGroup and hit Enter.
9.Now right-click on GPSvcGroup and select New > DWORD (32-bit) value.
10.Name this DWORD as AuthenticationCapabilities and double click on it to change it’s value to 12320 (make sure you are using Decimal base).
11.Similarly, create a new DWORD called ColnitializeSecurityParam and change it’s value to 1.
12.Close Registry Editor and reboot your PC.
Recommended for you:
That’s it, you have successfully Fix Windows couldn’t connect to the Group Policy Client service error but if you still have any queries regarding this guide then feel free to ask them in the comment’s section