Computing.Net > Forums > Windows Server 2003 > Logon Scripts - Mapped Drives

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Logon Scripts - Mapped Drives

Reply to Message Icon

Original Message
Name: robbied69
Date: September 22, 2006 at 04:03:31 Pacific
Subject: Logon Scripts - Mapped Drives
OS: Server 2003
CPU/Ram: 3.2GHz/2GB
Manufacturer/Model: Dell
Comment:

Hi,

I am trying to map network drives for a few users via Group Policy. I have created a new OU within and created 4 test users. I want to map some drives to these users rather than doing them manually as a lot more users will join this OU. I have created a batch file as follows:

net use m \\<servername>\Moscow
net use w \\<servername>\AE1

I have copied it to the appropriate folder e.g. C:\WINDOWS\SYSVOL\sysvol\<domain name>\Policies\{86F42B79-1847-4B86-8A32-94550702F40F}\User\Scripts\Logon

I didn't specify any parameters, so I am unsure if that is a problem. I created the GP anyway. When I logged in as a new user, nothing happened no drives were mapped. Does anyone know what the problem is?

I have run the file whilst logged in as this user and the drives are then mapped. Any help will be greatly appreciated.


Report Offensive Message For Removal


Response Number 1
Name: finn
Date: September 22, 2006 at 04:07:47 Pacific
Reply:

Did you place the GPO on the machine or user account?
Did you make sure it was linked?
Have you checked the log files on the workstations for failed GPO's?
are the workstations joined to the right domain, and do the have the right dns?

There is a slight (up to like 1 hour) delay when making a gpo, before all clients receive the gpo and then implement it. that can sometimes be alleviated using gpupdate /force ..

hth


Report Offensive Follow Up For Removal

Response Number 2
Name: Rob Golding (by robg63)
Date: September 22, 2006 at 09:32:01 Pacific
Reply:

You missed off the colons. The commands would be:
net use m: \\<servername>\Moscow
net use w: \\<servername>\AE1

Hope it works!

Rob

Rob Golding - Gold Computer Solutions - Networking, Email and IT Services/Support - www.goldcs.co.uk


Report Offensive Follow Up For Removal







Post Locked

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


Go to Windows Server 2003 Forum Home



Results for: Logon Scripts - Mapped Drives

Logon Script / Map drives
    Summary: From http://www.microsoft.com/technet/treeview/default.asp?url=/technet/prodtechnol/windowsserver2003/proddocs/entserver/net_use.asp "Examples To assign the disk-drive device name E: to the Letters sh...
www.computing.net/answers/windows-2003/logon-script-map-drives/1383.html

logon script
    Summary: i am new to logon script i have a server installed with w2k3 and some workstations installed with Xp. I need to create a logon script for mapping drives and printers. i have created the script but whe...
www.computing.net/answers/windows-2003/logon-script/3173.html

Logon scripts run slowly
    Summary: Hi, I have been running a windows server domain for a while now, but recently I have noticed that logon scripts are running noticeably slowly. The scripts work (all they do is map drives), and everyth...
www.computing.net/answers/windows-2003/logon-scripts-run-slowly/5962.html








Where do you get your digital music from?

iTunes
Amazon
Rhapsody
Elsewhere ;)
Don't have any


View Results

Poll Finishes In 7 Days.
Discuss in The Lounge
Poll History






Data Recovery Software