Home    Blog    Student Partners     |     Windows 7    Vista    Server    Live    Office    Mobile    Zune    Developers     |     About Me    What I Use

Peer Name Resolution Protocol

Setting up PNRP

Open a command prompt with administrative privileges and type:
netsh p2p pnrp peer set machinename publish=start autopublish=enable

View a publish machine name

In a command prompt, type:br> netsh p2p pnrp peer show machinename

Response:
Machine Name: 17938413301e5aa0ab674263317ac5f3e9c5996e.
Use this format DNS name in other applications to refer to this machine: p.p1793 8413301e5aa0ab674263317ac5f3e9c5996e.pnrp.net
The machine name is being published.
The machine name is configured to be published automatically.

Set a custom, easier to remember machine name

netsh p2p pnrp peer set machinename publish=start autopublish=enable name=0.custom

Produces the machine name custom.pnrp.net.

Test PNRP

In a command prompt on the same machine or another networked machine, try:
ping custom.pnrp.net

Where custom.pnrp.net is the machine name for the computer you would like to ping.