Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Need Batch or VB script

Posted on 2014-02-12
3
311 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

In this tutorial I will show you how to provide a dynamic RTF document on your website generated with data from your database. For this tutorial you will need Microsoft Word or WordPad, WhizBase and Microsoft Access. In this tutorial I will show …
This is pretty cool.  The purpose of this VB Script is to help you document where JAR (Java ARchive) files and specifically java class files are located so that you can address issues seen with a client or that you can speak intelligently with a dev…
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 …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

856 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