How to disable these services ?

Bonus12 1,116 Reputation points

Hi ,

On Windows 10 machines I need to disable all the following services but can't find a way of doing it via GPO or registry:

Peer Name Resolution Protocol (PNRPsvc)
Peer Networking Grouping (p2psvc)
Peer Networking Identity Manager (p2pimsvc)
PNRP Machine Name Publication Service

Any help please?

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
7,433 questions
Windows Group Policy
Windows Group Policy
A feature of Windows that enables policy-based administration using Active Directory.
2,126 questions
Windows 10 Security
Windows 10 Security
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Security: The precautions taken to guard against crime, attack, sabotage, espionage, or another threat.
2,323 questions
0 comments No comments
{count} votes

Accepted answer
  1. Kapil Arya 6,116 Reputation points MVP


    To disable the services via registry, go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<SERVICE NAME>. Set Start registry DWORD to 4. Do these for all services you want to disable and reboot.

    To disable the services using Command Prompt, execute sc stop “<SERVICE NAME>” & sc config “<SERVICE NAME>” start=disabled command.

    Hope this helps!

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,251 Reputation points

    There are more methods you could consider to disable the services like from GUI, commands, registry and so on.
    1.Take "Disable a Service using "Sc Config" Command in Command Prompt" as example:
    Type the command below into the elevated command prompt
    sc config "service name" start=disabled

    *The Service name of a service is displayed in the service's properties.

    After successfully run the command, it will return message like: [SC] ChangeServiceConfig Success.

    Reference link:
    Please note: Information posted in the given link is hosted by a third party. Microsoft does not guarantee the accuracy and effectiveness of information.

    2.If you would like to modify service via GPO, it is required to process for policy as instructed below:
    How To Configure Group Policies to Set Security for System Services

    Hope this helps and please help to accept as Answer if the response is useful.


    0 comments No comments