Solved

Enable Windows 7 administrator account with group policy

Posted on 2011-03-06
4
885 Views
Last Modified: 2012-05-11
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
Comment
Question by:ajdratch
  • 2
4 Comments
 
LVL 4

Expert Comment

by:AmonPereira
ID: 35051133
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
 
LVL 21

Expert Comment

by:ivanoviola
ID: 35051696
0
 
LVL 21

Accepted Solution

by:
ivanoviola earned 500 total points
ID: 35052134
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
 

Author Closing Comment

by:ajdratch
ID: 35056196
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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup" or a blinking cursor with black screen. A loop for Auto repair will start but fix nothing.  You will be panic as there are no back…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question