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 0Mike 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.

You may also like:  How to Configure your Network Location in Windows 8 and Windows 8.1

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

Creating Users and Managing Passwords in Microsoft Office 365

0 168 1

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.

How to clone a Windows Server 2012 or 2012 R2 Domain Controller

1 618 2

One of the coolest new features in Window Server 2012 and Windows Server 2012 R2 is the ability to clone a Domain Controller. In the past, if we had virtualized Domain Controllers and we actually took a snapshot of it and then rolled back to that snapshot, it would break the logon service on that … Continue reading How to clone a Windows Server 2012 or 2012 R2 Domain Controller

Detailed Forensic Investigation of Malware Infections – April 21, 2015

2 271 3

In this IT Security training video, Security expert Mike Danseglio (CISSP / CEH) will perform several malware investigations including rootkits, botnets, viruses, and browser toolbars.

Write a Comment

Share your thoughts...

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