Link to home
Start Free TrialLog in
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
Avatar of AmonPereira
AmonPereira
Flag of Brazil image

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.
ASKER CERTIFIED SOLUTION
Avatar of Ivano Viola
Ivano Viola
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ajdratch
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