logo elektroda
logo elektroda
X
logo elektroda

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

Special525525 4416 13
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 16698270
    Special525525
    Level 24  
    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
    Admin of Computers group
    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  
    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
    Admin of Computers group
    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.
  • #5 16698678
    Special525525
    Level 24  
    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
    Admin of Computers group
    CMD.exe is also a program, and in the above mentioned how to enable it permanently.
  • #7 16698980
    Special525525
    Level 24  
    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
    Admin of Computers group
    Just make a shortcut on the desktop (RMB> new shortcut) and enter the command to be executed in the item location field.
  • ADVERTISEMENT
  • #9 16699288
    Special525525
    Level 24  
    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
    Admin of Computers group
    Forgive me, but I don't understand this statement - describe it in more detail.
  • #11 16700793
    Special525525
    Level 24  
    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  
    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
    Admin of Computers group
    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.

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.
Summary generated by the language model.
ADVERTISEMENT