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
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
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
Summary: Hello all, I try couple of things but I didn’t succeeded to make a simple Format v: (usb drive) script. From the cmd if I type it every thing is working. Format v: /fs:fat32 (for example and everyth...
Summary: assuming you have 1 usbdrive. here's a vbscript. save as somename.vbs and run from command prompt. cscript somename.vbs [code] Dim oFSO, oDrive,objFolder,oUsbDrive,oDestination Const USBDRIVE=1 oD...
Summary: I have a script I created by extrapolating from many sources. The drives map fine however my "pauses" aren't working and allowing me to view any error message if any. I have tried the wscript.echo as ...