Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

Lost Administrator Rights — How to Restore Admin Access?



  • Hi ProGet team,

    I accidentally removed the Administer rights for the Administrator group, and now it no longer has the permissions to manage the instance.

    Environment:

    • ProGet version: 25.0.12; container

    Is there any way to restore the admin rights without reinstalling or resetting the entire system?

    Any help or guidance would be greatly appreciated!

    Thanks in advance.



  • Update:

    I was able to restore the Administer role to the Administrator group by editing the database directly.

    I’m now curious if there’s a safer way to do this, or a way to prevent accidentally removing critical roles, since currently it can happen without any warning.


  • inedo-engineer

    Hi @koksime-yap_5909 ,

    If you ever get "locked out" of an Inedo product, either due to misconfiguration or a lost password, you can restore the default Admin/Admin account and reenable Built-in User Sign-on by using ProGet.exe resetadminpassword

    Here's more information on this procedure:
    https://docs.inedo.com/docs/installation/security-ldap-active-directory/various-ldap-troubleshooting

    Thanks,

    Steve



  • Hi @stevedennis,

    Thanks for the input. I would like to understand more on what the command do. Does the command only reset the Administrator password (as the name suggests), or does it also recreate the Administrator user and reassign the Administer role/privileges if that privileges were removed? I want to be sure whether running it is safe when the privileges were deleted versus only when the password is lost.

    Also — a small documentation/case-sensitivity note I ran into: the command shown in the docs appears as proget on Linux (image version 25.0.13), not ProGet.Service. Since Linux is case-sensitive, that difference matters and could confuse people following the instructions. Could the docs be updated or clarified?

    Appreciate any details on the exact effects of the reset command. Thanks!


  • inedo-engineer

    Hi @koksime-yap_5909,

    The command will recreate the user, restore administrative privileges, etc. It's safe to run - and you'll ultimately be left with a Admin/Admin user that you can log-in as.

    On ProGet 2025, the command is proget or proget.exe We should update the docs for sure

    Thanks,
    Steve


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation