Re: Automating set up?

From: Herb Martin (news_at_LearnQuick.com)
Date: 08/12/04


Date: Wed, 11 Aug 2004 22:29:07 -0500


"boe" <boe_d@hotmail.com> wrote in message
news:OxN2QRBgEHA.636@TK2MSFTNGP12.phx.gbl...
> Sorry, I'm not being clear or not understanding you as to what may well be
> the the answer to my question.
>
> I would like to know that their folder is automatically created, I can set
> up the mapping in a logon script unless there is a better way. But when I
> create user jdoe in active directory, I would like it to automatically
> create a folder at \\myserver\e$\users\jdoe and then I'd map a P drive to
> that.

You can do that as a "Home" directory but you really should prefer
to use the users "My Documents" which works about the same and
both will be created by default on the location of your choice if
you set it up correctly in the User profiles.

Normally you will not map a drive letter to the My Documents but
that is the convention with Home (obsolete) directories.

Select all of the Users in AD Users and Computers and then right-click
to choose properties and set the Profile tab item to:

\\myserver\$e\users\%username%

(You really should NOT use the Admin share E$ but that is a separate
issue.

> It would be even better if there was a way (and there probably is) so
> that i can put user jdoe in the sales group it creates
> \\myserver\e$\users\sales\jdoe and user jsmith is in accounting it would
> create \\myserver\e$\users\acct\jsmith

If you select just the sales folks you can do this as above:

\\myserver\$e\users\sales\%username%

But you will have to repeat it for Acct and each subsequent set of users.
(Normally these would be OUs and NOT "groups" but both are possible.)

\\myserver\$e\users\%username%

My Documents will be a SUBDIRECTORY of the Profile directory here.

You can also redirect it separately through a GPO which may be your
best bet.

-- 
Herb Martin
>
> "Herb Martin" <news@LearnQuick.com> wrote in message
> news:u9IFptAgEHA.592@TK2MSFTNGP11.phx.gbl...
> > "boe" <boe_d@hotmail.com> wrote in message
> > news:OWU7xXAgEHA.396@TK2MSFTNGP12.phx.gbl...
> >> Thank you!
> >>
> >> Will it automatically create the folder for them?
> >
> > No, you would have to do that in the script unless you
> > mean the users %userprofile% directory which is automatic.
> >
> >
> > -- 
> > Herb Martin
> >
> >
> > "boe" <boe_d@hotmail.com> wrote in message
> > news:OWU7xXAgEHA.396@TK2MSFTNGP12.phx.gbl...
> >> Thank you!
> >>
> >> Will it automatically create the folder for them?
> >>
> >> "Herb Martin" <news@LearnQuick.com> wrote in message
> >> news:%23uTSbEXfEHA.1424@tk2msftngp13.phx.gbl...
> >> > "boe" <boe_d@hotmail.com> wrote in message
> >> > news:ewgggIWfEHA.592@TK2MSFTNGP11.phx.gbl...
> >> >> Hello,
> >> >>
> >> >> I'd like to automate some functions on a Win2003 server.  I'd like
> >> > everyone
> >> >> to login using the same login batch file without having to set it in
> > the
> >> >> profile for each user.  Can you tell me how to do it?
> >> >
> >> > Group policy assigned to the Domain with a script for any of:
> >> >
> >> >    logon
> >> >    logoff
> >> >    startup (machine)
> >> >    shutdown (machine)
> >> >
> >> >> Is there a way so that if I add a new user it would be nice if it
> >> >> automatically created a folder that I have mapped in the login
script.
> >> >
> >> > As long as permissions work, and you can figure out a way to
> >> > specialize the directory to that user within it (%username%,
> >> > or %userprofile%, etc....) that is easy on their first logon.
> >> >
> >> > You can of course first test to see if exists too.
> >> >
> >> >
> >> > -- 
> >> > Herb Martin
> >> >
> >> >
> >> >> Thank you
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>


Relevant Pages

  • RE: Simple Script??
    ... Well, it is not the most elegant solution I have ever written, but the script ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Simple Script??
    ... I had a typo in the path...Your script is AWESOME THANKS AGAIN!!!! ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: XPsp2 and WMP10 and default profiles - a solution
    ... This script needs to be referenced in the SysPrep.inf file, ... >> default user profile. ... >> and Windows Media Player 10 installed, XP always creates a Windows Media ... >> it ignores the default user profile folder and uses the Administrator ...
    (microsoft.public.windowsxp.setup_deployment)
  • RE: Simple Script??
    ... But when i run it the script fails. ... Since you only needed to copy a file to every profile, ... full directory recursion in the routine. ... will copy a file called File.txt to the Start folder in every profile. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Set profile and homefolder path at logon?
    ... The profile folders are stored on server1. ... In each user's profile we have the profile path set to that server and their ... The same with the home folder - set to server1\username. ... What I was planning on doing was to set up a script which would copy those ...
    (microsoft.public.windows.server.scripting)