Change Unidentified Network from public in windows 7

After upgrading Main computer (one that connect to DSL modem) on LAN, other PC’s are able to get internet. But failed to ping on

Method 1

Go to

Navigate to

Double Click and Change Location Type to

Warning This means from now on all Unidentified Networks will be set as private!!

Method 2

NOTE: This is temporary solution, on rebooting, changes will be lost

This is caused by Network card that connect to lan with IP is assigned as a “Public Network”. Public Network have many features disabled for security.

To fix this, run “ChangeCategory.psl” on Power Shell running as Administrator.

Copy and paste following content to a text file, save it as ChangeCategory.psl

Now run power shell as administrator.


This should be done in folder where ChangeCategory.ps1 is saved.

PowerShell change network

After doing this, Network and Sharing Center will show

Undefined Network

Windows Firewall will show “undefined network” in “Home or work (private) networks”. Being in private network, you get privileges to share, ping etc…

See Windows

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.