How can I format logoname and default email address when adding users?

When I add users, I use a template.
How can I format the logonname and e-mail adress?

Should be something like %Firstname%FirstletterLastname and %Firstname.$Lastname@internetdomainname.com.
LVL 1
howartAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Chris DentPowerShell DeveloperCommented:

I'm not quite sure about the username, we generate all our accounts with scripts so we don't have to worry about whatever it defaults to.

For the e-mail address are you using Exchange on there? If so you need to modify your Recipient Policy. The format you want is:

%g.%s@internetdomainname.com

You may have to do that through once of the wizards, afraid I'm not sure on that one, but hopefully someone will be along later to confirm. If not it's:

Exchange System Manager
Recipients
Recipient Policies
Default Policy (unless you have others configured)
E-mail Addresses Policy Tab

Then edit the e-mail address there.

Chris
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
I'm a bit confused.  When you use the add-user wizard, you enter the person's first and last names.  Then, under login name there is a drop down box which offers you choices on which format you want to use for login.  It then changes the email alias to that same format.

Jeff
TechSoEasy
howartAuthor Commented:
Yes Jeff,

Thats what I  see but I want the userlogin (FistnameBeginletter_from_lastname) and the e-mail in a diff format.
And a "." between first- and lastname.

If I can format the choices the wizard gives me I am happy.
Saves me some typing.

:)
OWASP: Threats Fundamentals

Learn the top ten threats that are present in modern web-application development and how to protect your business from them.

Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
I'm afraid it would require editing the wizard in Visual Studio... not really sure if that's what you want to do.

Jeff
TechSoEasy
howartAuthor Commented:
If you can tell me where I can find the script, I am going to have a look at it.
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
It's an exe file, C:\Program Files\Microsoft Windows Small Business Server\Administration\addusr.exe

Jeff
TechSoEasy
howartAuthor Commented:
can't edit those:)

Got myself some scripts from the net. How to bulk import users and create users and their mailboxes.
Looks promising.
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
Those aren't SBS scripts, I'm guessing.  Make sure that you don't use regular Server 2003 scripts.... because there are a bunch of other items which are needed for SBS.

Jeff
TechSoEasy
howartAuthor Commented:
Decided to use a keyboard macro just copy and paste from excel sheet where formatted the First -lastname, userlogin en de e-mail adress
but thx any way
Jeffrey Kane - TechSoEasyPrincipal ConsultantCommented:
sounds like a good fix...

Jeff
TechSoEasy
GranModCommented:
PAQed with points refunded (250)

GranMod
Community Support Moderator

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
SBS

From novice to tech pro — start learning today.