Announcement

Collapse
No announcement yet.

Checking Apps Permissions Level

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Checking Apps Permissions Level

    Is there a way to detect if we are running in admin or not, I want to make a tool that wont run some commands unless it's in admin mode, also is there away to request the admin level while the tool is running so they can upgrade there access level without restarting the software?
    Plugins or Sources MokoX
    BunnyHop 2021 Here

  • #2
    Here's checking the elevation status with MemoryEx, however elevating a process is only possible by re-launching it with elevated privileges I believe. I don't think you can ask for administrator privileges in the current process, only in a new process.
    Attached Files
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment


    • #3
      Here's another example with MemoryEx in which the application is restarted with elevated privileges when it is running without elevated privileges.
      Attached Files
      Bas Groothedde
      Imagine Programming :: Blog

      AMS8 Plugins
      IMXLH Compiler

      Comment


      • #4
        Thanks man i give this a look, I have already lost my drive in the app but it works so I am going to still work on it I hate depression ...
        Plugins or Sources MokoX
        BunnyHop 2021 Here

        Comment


        • #5
          Originally posted by kingzooly View Post
          Thanks man i give this a look, I have already lost my drive in the app but it works so I am going to still work on it I hate depression ...
          Keep on going man, use it as a distraction - even though that's always quite difficult with depression. The one thing that can actually distract me from everything is software engineering and embedded development - so I do that as much as I can
          Bas Groothedde
          Imagine Programming :: Blog

          AMS8 Plugins
          IMXLH Compiler

          Comment

          Working...
          X