Locked out!!

Awol

New Member
Messages
4
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 Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop

My Computer

System One

  • OS
    64-bit Windows 8.1 Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model
    Asus CM5675
    CPU
    IntelCore i5 3.20Ghz
    Motherboard
    Asus CM5675
    Memory
    6.0Gb
    Graphics Card(s)
    Intel HD integtrated
    Sound Card
    SB Audigy
    Monitor(s) Displays
    Samsung 24'
    Screen Resolution
    1900x1080
    Hard Drives
    Segate 1tb
    Intel 120Gb SSD
    Internet Speed
    100mb down /10mb up
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 Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
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 Computer

System One

  • OS
    Windows 8
    Computer type
    Laptop
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:
Code:
diskpart
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:

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
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 Computer

System One

  • OS
    Windows 8.1
    Computer type
    PC/Desktop
Back
Top