Avatar of ajdratch
ajdratch
 asked on

Enable Windows 7 administrator account with group policy

I want to enable Windows 7 local administrator account by using Group Policies. Any way to get this to work?

I ran net user administrator /active:yes as a login script however that needs to runas administrator. When I use the RunAs command, it will only work if I prompt for the domain admiinistrator password
Windows Server 2008Windows 7

Avatar of undefined
Last Comment
ajdratch

8/22/2022 - Mon
AmonPereira

There is many ways of doing this.

You might use PSEXEC (http://technet.microsoft.com/en-us/sysinternals/bb897553) and use this commandline: psexec \\* - u DOMAIN\ADMINISTRATOR -p PASSWORD NET USER ADMINISTRATOR /active:yes.

This is use to use and might help you out.
Ivano Viola

ASKER CERTIFIED SOLUTION
Ivano Viola

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.
ajdratch

ASKER
Just what I was looking for. At first it did not work becuase the password was not set. I set that by following the document
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=42e30e3f-6f01-4610-9d6e-f6e0fb7a0790&DisplayLang=en
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes