Windows hosts file, - Unable to edit issue - Can anyone advise please? #181
Replies: 3 comments 7 replies
-
|
If he is a local admin then he can complete UAC and perform admin functions. Have you looked at the security tab of the hosts file and tried removing write permissions for the local administrator group? If he has local admin then you would also want to block PsExec so he can't operate as the SYSTEM account, maybe ASR can help with this or a WDAC/Applocker block. These are just ideas off the top of my head, you should consider repercussions of each. If he needs to edit HOSTS for his dev work then maybe suggest a VM? |
Beta Was this translation helpful? Give feedback.
-
|
Unsure if this will help but I vaguely remember SSO causing issues. I do however forget what policy it was tied under. (we had a client that had to log into AD so having the username autofill out with LAPS or themselves was causing issues) |
Beta Was this translation helpful? Give feedback.
-
|
Update From what I can tell this was the main culprit, which was allowed to access machines it shouldn't have. Because it accessed non-LAPS-capable machines, it downgraded everyone's account to standard. It's been a steep curve to get them operational again, fortunately with a small team. Possibly because of the extra machines which are non-autopiloted, LAPS didn't seem to work right either. So we have had to go back to the smaller policy, and I'll have to rebuild it slowly again. Life and times of IT lol Thanks for the help guys |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have hit an issue with a user being unable to edit the Windows hosts file; he is a developer, so he does do this from time to time.
He tries to open it as admin, but it won't let him in with his normal auth. He is a local admin. Oddly, it states that Notepad will be installed for the admin.
Yes, I'm aware it's not ideal having users as LA, but this is what I have to work with.
You guys know these policies way better than I do
Are there any specific policies you could point me towards that would affect the access to that file to make edits, by account blocking, etc.?
I have already disabled these.
Win - OIB - ES - Local Group Membership - D - Local Administrators - v3.7
Win - OIB - SC - Device Security - D - Local Security Policies (24H2+) - v3.6
Win - OIB - SC - Microsoft Accounts - D - Configuration - v3.2
Hopefully your better knowledge of OIB can point me to the right place
Many thanks
Beta Was this translation helpful? Give feedback.
All reactions