Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Taking Ownership of hosts file

07 Apr 2017   #1
Wewpt

Windows 7 Ultimate x64
 
 
Taking Ownership of hosts file

I'm using a self customized hosts file in Windows 7 Enterprise and am wondering if it would create usablilty problems if I :

1 : Took ownership of the file

and/or

2 : Removed System access

The reason being, making the file read only is constantly and regularly being undone and entries I have are being stripped (mostly windows telemetry). I want to remove any abilities to modify the hosts file without my expressed consent.


Thank you in advance as always.

Wewpt


My System SpecsSystem Spec
.
07 Apr 2017   #2
torchwood

W7 home premium 32bit/W7HP 64bit/w10 tp insider ring
 
 

Hi Wewpt,
Im somewhat confused

Unless you are the administrator of the system you have NO rights at all, and should NOT be able to do this or what your trying to do in your other post as well.
And most likely why you keep losing control of it, as Enterprise editions of W7 are only issued to companies

please copy/paste the output from this tool

http://go.microsoft.com/fwlink/?LinkID=52012

Roy
My System SpecsSystem Spec
07 Apr 2017   #3
Wewpt

Windows 7 Ultimate x64
 
 

Thanks for the response Roy. It's definately Enterprise, I'm one of the Assistant Admins for the company I work for (and part of the default Administrator group) and it is installed on a work laptop that I regularly take home with me for work purposes.

Access to the hosts file was modified to grant our special group access, unbeknownst to me.

Anyways, I've tracked down the issue (entries being removed) to a proprietary script we run as part of a cloud based inventory tracking application and have created an internal ticket within my company to address the issue.

Once again thank you for your assistance


Wewpt

P.S. I've edited my system specs to reflect my own personal version of Windows 7 that I run on my personal desktop computer.
My System SpecsSystem Spec
.

09 Apr 2017   #4
Wewpt

Windows 7 Ultimate x64
 
 

Since none of the responses I got did not offer an answer whatsoever, I'll post my findings for anyone interested to consider.

I took ownership of the hosts file, and removed System completely. I retained both the Administrators group and my custom groups full access. I did this in Windows 7 Ultimate and Enterprise, and the outcome was the same.

Does it work? Yes, with one caveat...

Any services or processes that are explicitly run by anything other than myself or the groups I am in, ignore the hosts file altogether. As such if this is an issue or of concern, don't do it.

As well, because this worked for me, I cannot guarantee that it will result in the same outcome for anyone else. So proceed at your own risk. I take no responsibility for any results, positive or negative, that this modification results in.


Wewpt

P.S. I've found while looking for answers to other OS related questions, that Google, and other search engines filter a lot of the results. I've since tried using Tor browser over a bridged connection and it provides me with many more results.

That being said, use at your own risk. Search engines filter some sites with good reason, but if you're willing to take what you read with a grain of salt, do the research to educate yourself, and take the risk, this may provide you with the answers you're looking for.
My System SpecsSystem Spec
09 Apr 2017   #5
Layback Bear

Windows 7 Pro. 64/SP-1
 
 

A Windows 7 Enterprise system managed by someone on the I.T. team using a Tor browser.

Something new every day.

Jack
My System SpecsSystem Spec
10 Apr 2017   #6
Wewpt

Windows 7 Ultimate x64
 
 

Explain to me why this is any concern (or business) of yours? I described my situation in an attempt to be cooperative and respectful. I asked a question, and am met with nothing but criticism and negative comments. I even changed my system specs to reflect my own personal computer.

Additionally, show me where I said that I was using Tor browser on my work machine.

Regardless, did I get an answer from anyone? An answer to my actual question? No.

This is not the kind of treatment I've come to expect from SevenForums and quite frankly am very disappointed.

I expect this post (if not the entire thread) is going to be deleted, I offer no apologies. It seems the norm anymore for forums such as this to question why and under what circumstances people are trying to do the things they ask about rather than just GIVING them the answers.

Since when is it your responsibility to police people and protect them from actions that may cause negative results? Provide the answers people are asking for if you can, and if you have concerns, voice them. But keep your personal opinions, assumptions, and insults to yourself please. It is neither constructive nor relevant and serves only to frustrate and drive away those you claim to be supporting.

I'll think twice in the future before asking any more questions.

Wewpt
My System SpecsSystem Spec
Reply

 Taking Ownership of hosts file




Thread Tools




Similar help and support threads
Thread Forum
Who's taking ownership
3 part question. 1 Why do I need to "take ownership" of files after I download them? 2 Who or what is taking ownership of my files? 3 Can that entity be removed? I am the only user of this machine and not on any network. I can download a video and after a day or two it won't open until I take...
General Discussion
Hosts file ignored and replaced with hosts.original
Hello. I am trying to use the hosts file. However both pings and web addresses still bypass the hosts file. I noticed that there is another file in the C:\Windows\System32\drivers\etc directory called 'hosts.original'. When ever I delete this file, it reappears seconds later. I have made sure that...
General Discussion
Access denied when taking ownership of a file
Hi, I recently downloaded an application file (.exe), and tried to delete it, but i keep getting the error "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item". I tried changing the ownership of the file > right click >...
System Security
HOSTS File - Create a "Edit HOSTS file" Shortcut
How to Create a "Edit HOSTS file" Shortcut in Windows 7 and Vista The HOSTS file is a .txt file used in Vista and Windows 7 to map hostnames to IP addresses. Your computer checks this file first to resolve any network names to its corresponding IP address before it tries to check the Internet....
Tutorials
Taking Ownership of an .exe
Hey all so I got the Takeownership.reg file off here it and its worked excellent so far but now when i went ot try to take owneship of a .exe the "Take Ownership" isnt there anymore. I clicked a folder and it was there but not when I select a .exe, you tell me what you think! =P Thanks, Kukag
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 22:03.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App