These machines have static ips. I have a script to change the registry keys
on all the machines remotely from a 0 to a 1 to disable the internet. We
don't own the wire, so I can't make the changes at the router when I want
the subnet disabled.

-----Original Message-----
From: Charles E Carson [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 9:15 PM
To: NT 2000 Discussions
Subject: RE: Running Logon/Logoff scripts as admin


You *could* make DHCP reservations for these computers and change their
default gateway.  Or vice-versa for the people that need internet access.
This is assuming of course that they need only access to the local subnet.

Alternatively, you could block them at your firewall or router with ACLs,
again, if you used DHCP reservations or static IP addresses.

-----Original Message-----
From: Landon Winburn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 7:47 PM
To: NT 2000 Discussions
Subject: Running Logon/Logoff scripts as admin


I am trying to use the route command to disable the internet on a group of
machines. I have a vb script that is sorta like this:

if regkey = 1 then
route delete 0.0.0.0 mask 0.0.0.0

I then have another to enable it on logoff. Problem is the route command
requires PowerUser or better and the users are "Users". I don't want to
use the runas command, because I don't want to have to sendkey the
password. These machines will also not be turned off or rebooted. Does
anyone know how to run a logon/logoff script as a admin? Any other
suggestions would be great...

Thanks,
Landon.

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to