Windows 8 and 8.1 Forums

Locked out!!

  1. #1

    Posts : 4
    Windows 8.1

    Locked out!!

    I wanted to use my PC to stream music at a party. I thought I`d be smart and create a temporary account without admin privileges and place some playlists on the desktop. Then I used the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList tweak to hide my account from the login screen. Not realising that this also would disable the account. And of course I need admin privileges to undo the tweak!! Smart huh? So I`m well and truly fudged. Anyone know what I can do? I guess I`ve got to login to the inbuilt administrator account. But how do you do that?

      My System SpecsSystem Spec

  2. #2

    Posts : 279
    64-bit Windows 8.1 Pro

    Enable the hidden administrators account, then make your repairs...

    Built-in Administrator Account - Enable or Disable in Windows 8
      My System SpecsSystem Spec

  3. #3

    Posts : 480
    Windows 8 Pro x64
      My System SpecsSystem Spec

  4. #4

    Posts : 4
    Windows 8.1

    Sorry - forgot to mention that Win 8.1 is installed to a virtual hard disk. So to start up from the installer means the hive cannot be found. I tried using Diskpart attach vdisk to get the vhd mirrored to a drive but some sort of refresh command seems to be needed before the command prompt can see the installation.
      My System SpecsSystem Spec

  5. #5

    Posts : 13
    Windows 8

    If you can mount the virtual hard disk from the installer, there is an easy way to enable the hidden Administrator account.

    1. Once mounted, go to C:\Windows\System32, or where your System32 folder is.
    2. Rename sethc.exe to sethc.exe.bak.
    3. Copy and paste cmd.exe in the same folder, you should get "cmd - Copy.exe".
    4. Rename "cmd - Copy.exe" to sethc.exe.
    5. Restart your computer normally.
    6. On your logon screen, tap Shift five times; a command prompt windows should pop-up.
    7. Type in "net user Administrator /active:yes".
    7a. You mentioned that you hide your account using RegEdit? You can type in regedit.exe and change it back if you wish.
    8. Login and logout of your temporary account.
    9. An Administrator account/your account should be there.

    Hope this helps.
      My System SpecsSystem Spec

  6. #6

    Posts : 480
    Windows 8 Pro x64

    Quote Originally Posted by Awol View Post
    I tried using Diskpart attach vdisk to get the vhd mirrored to a drive but some sort of refresh command seems to be needed before the command prompt can see the installation.
    I don't understand the last statement.

    1. Once you boot into the recovery environment and open the command prompt, you should determine the drive letter on which your VHD resides (tip: open notepad in command prompt and press Ctrl+O to see it in GUI),

    2. Then go with:
    select vdisk file="F:\win8.vhd"
    attach vdisk
    list disk
    sel disk X
    list par
    sel par Y
    assign letter=W
    • "F:\win8.vhd" is the path to VHD you've determined during step 1
    • X is the VHD disk number as shown in list disk
    • Y is the partition number with your windows installation on VHD as shown in list par
    • W - is the letter you assign to the partition

    Then exit diskpart, type regedit and proceed with the instructions I linked to.
    Last edited by Vadikan; 13 Aug 2013 at 02:41. Reason: clarified
      My System SpecsSystem Spec

  7. #7

    Posts : 4
    Windows 8.1

    Many thanks for your suggestions and further advice (both respondents). I'll try them out when I get a chance and let you know how it went.
      My System SpecsSystem Spec

  8. #8

    Posts : 4
    Windows 8.1


    I'm back in and have reenabled my account. Many thanks
      My System SpecsSystem Spec

Locked out!!
Related Threads
locked out in General Support
On my gateway laptop when I start it,it prompts for a password but we never set up a password on it.I can't even get the start up disk to work.can't get it to do anything.can anyone help me.
Locked out in Network & Sharing
I was trying to share my c drive to my network and took it too far. I ended up changing permissions and now I cant access the c drive or any program, I am locked out. What now :p
HELP!! Locked out of PC! in User Accounts and Family Safety
I recently updated to windows 8.1, spend a few hours working on it to find out that the homegroup did not work, troubleshooted that *worked*, made an effort to "initiate" a vpn with my Client (PC2 / Desktop w/ windows 7) On Host (PC1 / Laptop w/ windows 8.1) Created incoming connection ...
Solved Locked out of Windows 8 in General Support
Hello all, I recently sold a PC and the guy returned it and I don't know his email password to login and haven't been able to get a hold of him. The PC didn't come with a Win 8 disk and I wouldn't really want to go that rout either. I wouldn't mind doing a straight up factory image restore, but...
I was wondering about it, cos I haven't seen this since the early 2000's when Lenovo took over IBM... Lenovo was the first I ever saw to put Biometric scanners in Laptops. IN 2003 or 2004, I came across a laptop that had something LIKE TPM in it, or maybe it was one of the first - The Whole...
Solved Help my homegroup is locked! in Network & Sharing
My homegroup wont let me allow devices for some reason. I go to settings in the control panel and try to change it and the window just closes then I go to windows 8 settings in homegroup and I see this (attachment) and its grayed out and locked. What do I do?
Locked drive in Drivers & Hardware
As a beginning user of Windows 8 Pro I still have my old XP installation on a separate hard disk. I tried to keep both systems in the same machine by dual-boot setup. However soon Windows 8 refused too boot with error smthg like 'Locked drive'. I just guess that maybe the previous XP session ran...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook