Re: Mapped Drives and Home Folders
From: Doug Sherman [MVP] (dsherman_at_nospamtampabay.rr.com)
Date: 03/25/05
- Next message: Mercury: "Re: Reboot Speed"
- Previous message: -=JLK=-: "Re: Reboot Speed"
- In reply to: Chris Chase: "Re: Mapped Drives and Home Folders"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 24 Mar 2005 23:51:20 -0500
OK - try this:
1. On the Server, save the .bat file to:
C:\WINDOWS\SYSVOL\sysvol\(your domain name)\scripts
2. In Active Directory Users and Computers, double click the user's
account, click the Profile tab. On the Logon script line, enter just the
name of the .bat file - do not include a path.
3. If client machines are Windows XP, you may have to logon twice before
the script works. Also, it is best if the user account is not currently
logged onto any other machines.
I don't quite follow your question about wild cards. If home folders are
mapped to G:, you can't map some other folder to the same drive letter.
Home folders are often created with the %username% variable, and you do not
need a script to create these - see:
http://support.microsoft.com/default.aspx?scid=kb;en-us;298403
Doug Sherman
MCSE, MCSA, MCP+I, MVP
"Chris Chase" <ChrisChase@discussions.microsoft.com> wrote in message
news:BE050138-6009-471E-885D-FEBEE412956C@microsoft.com...
> Created the file. Put it a shared folder with read only access. I also
> added the line to user's profile active directory user's area. It didn't
run
> it when the user logged in. However, if I log in as that user and then it
> from the server by manually clicking on it. It works.
>
> "Doug Sherman [MVP]" wrote:
>
> > 1. Create the script - On the Server, open Notepad. Type:
> >
> > net use u: "\\calvaryadmin\staff faculty\gqwin" (include the quotes)
> >
> > Save the file as login.bat - or any other name with a .bat extension.
> >
> > 2. Distribute the script - There are several ways to do this. One way
is
> > to use Group Policy:
> >
> > On the Server go to Administrative Tools and open Group Policy
Management.
> > Expand the domain, right click on Default Domain Policy and select Edit.
> > Double click on User Configuration, double click on Windows Settings,
double
> > click on Scripts, double click on Logon, and click the Add button -
browse
> > to the .bat file you created in #1.
> >
> > Note #2 will cause all users, including domain administrators, to map
the U:
> > drive. If you only want some users to map this drive, you can configure
> > logon scripts on a per user basis in each user account's properties, or
you
> > can create an OU with its own policy and move the desired users to the
OU.
> > You could also place computers in an OU and use a machine startup script
> > that would apply to the computers irrespective of which user logged on.
> >
> > Doug sherman
> > MCSE, MCSA, MCP+I, MVP
> >
> > "Chris Chase" <ChrisChase@discussions.microsoft.com> wrote in message
> > news:F74ED6CB-4943-4AFE-91A9-97C84B44B6C4@microsoft.com...
> > > I am in charge of a network that needs to have more than one shared
folder
> > on
> > > my windows 2003 server map to a drive letter on their XP workstation.
> > > Currently the already have a home folder mapped to their g:. What I
would
> > > need to do is also have their systems automatically map a drive letter
U:
> > to
> > > the following folder \\calvaryadmin\staff faculty\gqwin. I don't have
> > > terminal services and have no idea how to create and run a script. Is
> > there
> > > anyone out the that can help me do this and either give me a simple
> > solution
> > > or the exact step by step? I would it like to do this and map the U:
> > drive
> > > automatically no matter which workstation they log into.
> > >
> > > Thanks!
> > > --
> > > Chris Chase
> >
> >
> >
- Next message: Mercury: "Re: Reboot Speed"
- Previous message: -=JLK=-: "Re: Reboot Speed"
- In reply to: Chris Chase: "Re: Mapped Drives and Home Folders"
- Messages sorted by: [ date ] [ thread ]