.      How to articles       Windows Services       Group Policy             Donate        
Computer step by step

How to Start/Stop IPsec Policy Agent

Service name: PolicyAgent

Display name: IPsec Policy Agent


Description:

Internet Protocol security (IPsec) supports network-level peer authentication, data origin authentication, data integrity, data confidentiality
 (encryption), and replay protection.  This service enforces IPsec policies created through the IP Security Policies snap-in or the
command-line tool "netsh ipsec".  If you stop this service, you may experience network connectivity issues if your policy requires that
connections use IPsec.  Also,remote management of Windows Defender Firewall is not available when this service is stopped.
Path to executable:

C:\WINDOWS\system32\svchost.exe -k NetworkServiceNetworkRestricted -p

Regedit:
This method shows you how to Start/Stop IPsec Policy Agent service from Registry Editor

Perform the following steps:

Please go to Start and click on the Type here to search

Type regedit and press Enter

Please confirm User Account Control pop-up

Microsoft official disclaimer


Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require
that you reinstall the operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.


Please navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\PolicyAgent 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


Note: 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

Services Regedit CMD Msconfig