Avatar of linuxdebian
linuxdebian
 asked on

create new user account

I have windows 2008 r2 installed. This is not domain controller.
I have now only admin account on this server.But  I would like to create a new user account which has like admin rights?(new account name is ALEX)
Thanks
Windows Server 2008

Avatar of undefined
Last Comment
linuxdebian

8/22/2022 - Mon
goyal_251

right click on My computer>manage>Local Users and Groups>Users>Right Click>New User
after creating user right click on created user properties>Member of TAB add administrators
justabaka

Open command shell (Win+R -> cmd) and execute the following:

net user ALEX yourpassword /add
net localgroup Administrators ALEX /add
net accounts /maxpwage:unlimited

This creates a new user, puts him into Administrators group and turns off account password expiry.
linuxdebian

ASKER
can i ask something from above two answer issuies?

what is the diffrences open an account in CMD from mouse click'?
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
whoever982

Open command prompt and run below command one by one.
net user <ALEX> <password> /add
net localgroup "Administrators" /add ALEX
Coast-IT

make sure you open an elevated command shell (right click and runas Administrator)

goyal's solutions isn't valid for 2008r2.

justa has it right :-

net localgroup administrators USERNAME /add
whoever982

net user ALEX av123 /add
net localgroup administrators ALEX /add

This will create alex and password will be "av123".
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
justabaka

@linuxdebian

There is absolutely no difference in which way you create the account.
goyal_251

Start > Administrative Tools > Server Manager and go to Server Manager > Configuration > Local Users and Groups > Users. Create a new Windows user account that you want to use as ALEX
ASKER CERTIFIED SOLUTION
amjad4

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
p_deep19

Start > Administrative Tools > Server Manager and go to Server Manager > Configuration > Local Users and Groups > Users

copy the User Account which is Administrator and paste it. It will ask for the User Name and Password, you supply those and check mark on "Change Password on Firtst Logon and supply the user with that User name and password.
The Admin credentials will be automatically copied to the user account.

All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
linuxdebian

ASKER
solution with screenshot i found perfekt.
Thanks