PNRP Machine Name Publication Service (PNRPAutoReg) Defaults in Windows 7

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

Default Settings

Startup type:Manual
Display name:PNRP Machine Name Publication Service
Service name:PNRPAutoReg
Service type:share
Error control:normal
Object:NT AUTHORITY\LocalService
Path:%SystemRoot%\System32\svchost.exe -k LocalServicePeerNet
File:%SystemRoot%\system32\pnrpauto.dll
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PNRPAutoReg
Privileges:
  • SeChangeNotifyPrivilege
  • SeCreateGlobalPrivilege
  • SeImpersonatePrivilege

Default Behavior

PNRP Machine Name Publication Service is a Win32 service. In Windows 7 it won't be started if the user doesn't start it. When the PNRP Machine Name Publication Service is started, it is running as NT AUTHORITY\LocalService in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If PNRP Machine Name Publication Service fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the PNRPAutoReg service is not running because of the error.

Dependencies

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

Restore Default Startup Configuration for PNRP Machine Name Publication Service

Before you begin doing this, make sure that all the services on which PNRP Machine Name Publication Service depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

2. Copy the command below, paste it into the command window and press ENTER:

sc config PNRPAutoReg start= demand

3. Close the command window and restart the computer.

The PNRPAutoReg service is using the pnrpauto.dll file that is located in the %WinDir%\system32 folder. If the file is changed, damaged or deleted, you can restore its original version from Windows 7 installation media.