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

logon scripts

Status
Not open for further replies.

bigdirk

IS-IT--Management
Mar 14, 2003
31
GB
Hi, I have setup a bank of 6 servers all running active directory. I wish to also use logon scripts as with the older nt os to map network drives. I know i could use group policy for that but I would still like to use the .bat scripts.

I have copied all the scripts into the NETLOGON folder and the scripts execute succesfully. The only problem is that it does not map network drives.

The script I use is as follows:
@echo off
net time \\w2kdc /yes
net use u: /home /yes

Any ideas? The home directories are all created and shared as should with correct access permissions.
 
Try using the following syntax with net use:

net use drive letter: \\server\share /persistent:YES or NO

example net use u: \\w2kdc\home /persistent:NO

Hope this helps.

Jim

Jim Webber
Network Administrator MCSE CNA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top