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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logon scripts and drive mapping

Status
Not open for further replies.

ClareSnyder

IS-IT--Management
Oct 23, 2001
53
CA
On an NT system, a batch file with net use commands is used to establish drive mapping across the network. In the user environment profile tab of the user properties page,the logon script name is entered. The batch file is in the c:\winnt\system32\rep\import\scripts directory on my old NT server.

How do I get the same functionality on the new W2K server?
I have tried in "active directory users and computers" opening the "properties" for the "user" and going to the "profile" tab. In the field "logon script" I entered the name of the batch file "login.bat". When I log onto the server as "user" the mappings do not happen. Where does the batch file have to be? What else do I need to do?
I have tried with the batch file in the same file structure as on the NT machine, as well as in the c:\root.
 
Thanks Wolluf - exactly what I needed. The drive mappings are now being found and "all is well"!!
 
Hi I wonder if you could help with my little task?
I would like some help in writing a batch file.
This file must map a drive to a folder on the server and then run the setup.exe in that folder. I have had a go but don't know the correct vocab' for batch files.
Thanks John

Some lead, some follow....I just Hope!
 
itsfisko - should start a new thread - this is a different topic.

something like

net use x: \\server\sharename
start x:\setup.exe

should do (folder obviously needs shares as 'sharename').
 
Thanks Wolluff this has given me a start, the next is to automate the change of shortcut on each machine to point to the server instead of C:\
Thanks John

Some lead, some follow....I just Hope!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top