Need Batch or VB script

Greeting Experts,

I am looking for a script that can push out a list of static routes to list of xp workstations using a GPO in Active Directory. The propose of this script is to block group of users from the internet who do not need to be surfing while they are working…  the script will be tied to GPO and needs to run as a batch or VB  script…. (please see below an example of the routes I looking to add)….  

Route Delete 0.0.0.0
Route add 10.40.XX.XX mask 255.255.255.0 10.25.XX.XX
Route add 170.146.XX.XX mask 255.255.255.0 10.25.XX.XX
Route add 97.107.XX.XX mask 255.255.255.0 10.25.XX.XX
Route add 10.20.XX.XX mask 255.255.255.0 10.25.XX.XX
MikeSecurityAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Brian PringleConnect With a Mentor Systems Analyst II, SCM, ERPCommented:
You could just put that as part of their login script.
0
 
MikeSecurityAuthor Commented:
there not looking to make this part of the start-up script since its only going to small number of computers in AD... these would be general factory floor computers that don't need  access to the internet... something along the lines of a batch or vb script would be perfect for this issue.
0
 
MikeSecurityAuthor Commented:
thanks you for your comment....
0
All Courses

From novice to tech pro — start learning today.