Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Need Batch or VB script

Posted on 2014-02-12
3
Medium Priority
?
320 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:Mike
  • 2
3 Comments
 
LVL 16

Accepted Solution

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

Author Comment

by:Mike
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:Mike
ID: 39873509
thanks you for your comment....
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

It is a general practice to get rid of old user profiles on a computer  in a LAN environment. As I have been working with a company in a LAN environment where users move from one place to some other place at times. This will make many user profil…
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
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…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …
Suggested Courses

783 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