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

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 8 it will not be started until the user starts it. When the PNRP Machine Name Publication Service is started, it runs as NT AUTHORITY\LocalService in a process of svchost.exe, sharing it with other services. If PNRP Machine Name Publication Service fails to start, the error details are added to Windows 8 error log. When the operating system startup is complete, the user is being notified that the PNRPAutoReg service hasn't been started.

Dependencies

PNRP Machine Name Publication Service can't start, if the Peer Name Resolution Protocol service is disabled or not available.

Restore Default Startup Configuration of 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 C:\Windows\system32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows 8 installation media.