Thursday, June 19, 2014

How to start or stop Group policy Client

Services:

Open run

Type services.msc

Open Group policy client

From General tab you can Start/Stop and change the Startup type of Group Policy Client

To finish press ok button and close Services window

Registry:

Open run

Type regedit

Please navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\gpsvc and 
locate 
Start 
registry key
Double click on Start and edit the value:

Change Startup type :

Automatic - 2
Manual - 3
Disabled - 4
Automatic (Delayed Start) - 2
When you change to Automatic (Delayed Start) a new key DelayedAutostart is created with value 1.
When you change to
 Automatic
 from Automatic (Delayed Start), DelayedAutostart change value to 0.

Command prompt:

Open command prompt

To Start Group Policy Client:

net start gpsvc
You can’t start a service if Startup type is on Disabled. 

To Stop Group Policy Client:

net stop gpsvc

To change Startup type with command line:

Automatic:
REG add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v Start /t REG_DWORD /d 2 /f

Manual:
REG add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v Start /t REG_DWORD /d 3 /f

Disabled:
REG add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v Start /t REG_DWORD /d 4 /f

Automatic (Delayed Start):
REG add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v Start /t REG_DWORD /d 2 /f

Note: When you change to Automatic (Delayed Start) a new key DelayedAutostart is created with value 1.
REG add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v DelayedAutostart /t REG_DWORD /d 1 /f

When you change to Automatic
 from Automatic (Delayed Start), DelayedAutostart change value to 0.
REG add "HKLM\SYSTEM\CurrentControlSet\services\gpsvc" /v DelayedAutostart /t REG_DWORD /d 0 /f


Msconfig:

Open run

Type msconfig

Go to services in msconfig window tab

Uncheck group policy client


To avoid Group Policy Client service from starting with the operating 
system using System Configuration

No comments:

Post a Comment