PC Review


Reply
Thread Tools Rate Thread

changing mapped drive paths for users

 
 
jason
Guest
Posts: n/a
 
      7th Oct 2004
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

 
Reply With Quote
 
 
 
 
Gerry Hickman
Guest
Posts: n/a
 
      7th Oct 2004
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)
 
Reply With Quote
 
Ken B
Guest
Posts: n/a
 
      8th Oct 2004
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" <(E-Mail Removed)> wrote in message
news:153001c4ac4c$46f6fc20$(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
Gerry Hickman
Guest
Posts: n/a
 
      8th Oct 2004
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)
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mapped drive c for terminal users ? =?Utf-8?B?U3RlcGhhbiBTY2hpbGNoZXI=?= Microsoft Windows 2000 Terminal Server Applications 1 8th Jun 2005 06:27 AM
mapped drive for multiple users =?Utf-8?B?SmFzb24=?= Microsoft Windows 2000 Networking 1 16th Dec 2004 12:37 AM
How do I hide a mapped drive from users? =?Utf-8?B?dGN1bW1pbnM=?= Microsoft Windows 2000 DNS 2 7th Dec 2004 08:03 PM
Mapped Drive for all Users Instead of Individual Allan C Windows XP Help 3 21st Sep 2004 03:38 AM
RE: Other users drive mapped all of a sudden =?Utf-8?B?RXJpayBTemV3Y3p5aw==?= Microsoft Windows 2000 Group Policy 0 21st Jul 2004 04:12 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:01 PM.