Link to home
Start Free TrialLog in
Avatar of ThemePro
ThemeProFlag for United States of America

asked on

Login to Local Administrator Account with Windows Vista Home Basic. Possible?

I used the following solution from war1 to try and login into the local administrator account, but when I booted up, I got the following message, "Your account has been disabled.  Please see your system administrator."   Fortunately I could still login to my normal admin account, but is there a method to enable the local administrator account?  I also tried the registry hack that's used for XP Home but that had zero effect.  I also tried the registry hack with the DWORD 32 Administrator 1 key, but that had no effect.  Logging in safe mode doesn't do anything.  If you offer the usual suggestions that involve running lusrmgr or secpol.msc, please note that Vista Home Basic responds with, "This snapin may not be used with this version of Windows."

war1:vnmikhal,

Unless you join a domain, it is awfully difficult to logon to the built in Administrator account.

To work around this using AutoLogon:

   1. Logon as the account you created during the installation.
   2. From the Start menu, go to "All Programs", "Accessories"
   3. Right-click on "Command Prompt" and choose "Run as Administrator"
   4. Click "Allow" from the ConsentUI prompt
   5. In the resulting Command window, enter "regedit" and press enter
   6. In regedit, browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
   7. In the Winlogon key, create a new value of type REG_SZ (string) titled AutoAdminLogon and set the value to 1.
   8. Also create a string value titled "DefaultPassword" and set it to the password you want for the Administrator account.
   9. In the value "DefaultDomainName" enter the name of your computer
  10. In the value "DefaultUserName" enter "Administrator"
  11. Close regedit
  12. Back in the command prompt, enter "Net User Administrator password*" (replace password with the password you entered for DefaultPassword).
  13. Log off or reboot. You are now logged on with the local Administrator account. To stop it from auto logging on, remove that "AutoAdminLogon" value or set it to 0.

To work around this using a registry hack (the same one that works for enabling the Administrator account on XP Home):

Logon as the account you created during the installation.
From the Start menu, go to "All Programs", "Accessories"
Right-click on "Command Prompt" and choose "Run as Administrator"
Click "Allow" from the ConsentUI prompt
In the resulting Command window, enter "regedit" and press enter
In regedit, browse to HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
Add a new key at that level called SpecialAccounts
In the SpecialAccounts key, create a sub-key called UserList
At this point the path is: HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
In the UserList key, create a new value of type DWORD (32 bit) called Administrator and set the value to 1.
Avatar of LeeTutor
LeeTutor
Flag of United States of America image

I don't know whether it is possible from Home Basic, or not (certainly the method described in this article that uses MMC isn't, as you said in your question), but here is an article I found.  I think it sounds somewhat dangerous, since it involves disabling all other admin accounts, and also the article was written when Vista was still beta, so it may not apply to the final released version:

http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9001970
How to access the true Administrator account in Windows Vista
The only thing I had to do was run GPEDIT.msc and drill into the following:

Computer Config>Windows Settings>Local Policies>Security Options >> Accounts: Administrator Account Status

Set this to Enabled.

Now, I run Ultimate and the Basic version may require you to do this in Safe Mode as your admin account.

Once this is Enabled, the Admin account is visible.

Avatar of ThemePro

ASKER

Lee, the solution in the article doesn't work because Local Users and Groups policy does not show up and is disbled in Vista Home Basic.  Thus, I cannot enable the administrator account.  Perhaps it worked in a beta version, but no longer.

Netman66, I have Vista Ultimate on my primary computer but I have Home Basic on my secondary laptop.  Your solution is fine for Ultimate (I've already used it long ago), but GPEDIT.msc cannot be run or found in Home Basic (normal, safe or otherwise).   War1's solution was as close as I came to getting in because it made the Admin account visable on the login screen, but unfortunately it was still disabled as I mentioned.   Since I can't access GPEDIT, SECPOL, LUSRMGR, I need some kind of registry hack to enable the administrator account.    
Is Computer Management available?

compmgmt.msc

If so, can you access the Admin account there to enable it?

ASKER CERTIFIED SOLUTION
Avatar of Netman66
Netman66
Flag of Canada 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
The reg tweak will remove UAC on that account.  It likely isn't necessary to activate the Admin account.
Netman66, "Run this command: net user Administrator /active:yes" was the ticket!  The registry change wasn't needed.   By the way, you can run compmgmt.msc on Home Basic, but the all important Local Users and Groups policy doesn't show up.  I tried copying the security snapin and supporting folder from my Ultimate machine, but it's still locked out.  Oh well, but at least you solved the big problem - thanks much.

No problem, glad to assist.
Netman66,
First time I've seen that - nice.

Vic
Undocumented switches - don't you just love them....
That immediately went into my 'Giant cut&paste Spreadsheet'.
:)
Superb!  It went into mine too!