Solved

Need Batch or VB script

Posted on 2014-02-12
3
307 Views
Last Modified: 2014-02-20
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
0
Comment
Question by:amstoots
  • 2
3 Comments
 
LVL 16

Accepted Solution

by:
Brian Pringle earned 500 total points
ID: 39853610
You could just put that as part of their login script.
0
 

Author Comment

by:amstoots
ID: 39855125
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
 

Author Closing Comment

by:amstoots
ID: 39873509
thanks you for your comment....
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction During my participation as a VBScript contributor at Experts Exchange, one of the most common questions I come across is this: "I have a script that runs against only one computer. How can I make it run against a list of computers in …
This article is the result of a quest to better understand Task Scheduler 2.0 and all the newer objects available in vbscript in this version over  the limited options we had scripting in Task Scheduler 1.0.  As I started my journey of knowledge I f…
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question