Failed to connect to a Windows service, it has not been possible to connect Windows to the Group Policy client service

Analysis of problems inma:

Users could not log into the machine.
You could only log in using an account with administrator privileges.
Always logon was displayed the following message: "failed to connect to a Windows service, it has not been possible to connect Windows to the Group Policy client service. This problem prevents standard users to log in the system ... "
And it was not possible to update the group policy with the command GPUPDATE/FORCE.
Where executávamos the command, returning the following error:
"Policy update failed.
Policy update failed. "

Compare the Services started on the machine with another machine in perfect condition and check that the service "Group Policy Client" was stopped on the machine that had the problem.

Problem found, the service Group Policy Client was stopped.

Details about this service:

Service name: gpsvc
Display name: Group Policy Client
Description: the service is responsible for the implementation of options configured by administrators for the computer and users through Group Policy component. If the service is stopped or disabled, the options are not applied and applications and components cannot be managed through Group Policy. Any component or application that relies on the Group Policy component might not work if the service is stopped or disabled.

Problem encountered; now just initialize the service, right? -If it were as easy as well would not have free:D

Attempts to initialize the service Group Policy Client

1. We access the services.msc and try to initialize the service "Group Policy Client", but was not available; was with the options dimmed, preventing service startup; -fail

2. Then tried to initialize the service by prompt (cmd) with the command NET START GPSVC, but we couldn't. -fail
Returned with the following error:
"System error 5.
Access denied. "

We carry out other attempts to initialize the service and most cannot start Xwindows the gpsvc.

The problem was solved by recreating in Registry Editor keys gpsvc service.

See the step by step to solve the problem:

   1. click the Startmenu, then type REGEDIT, click with the right side of the mouse on the icon "regedit.exe" and select the option "run as administrator".

   2. In the Registry Editor go to the key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\gpsvc;

To perform the following steps, you must become the key owner GPSVC and change the effective permissions.
   3. Click with the right side in this key GPSVC, then "Permissions ...";
   4. Click "Advanced";
   5. Click on the tab "owner" and then "Other users or groups ...";

   6. Click on the "sites ...";

   7. Select local computer and click "OK";
   8. Click on "Advanced ...";

   9. Click on the "find now";

  10. Select the group "Administrators" and click "OK";

  11. Go to the tab "effective permissions" and then click "Select ...";

  12. Repeat step 8, 9 and 10 to give the Administrators group the effective permissions;
  13. Click the "account administrators (HOST\Administradores) and change the permissions to" full control "then click" OK ";

  14. Delete the key gpsvc -if you are unable to delete the key, review the previous steps;
  15. Reboot the computer;
  16. Reopen the Registry Editor follow the step 1, and click the menu "file" and "import";
  17. go on a machine where the service is running and export the key gpsvc. If prehurt gpsvc key DownloadHere
  18. Nthe window Import Registry File, import the key gpsvc;
  19. Reboot the computer.
   
Initializing the Group Policy client service:

  20. Click on the ' start ' button and type: services; click Services;

  21. Click with the right side of the mouse in the "Group Policy Client" and boot the service;
  22. Reboot the machine;
  23. Perform a test with the command gpupdate.

Problem solved!!!

Comentários

LEIA-ME

Criar ferramentas e scripts que facilitam seu trabalho no dia a dia, solucionar problemas, documentar tudo e criar o passo a passo de como resolver, é uma tarefa que requer tempo e disposição. Por esse motivo, precisamos de sua contribuição.




Apesar de não ser obrigatória, a sua doação é muito importante para continuarmos criando ferramentas, scripts e procedimentos!
Com sua contribuição manteremos o funcionamento e desenvolvimento dessas e outras soluções.