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
ajdratchAsked:
Who is Participating?
 
Ivano ViolaConnect With a Mentor System AdministratorCommented:
Sorry, the link above was for server 2003. Here is one for Server 2008/Win 7.
http://emalf-pc.blogspot.com/2009/12/enable-windows-7-administrator-account.html
0
 
AmonPereiraCommented:
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.
0
 
Ivano ViolaSystem AdministratorCommented:
0
 
ajdratchAuthor Commented:
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
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.