If you can’t edit hosts…

c:\windows\system32\drivers\etc\hosts

It’s where you add aliases for machines that aren’t in DNS, and I use it for popup- and cookie- blocking by putting things like ads.doubleclick.com as an alias for 127.0.0.1…

But Mojave, I mean Vista, gets unhappy if you edit the file – Windows Defender and Live One Care both suspect a virus.

So, uhm, what’s the shiny-new-Mojave way to do it?

5 Comments

Did you change it this way?

1) Browse to Start -> All Programs -> Accessories
2) Right click “Notepad” and select “Run as administrator”
3) Click “Continue” on the UAC prompt
4) Click File -> Open
5) Browse to “C:\Windows\System32\Drivers\etc”
6) Change the file filter drop down box from “Text Documents (*.txt)” to “All Files (*.*)”
7) Select “hosts” and click “Open”
8) Make the needed changes and close Notepad. Save when prompted.

is this different from just writing
notepad C:\windows\system32\drivers\etc\hosts in the run prompt?

Yes to both. Breed: It was my successful editing that caused Defender and Live One care to decide the machine was infected (you can “approve” it but neither system is thoroughly convinced).

Soraz: Only the Administrator has authority to edit files under C:\Windows. And I mean, the administrator not your account which is /an/ administrator.

I think there are someplaces that even Administrator can’t write now.

How about this…

http://technet.microsoft.com/en-us/library/cc505868.aspx

How to Ignore Specific Files and Folders

To configure Windows Defender to ignore specific files or folders, follow these steps:

1. Start Windows Defender. Then, click Tools on the toolbar.
2. Click the Options link.
3. Scroll down to the Advanced Options section.
4. Under Do Not Scan These Files Or Locations, click the Add button. In the Browse For Files Or Folders dialog box, select the file or folder you want Windows Defender to ignore. Click OK.
5.

NOTE Where to find Document folders

The Browse For Files Or Folders dialog box doesn’t show users’ Documents folders. However, you can find these under C:\Users by default.

6. Click Save.

Windows Vista will not scan the specified files or folders.

I guess you could install simpledns and set your secound DNS server to localhost?

Leave a Reply

Name and email address are required. Your email address will not be published.

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

You may use these HTML tags and attributes:

<a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <pre> <q cite=""> <s> <strike> <strong> 

%d bloggers like this: