Changing the Network Location in Windows 8 and 8.1

Home > Blogs > PowerShell > Changing the Network Location in Windows 8 and 8.1

Changing the Network Location in Windows 8 and 8.1

Like This Blog 0 Mike Danseglio
Added by November 13, 2015

I recently picked up a Microsoft Surface Pro 3. I’ve always liked tablet computers and this looked to be a great opportunity to test one out in advance of Windows 10 launching. Until now I’ve mostly stayed with Windows 7 as my primary desktop operating system. Learning some of the intricacies of Windows 8.1 has been interesting.

For instructor-led Windows 7 and Windows 10 Training, see our class schedule.

One frustrating bit for me has been the over-simplification of network configuration in Windows 8 and 8.1. Many of the configuration settings that were easily accessed in Windows 7 are either relocated or removed from the graphical user interface (GUI) in Windows 8.1. In particular, I had some difficulty changing the network type for a wireless network from Public (the default) to Private. This was blocking some features from working, especially Remote Desktop Connection.

I found a simple way to change the network location type of a given network with just two commands. This technique works on both wired and wireless connections.

First, open a Windows PowerShell console as an Administrator.

Next, type ipconfig and press Enter to list the local network adapters.


Identify the name of the network adapter you want to configure. In this screenshot I’m changing a network adapter named “vEthernet (External)”.

Before you proceed, it is important to know that if your adapter name has a space in it you need to enclose it in double-quotes for the next command.

Assuming I want to set the vEthernet (External) NIC to the Private network location, I type Set-NetConnectionProfile –interfacealias “vEthernet (External)” –NetworkCategory Private and then press Enter.


That’s it! No reboot or network bouncing is necessary. The change is picked up immediately.


Mike Danseglio – CISSP, MCSE, and CEH

Mike Danseglio teaches IT Security Training, Windows, System Center and Windows Server 2012 classes at Interface Technical Training. His classes are available in Phoenix, AZ and online with RemoteLive™.

Videos You May Like

Creating Users and Managing Passwords in Microsoft Office 365

0 686 3

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.   For instructor-led Office 365 training classes, see our course schedulle: Spike Xavier SharePoint Instructor – Interface Technical Training Phoenix, AZ 20347: Enabling and Managing Office 365    

Windows 10 Features and Navigation – December 1, 2015

0 120 1

In this recorded Windows 10 webinar from December 1,2015, Windows Instructor Steve Fullmer presents the navigation and some of the new features associated with Windows 10 including Sysinternals Tools for Windows Client, Windows core concepts, exploring Process Explorer as well as some of the features that are not yet ready for prime time but will … Continue reading Windows 10 Features and Navigation – December 1, 2015

Detailed Forensic Investigation of Malware Infections – April 21, 2015

4 645 5

How does an investigator hunt down and identify unknown malware? In this recording of our IT Security training webinar on April 21, 2015, Security expert Mike Danseglio (CISSP / CEH) performed several malware investigations on infected computers and identify symptoms, find root cause, and follow the leads to determine what’s happening. He demonstrated his preferred … Continue reading Detailed Forensic Investigation of Malware Infections – April 21, 2015

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.