Computing.Net > Forums > Programming > disconnect drive script-win2000 err

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

disconnect drive script-win2000 err

Reply to Message Icon

Name: JiDa
Date: September 15, 2007 at 20:35:43 Pacific
OS: 2000
CPU/Ram: 1
Product: Gateway
Comment:

Ok I have a batch file script that I use to map a drive from another server(Q) and sets a local drive on server(Z). the script is this

net use Z: /home
net time: \\student-server /set /yes
net use Q: \\server\MS password /USER:Administration\username

so this works great! but! windows 2000 machines are getting halted on start up looking for a password. Its looking for password on mounted drive because it hasn't been disconnected and is seeing it before the script runs. Is there a way to stop this? either setting on machine or in script to disconnect on log off? thanks much in advance



Sponsored Link
Ads by Google

Response Number 1
Name: tonysathre
Date: September 16, 2007 at 15:25:51 Pacific
Reply:

If you're using Active Directory, you can specify a logoff script with a group policy. Make sure to link the GPO to the Workstations OU, or whichever OU contains your workstations.

"Computer security." — Oxymoron


0

Response Number 2
Name: JiDa
Date: September 16, 2007 at 19:28:36 Pacific
Reply:

can u explain a little better? Im with you tho... just need a little clear if you can, thanks soooo much


0

Response Number 3
Name: tonysathre
Date: September 16, 2007 at 22:20:22 Pacific

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More


Create VPN through Batch ... microsoft SQL 2000 & ...



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home


Sponsored links

Ads by Google


Results for: disconnect drive script-win2000 err

Simple Format Script www.computing.net/answers/programming/simple-format-script/16200.html

Coping files from a removable drive www.computing.net/answers/programming/coping-files-from-a-removable-drive/15468.html

Windows Scripting - Network Admin www.computing.net/answers/programming/windows-scripting-network-admin/17750.html