?
Solved

Need Batch or VB script

Posted on 2014-02-12
3
Medium Priority
?
319 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
[X]
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
  • 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: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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
In threads here at EE, each comment has a unique Identifier (ID). It is easy to get the full path for an ID via the right-click context menu. However, we often want to post a short link within a thread rather than the full link. This article shows a…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

777 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