I’m trying to replace the host file for all computers in the domain through a group policy, this is what I did:
Created a batch file (see attach) and placed it on the share folder in the primary domain controller.
Created an OU and place my computer in it just for testing the policy.
Created a computer policy on startup that points to the batch file to copy the host file and replace the old one.
None of this is working can anyone help? I had been dealing with this for 2 days now.
Thanks for your help