Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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?

    Scheduled Pinned Locked Moved Support
    proget
    5 Posts 2 Posters 14 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      koksime.yap_5909
      last edited by koksime.yap_5909

      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.

      1 Reply Last reply Reply Quote 0
      • K Offline
        koksime.yap_5909
        last edited by koksime.yap_5909

        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.

        stevedennisS 1 Reply Last reply Reply Quote 0
        • stevedennisS Offline
          stevedennis inedo-engineer @koksime.yap_5909
          last edited by

          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

          K 1 Reply Last reply Reply Quote 0
          • K Offline
            koksime.yap_5909 @stevedennis
            last edited by

            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!

            stevedennisS 1 Reply Last reply Reply Quote 0
            • stevedennisS Offline
              stevedennis inedo-engineer @koksime.yap_5909
              last edited by

              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

              1 Reply Last reply Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • 1 / 1
              • First post
                Last post
              Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation