RE: User Account Template Question



I figured out the problem.
Thanks!



"Digital BrainStorm" wrote:

> Thanks for responding.
> I did some more testing last night....
>
> Here is the thing, You are correct in that the template will show it
> hardcoded as something other than %username%. However, when ya do the copy
> option to create a new user account, it will in fact create the profiles and
> home folder for the new account.
>
> Here's the thing, I tested in the lab on a Windows 2003 Active Directory
> domain, using the Userid Variable and it does not work on it.
>
> Whats odd is that it works fine in the active Windows 2000 Native domain. I
> have no idea why.
>
> Anyone know why this is? is the environment variable "Userid" an
> undocumented one?
>
> THanks!
>
> ---------------------------------------
> "Wong Tuck Wah" wrote:
>
> > You have already know the answer.
> >
> > Variable %username% will not hard code the user name when you create new
> > user accounts and at automatically create home folders for them.
> >
> > The main objective of using template is to have a standardise settings for
> > all users created. If the folder to be created is using UserID instead, then
> > all users will be accessing the same folder though.
> >
> > HTH.
> >
> > "Digital BrainStorm" wrote:
> >
> > > Hello All,
> > >
> > > Most material I've read states that you can use the %username% variable when
> > > defining a user's home folder and profile.
> > >
> > > For example: \\server101\home\%username%
> > >
> > > However, I recall going through some training material one time that
> > > discussed some sort of an issue with the %username% and that you had to use
> > > the UserID variable instead.
> > >
> > > At any rate, they are setting up account templates for each site in Active
> > > Directory at work. I seen one of the templates defined with the UserID
> > > variable (example: \\server101\home\UserID) and it works like a charm.
> > > Apparently, someone created the remaining templates by using the %username%
> > > variable and it obvious had replaced that variable with the account name they
> > > used for naming the template.
> > >
> > > My question is, when it pertains to creating user account templates, which
> > > variable is best to use?
> > >
> > > Wouldn't there be an issue using the %username% because it resolved already
> > > to the template account name or will it still work correctly when copying
> > > that template to create a new user account?
> > >
> > > I searched technet and the microsoft knowledgebase for Best Practices, but
> > > could not come up with any decent information.
> > >
> > > Please Help. Any links directing me to more information on the UserID
> > > variable vs %username% would be greatly appreciated. Also, is there a website
> > > with information on all the Active Directory Variables that you can use?
> > >
> > > Thanks! Your Help is greatly appreciated.
.



Relevant Pages

  • RE: User Account Template Question
    ... You are correct in that the template will show it ... hardcoded as something other than %username%. ... using the Userid Variable and it does not work on it. ... >> My question is, when it pertains to creating user account templates, which ...
    (microsoft.public.windows.server.active_directory)
  • Re: Need to Copy More Attributes from User Template
    ... If the home folder attribute has the setting on the template ... >>> values to the new user account object. ... >> I will explain what the script does step by step and it may help. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Problem when creating news users
    ... Remote Web Workplace Users ... Entering the Template Committer... ... User account: Klazina created successfully. ... management console, and although i gave them an e-mail adres, when i click ...
    (microsoft.public.windows.server.sbs)
  • RE: Sharepoint Users
    ... Administrator Template ... This user is a built-in user account. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ...
    (microsoft.public.windows.server.sbs)
  • RE: Exchange mailbox not created
    ... I ran the Internet Email Config wizard and ... The following template will be applied to this user: ... User account: New User created successfully. ...
    (microsoft.public.windows.server.sbs)