We need to append a line to the hosts file for every user on our network. I have admin privileges, but don't know the first thing about windows scripting. Can someone point me in the right direction on this? I don't have the list of all the machine names, so I'd prefer a script that would discover all the machines on the network and do the update.
How to visit every computer on the network and modify the hosts file in windows xp
networkingscriptingvbscriptwindows-xp
Related Topic
- Linux Shell Script to Backup Server Files
- Script to copy file from server and install software
- Windows – Kill / Run Processes Remotely on Network
- Restrict Administrators from changing system time – Windows XP machines (no domain)
- How to “kill” a computer network services on the lan
- How to fix “No Internet Access” message in Network And Sharing Center on Windows 7 when connected through corporate proxy
- VBscript to Get User’s Documents and Desktop folder size
- Windows – Can a user see the Active Directory computer description in the Windows network browser
Best Answer
I realize the question is about modifying the host file via vbscript.
Would it be more effective to create a new internal DNS entry for the hostname you're trying to resolve? If you truly want EVERY user/machine on the network to see this change, perhaps this would be easier?