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.

001-Changing-the-Network-Location-in-Windows-8

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.

002-Changing-the-Network-Location-in-Windows-8

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

Enjoy!

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

Windows 10 Managing, Deploying and Configuring – December 2, 2015

0 452 1

In this recorded Windows 10 training webinar from December 2, 2015, Windows Server instructor Rick Trader presents the deployment and management of Windows 10 Enterprise and the new Provisioning capability in Windows 10. Learn how to manage Windows 10 deployments using System Center Configuration Manager, Mobile Device Management and Intune. Also included in his presentation … Continue reading Windows 10 Managing, Deploying and Configuring – December 2, 2015

Windows 10 Features and Navigation – December 1, 2015

0 128 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

Windows 10 Basic Desktop and Navigation

0 943 1

This post is from our recent three-part Windows 10 webinar series. You can watch the video replay of the entire Windows 10 webinars at the following links. Windows 10 Features and Navigation Windows instructor Steve Fullmer introduces the navigation and some of the new features associated with Windows 10 including Sysinternals Tools for Windows Client … Continue reading Windows 10 Basic Desktop and Navigation

Write a Comment

Share your thoughts...

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