• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 890
  • Last Modified:

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
0
ajdratch
Asked:
ajdratch
  • 2
1 Solution
 
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
 
Ivano ViolaSystem 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
 
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

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now