AOA Forums AOA Forums AOA Forums Folding For Team 45 AOA Files Home Front Page Become an AOA Subscriber! UserCP Calendar Memberlist FAQ Search Forum Home


Go Back   AOA Forums > Hardware > Mobile Devices and Networking


Reply
 
LinkBack Thread Tools Rate Thread
  #1 (permalink)  
Old 9th January, 2003, 02:19 PM
Con's Avatar
Con Con is offline
Member
 
Join Date: June 2002
Posts: 450
Send a message via AIM to Con

Windows 2000 server login script and how to set variables

Hi, I work in a secondary school as a network technician. To deploy the proxy server settings to all the machines on the network, i made a .reg file and deployed it in the login script with regedt. however, some of the admin machines on the network use a different connection to the internet, thru a local isdn CLAM. However, when they log in it obviously deploys the wrong settings to their machine. I have to go round to these 5 pcs each morning when the staff are logged in and change there proxy settings for them. However, as this is per-machine not per-login (the users have the same proxy settings as pupils when they login in a network room) i was wondering how i could use an if statement in the login script so if the machine is an admin machine it goes to a new line and sets new proxy settings.

Perhaps i need to use something like

IF EXISTS C:\admin.proxy goto ADMINPROXY
regedt32 <normal proxy reg file>

:ADMINPROXY:
regedt32 <admin proxy reg file>

-rest of login script-


Would this work before i try it and screw the network up? I need some brownie points so if this will work pls let me know

Conrad
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 98 Machine connecting to a Windows 2000 Domain.. Nate-X Mobile Devices and Networking 6 27th July, 2006 01:13 PM
Windows Script Host V5.6 DimViesel OS, Software, Firmware, and BIOS 3 17th September, 2004 03:32 PM
BLAH!!! COMPUTER STARTS THE REBOOTS AT WINDOWS LOGIN! need hlp pls.... BMan CRASHED! 16 20th April, 2004 10:08 PM
Windows 2000 and Windows NT code posted to the Internet. Southern Man Random Nonsense! 25 19th February, 2004 08:10 PM
Windows 2000 server and exchange! The Spyder CRASHED! 6 9th August, 2002 01:06 PM


All times are GMT +1. The time now is 03:14 PM.


Copyright ©2001 - 2010, AOA Forums
Don't Click Here Don't Click Here Either

Search Engine Friendly URLs by vBSEO 3.3.0