Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setup script

Status
Not open for further replies.

ssphoenix

IS-IT--Management
Jan 22, 2001
306
0
0
US
Hi there,

I can't get the script to continue executing. I need the time from the PDC with the line:

net use /domain:domainname /set /yes

the line executes fine but gives me a message "do I want to use the time .... " something like that.

I also want to remove H drive before I remap it. This is on NT/2000 workstations.

net use h: /del /yes

It does delete but stops for an imput.

Thanks
 
Simple method to get the time use

net time \\servername /yes

to disconnect a drive prior to mapping use

net use h: /d

I don't think you need the /yes on this line. This has worked on both NT and Win2K.
 
Have you thought about using KIXTART, it sure can help in using the scripting on login.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top