batcmd.com Windows 7 Services

PNRP Machine Name Publication Service - Windows 7 Service

This service publishes a machine name using the Peer Name Resolution Protocol. Configuration is managed via the netsh context 'p2p pnrp peer'.

This service also exists in Windows 10, 8 and Vista.

Startup Type

Windows 7 edition without SP SP1
Starter Manual Manual
Home Basic Manual Manual
Home Premium Manual Manual
Professional Manual Manual
Ultimate Manual Manual
Enterprise Manual Manual

Default Properties

Display name:PNRP Machine Name Publication Service
Service name:PNRPAutoReg
Type:share
Path:%WinDir%\System32\svchost.exe -k LocalServicePeerNet
File:%WinDir%\system32\pnrpauto.dll
Error control:normal
Object:NT AUTHORITY\LocalService
Privileges:
  • SeChangeNotifyPrivilege
  • SeCreateGlobalPrivilege
  • SeImpersonatePrivilege

Default Behavior

The PNRP Machine Name Publication Service runs as NT AUTHORITY\LocalService in a shared process. It shares an executable file with other services. If the PNRP Machine Name Publication Service fails to load or initialize, the error is recorded into the Event Log. Windows 7 startup should proceed, but a message box is displayed informing you that the PNRPAutoReg service has failed to start.

Dependencies

PNRP Machine Name Publication Service will not start, if the Peer Name Resolution Protocol service is stopped or disabled.

Restore Default Startup Type for PNRP Machine Name Publication Service

Automated Restore

1. Select your Windows 7 edition and Service Pack, and then click on the Download button below.

2. Save the RestorePNRPMachineNamePublicationServiceWindows7.bat file to any folder on your hard drive.

3. Right-click the downloaded batch file and select Run as administrator.

4. Restart the computer to save changes.

Note. Make sure that the pnrpauto.dll file exists in the %WinDir%\system32 folder. If this file is missing you can try to restore it from your Windows 7 installation media.