Register for Semperis' Hybrid Identity Protection (HIP) Conference - June 30 - July 1 Register for Semperis' Hybrid Identity Protection (HIP) Conference - June 30 - July 1
Mobile

How to Edit the Hosts File on a Microsoft Surface RT

I literally have spent the past two years paralyzed over deciding which tablet I want to buy. The obvious choice of just buying an iPad never really felt right, as I already own two PCs and a Samsung Galaxy S3. I wanted a tablet that not only performed well on Facebook but also allowed me to hammer out some work as needed.

When the option surfaced to buy a Microsoft Surface RT tablet for $100 at TechEd 2013, I kind of felt like the choice was made for me. However, I’ve played around with it the past few days, and when the first opportunity to do a real work task came up, it occurred to me that I may have a problem on my hands. A small portion of my work requires me to sign into a portal that sits hidden on a server. The only way to access it is to enter the appropriate hostname, which is redirected to the proper IP via the hosts file.

There are a few other reasons you’d want to edit the hosts file, but the good news is that you can do it on a Microsoft Surface RT. If you wanted to edit the hosts file on your iPad, you’d have to jailbreak it first. If you want to do it on an Android tablet, you have to root it first. Now, I’m not a fanboy, I’m just speaking truths. In reality, editing the hosts file on an RT isn’t much different than on a regular Windows machine, but the take-home here is that the Surface RT is a tablet that allows you to do it, and that’s pretty cool (and useful).

Open Notepad As Administrator

The first step is to open up Notepad with administrator rights. In Windows 8 there is always more than one way to skin a cat. From the home screen I just type “notepad,” and it pulled up the Notepad app. Here you can either use a mouse or the trackpad, and right-click on the app, or you can simply swipe down on the touch screen. This will bring up the app menu which allows you to “Run as Administrator.”

Open Notepad as Administrator in Windows RT
Open Notepad as Administrator in Windows RT.

Locate Hosts File in Windows 8 RT

With Notepad open (which will bring you to desktop mode), you need to locate the hosts file (File->Open). As in previous versions of Windows, and Windows 8, the hosts file is located at C:\Windows\System32\drivers\etc.

Locate Host File in Windows 8 RT
The Host file is at C:\Windows\System32\drivers\etc

By default, Notepad will attempt to locate .txt files and technically the hosts file is not a .txt file, so you will not see the file until you choose to view “All Files.”

Open Host File in Windows 8 RT
In order to see the hosts file in the open file prompt, you have to view “All Files.”

From here you can edit the hosts file however you need. Since you have administrative rights, simply save the file and be on your way.

Edit Host File in Windows 8 RT
Behold, the hosts file in Windows 8 RT!

Editing Windows 8 RT Hosts File

As I said above, editing the hosts file in Windows 8 RT isn’t any different or more difficult than it has been in previous versions of Windows. But the fact that you can edit the file on the tablet without hacking the software is a nice win for Microsoft.

Related Topics:

BECOME A PETRI MEMBER:

Don't have a login but want to join the conversation? Sign up for a Petri Account

Register
Comments (3)

3 responses to “How to Edit the Hosts File on a Microsoft Surface RT”

  1. Edit the HOSTS File in Windows 8

    [...] steps to edit the HOSTS file in Windows 8 to help block dubious websites. [Editor's Note: See also Editing a HOSTS files on a Microsoft Surface RT.] IT Management Software – 100% [...]
  2. Is there an app to block ads in metro IE?

    [...] toppence worth That's right; I forgot about this option and apparently it's fairly easy to do on Windows RT. Not bad! New Surface owners! REGISTER YOUR DEVICES Can't find answers for your problems [...]
  3. Edit the Hosts File in Windows 7

    […] Using the steps outlined here, you now have the knowledge necessary to both redirect someone to a different website and to also block their access to specific websites. We have a number of other how-to guides that cover the same topic for different platforms and operating systems, including articles on how to edit a hosts file using Windows 8 and how to edit a hosts file on a mobile device running Windows RT. […]

Leave a Reply

Register for the Hybrid Identity Protection (HIP) Europe Conference!

Hybrid Identity Protection (HIP) Europe 2021 - Virtual Conference

Mobile workforces, cloud applications, and digitalization are changing every aspect of the modern enterprise. And with radical transformation come new business risks. Hybrid Identity Protection (HIP) is the premier educational forum for identity-centric practitioners. At the inaugural HIP Europe, join your local IAM experts and Microsoft MVPs to learn all the latest from the Hybrid Identity world.