changing mapped drive paths for users

Jason

Distinguished
Jul 25, 2003
1,026
0
19,280
Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

Dear all

we are running windows 2000 svr and I need to have my
users mapped networked drives repointed to a different
server when the log on.

I have written a .BAT file called login.bat, to map this
drive using the NET USE command, this batch file works
fine and well when executed localy, and the drive is
mapped and visible in my computer, however when i place it
in to the folder
%SYSTEMROOT%\SYSVOL\sysvol\<domain name>\scripts on the
server and add
%SYSTEMROOT%\SYSVOL\sysvol\<domain name>\scripts\login.bat
to the logon script section of my user propertys in AD
when i log on the drives are not mapped. It seems like
the .bat file is not being called correctly, does anyone
have any ideas..??
TY
Jason
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

jason wrote:

> mapped and visible in my computer, however when i place it
> in to the folder
> %SYSTEMROOT%\SYSVOL\sysvol\<domain name>\scripts on the
> server and add
> %SYSTEMROOT%\SYSVOL\sysvol\<domain name>\scripts\login.bat

I don't know, but on my network the script would be placed as above, but
the mapping in each user's account would be simply written as

'login.bat'

without the path.

You have to first ask yourself if logon scripts have EVER worked on your
network, if not you have to start by testing on your own account with a
file that does something really dumb like echos some text to c:\test.txt

If that works you can move on to drive mappings.

--
Gerry Hickman (London UK)
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

Try just putting the script in:
\\domainname\netlogon... it'll get copied around to where you need it. Just
set the user login script on their user object to "login.bat" or whatever
you name it---no paths, as it knows to look in netlogon for login scripts
for user account objects

HTH

Ken


"jason" <anonymous@discussions.microsoft.com> wrote in message
news:153001c4ac4c$46f6fc20$a401280a@phx.gbl...
> Dear all
>
> we are running windows 2000 svr and I need to have my
> users mapped networked drives repointed to a different
> server when the log on.
>
> I have written a .BAT file called login.bat, to map this
> drive using the NET USE command, this batch file works
> fine and well when executed localy, and the drive is
> mapped and visible in my computer, however when i place it
> in to the folder
> %SYSTEMROOT%\SYSVOL\sysvol\<domain name>\scripts on the
> server and add
> %SYSTEMROOT%\SYSVOL\sysvol\<domain name>\scripts\login.bat
> to the logon script section of my user propertys in AD
> when i log on the drives are not mapped. It seems like
> the .bat file is not being called correctly, does anyone
> have any ideas..??
> TY
> Jason
>
 
G

Guest

Guest
Archived from groups: microsoft.public.win2000.setup_deployment (More info?)

Ken B wrote:

> Try just putting the script in:
> \\domainname\netlogon... it'll get copied around to where you need it. Just
> set the user login script on their user object to "login.bat" or whatever
> you name it---no paths, as it knows to look in netlogon for login scripts
> for user account objects

Sounds similar to what I was saying, but isn't "netlogon" the 'old'
location for this (NT4), and "sysvol" is the 'new' (Win2k AD) location?

--
Gerry Hickman (London UK)