logo elektroda
logo elektroda
X
logo elektroda

Hidden Administrator Account Login: Access from Standard/Regular Admin on Windows 7

Special525525 4998 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16698270
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    Hello
    I have 3 accounts on my computer, regular administrator, standard and hidden administrator account. I want this hidden account not to be selectable on the login panel, but that I can easily access it from one of the other accounts. How to do it? The system is Windows 7.
  • ADVERTISEMENT
  • #2 16698288
    DriverMSG
    VIP Meritorious for electroda.pl
    Posts: 44094
    Help: 3984
    Rate: 4836
    Special525525 wrote:
    I want this hidden account not to be selectable in the login panel
    It is doable. Just hide your account or change the login method.
    Special525525 wrote:
    so that I can easily enter them from one of the other accounts.
    It is not feasible. You cannot sign in to the account under another account. You can view the files of another account or switch the user to a different account.

    The solution to your problem may be creating shortcuts on the desktop - activating and deactivating the master admin account.
    You log in to your account, activate the master admin, and switch to his account.
    When you are finished, you log out the master admin, switch to the previous account and deactivate the master admin account.
  • ADVERTISEMENT
  • #3 16698378
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    Mhm I understand, and how to do it? I assume not with cmd, because I can't hide the admin from the standard user level, and I have no other idea.
  • #4 16698525
    DriverMSG
    VIP Meritorious for electroda.pl
    Posts: 44094
    Help: 3984
    Rate: 4836
    I have never tested the operation with normal user privileges, but you can probably get around it here as well.
    Worth reading?
    https://spece.it/one-liners/trick-jak-za- Szybko-uruchomic-konsole-cmd-jako-administrator
    https://spece.it/windows-serwer-artykuly/uruc...nistrator-uzytkownik-jednorazowo-kazdym-razem

    Also read about gpedit.msc, local rules, assigning user rights.
  • ADVERTISEMENT
  • #5 16698678
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    Ok thanks, I'll play with it and praise the results

    Added after 6 [minutes]:

    And one more thing, if I run cmd as administrator and enter the command there, maybe it will work, and how to create a shortcut, after which the command will be executed automatically and with administrator rights? This means that I don't have to manually start it and type it every time, but just click on the shortcut and that's it?
  • #6 16698701
    DriverMSG
    VIP Meritorious for electroda.pl
    Posts: 44094
    Help: 3984
    Rate: 4836
    CMD.exe is also a program, and in the above mentioned how to enable it permanently.
  • #7 16698980
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    Yes but that's not what I mean, I can always turn it on with administrator privileges and manually enter a command, but instead I want to make a shortcut to execute that command.
  • ADVERTISEMENT
  • #8 16699244
    DriverMSG
    VIP Meritorious for electroda.pl
    Posts: 44094
    Help: 3984
    Rate: 4836
    Just make a shortcut on the desktop (RMB> new shortcut) and enter the command to be executed in the item location field.
  • #9 16699288
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    If I have CMD running as an administrator, ie CTRL + SHIFT + ENTER the access is still denied when hiding an account, and after creating a user and hiding it, I cannot run something as this hidden user.
  • #10 16700179
    DriverMSG
    VIP Meritorious for electroda.pl
    Posts: 44094
    Help: 3984
    Rate: 4836
    Forgive me, but I don't understand this statement - describe it in more detail.
  • #11 16700793
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    I have created an administrator account, which is one with a password, the other is mine and a standard user. I want to create a desktop shortcut that will execute the command "net user Admin / active: yes" (I hid it before). I have created this shortcut on a standard user, right-click and run like an administrator. It does not ask for any password. CMD window opens and closes, no effect. When I go into startup, I type cmd and press CTRL + SHIFT + ENTER and the cmd window opens, in which I type the same command. Access is denied. And I don't know how to connect it with the commands described in the links, i.e. with runas or Psexec. So I have a hidden administrator, but the shortcut created on a standard user does not work due to the lack of access.
  • #13 16704988
    Special525525
    Level 24  
    Posts: 1062
    Help: 10
    Rate: 38
    From what I understand I am supposed to do this:
    1. Log in to your standard account
    2. Open a notebook and write there:

    net session> nul 2> nul & if errorlevel 1 Batch_Admin "% ~ 0"% *
    net user 123 / active: yes

    and save it as something there.bat and select all files and then only notepad again there / active: no. Although, to be honest, I do not know what that user was talking about, so please improve or preferably a ready text that I should enter in the notebook.
  • #14 16707676
    DriverMSG
    VIP Meritorious for electroda.pl
    Posts: 44094
    Help: 3984
    Rate: 4836
    Special525525 wrote:
    net session> nul 2> nul & if errorlevel 1 Batch_Admin "% ~ 0"% *
    net user 123 / active: yes


    You can add before that:
    SET ShowAdminInfo = 5

    Thanks to this you will see for 5 seconds what is happening in the CMD console.

    It is best to place the BAT file in the Windows / system32 folder and make a shortcut to it.
    Make a few BAT files and test yourself - this is the best method.

    In the attachment you have an example BAT - read its content.
    Attachments:
    • Batch_Admin.zip (4.28 KB) You must be logged in to download this attachment.

Topic summary

✨ The discussion revolves around accessing a hidden administrator account on Windows 7 from a standard or regular administrator account. The user seeks to hide the hidden administrator account from the login panel while maintaining access through other accounts. Various solutions are proposed, including creating desktop shortcuts to execute commands that activate or deactivate the hidden account. Users discuss the limitations of standard user privileges in executing administrative commands and suggest using batch files (.bat) to automate the process. The conversation also touches on using CMD with elevated privileges and the potential use of tools like runas or Psexec for executing commands as different users.
Generated by the language model.

FAQ

TL;DR: Windows 7 hidden admin access uses 1 command and a desktop shortcut; “You cannot sign in to the account under another account.” [Elektroda, DriverMSG, post #16698288]

Why it matters: This FAQ helps Windows 7 users hide the built‑in Administrator from the logon screen yet quickly toggle it on/off when needed.

Quick Facts

How do I hide the built‑in Administrator from the Windows 7 logon screen?

Use the account‑hiding approach suggested in the thread: keep the Administrator disabled when not needed, then enable it only on demand via a shortcut. This prevents it from appearing on the logon panel during normal use and supports a quick toggle when required. “Just hide your account or change the login method.” [Elektroda, DriverMSG, post #16698288]

Can I sign into the hidden Administrator from my standard or regular admin session?

No. You cannot sign in to one account from within another account. You must switch users or log out, then log in as the target account. “You cannot sign in to the account under another account.” [Elektroda, DriverMSG, post #16698288]

What simple command enables the hidden Administrator?

Use a one‑liner in a shortcut or BAT file, for example: net user Administrator /active:yes. The thread centers on toggling the master admin with a single command executed via a shortcut or batch. [Elektroda, DriverMSG, post #16698288]

Why do I get “Access is denied” when I run the enable command from a standard account?

Because a standard account lacks rights to modify another account. Running the same command from a non‑elevated context results in denial, as the user reported when the shortcut did nothing and manual command failed. Elevate or use a method that requests credentials. [Elektroda, Special525525, post #16700793]

How do I create a desktop shortcut that runs the command automatically?

Right‑click the desktop > New > Shortcut. In the location field, paste the command to toggle the account, then finish the wizard. Use the shortcut to execute without retyping. This mirrors the guidance to place the command directly in the shortcut target. [Elektroda, DriverMSG, post #16699244]

How can I see what the batch is doing before the window closes?

Add SET ShowAdminInfo=5 at the top of your BAT file. This keeps the CMD console visible for 5 seconds, letting you confirm success or errors. It’s a practical way to surface status without extra tools. [Elektroda, DriverMSG, post #16707676]

Where should I store the BAT file for easy access?

Place the BAT in C:\Windows\System32 and create a desktop shortcut to it. This keeps it in the PATH and makes the shortcut simple. The thread’s example uses System32 placement for convenience. [Elektroda, DriverMSG, post #16707676]

What is gpedit.msc and why was it mentioned?

Gpedit.msc is the Local Group Policy Editor. It lets you adjust local security rules and user rights assignment, which can affect account behavior and elevation prompts. The thread advises reading about it to manage local rules. [Elektroda, DriverMSG, post #16698525]

How do I build a one‑click toggle for the hidden Administrator?

Three steps: 1. Create a BAT with the enable command and a 5‑second info line. 2. Save it, place it in System32. 3. Make a desktop shortcut to the BAT and run it with elevated rights. This gives a reliable 3‑step toggle. [Elektroda, DriverMSG, post #16707676]

Why doesn’t “Run as administrator” ask for a password on my standard account?

If UAC or policy is set not to prompt, or if the context isn’t elevating properly, the shortcut can open and close with no effect. The user observed no prompt and no change, indicating a non‑elevated execution path. Adjust policies or elevation method. [Elektroda, Special525525, post #16700793]

Is there a quick way to start CMD as admin to run the command manually?

Yes. Use CTRL+SHIFT+ENTER after typing cmd in Start. The user confirmed this launches an elevated console, though the command still failed without correct rights when the admin was hidden. Ensure proper credentials and context. [Elektroda, Special525525, post #16700793]

Can a batch elevate itself if it detects no admin rights?

Yes, the shared pattern checks rights, then re‑invokes elevated. Example logic begins with a rights test and then runs the requested net user command. This self‑elevation pattern underpins the provided BAT approach. [Elektroda, DriverMSG, post #16707676]

What failure mode should I expect if elevation is missing?

Expect the console to flash and exit or show “Access is denied.” Shortcuts without proper elevation do not change account status. That failure was reported when the hidden admin stayed inactive. Adjust UAC or run an elevated BAT. [Elektroda, Special525525, post #16700793]

Where can I see an example batch file to study?

The thread includes an example BAT attachment and notes to read its contents. Recreate the logic to test enabling/disabling the admin with visible status. Make multiple BATs to compare behavior. [Elektroda, DriverMSG, post #16707676]

What should I read if I want deeper control beyond shortcuts?

Review gpedit.msc topics on local rules and user rights assignment. The linked guidance points there for policy‑level control that influences elevation and admin access workflows. [Elektroda, DriverMSG, post #16698525]
Generated by the language model.
ADVERTISEMENT