Link to home
Start Free TrialLog in
Avatar of binumhaneef
binumhaneefFlag for United Arab Emirates

asked on

Host File

Is it possible to edit the windows host file through group policy?
Avatar of Emmanuel Adebayo
Emmanuel Adebayo
Flag of United Kingdom of Great Britain and Northern Ireland image

There is no direct way you can you Group Policy to edit Windows host files. Why are you doing this? Is DNS not abel to accomplish the purpose.

There is a VB script that you use, though I have not tested it, please test this in your development enviroment first.

http://www.codeproject.com/Articles/11354/VBScript-for-reading-and-writing-to-the-Windows-ho

Regards
SOLUTION
Avatar of Qlemo
Qlemo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of binumhaneef

ASKER

In our branch we have static ip address so we need to change the host by group policy if possible
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Fix your dns issues so you don't need to use the hosts file.. what you are doing is recreating 1980's technology.