Can I give certain applications administrator permissions automatically without it asking me?

Ixonblitz 41 Reputation points
2022-02-23T14:58:39.79+00:00

I have a few game startup apps that require admin and I want to make it stop prompting me but still run

Windows for business | Windows Client for IT Pros | User experience | Other
{count} votes

Accepted answer
  1. MotoX80 36,401 Reputation points
    2022-03-05T14:27:50.547+00:00

    This is what I was referring to in a prior post. I ran through the install and launched the game. I get the expected UAC prompt when I installed the game, but not when I launched it.

    Did you run the installer or are you trying to just copy the files from another computer and run it?

    180210-capture.png

    180229-capture2.png

    It's not the game, it's the game installer that needs it to download and update game files

    Update: I just now saw the above comment in the thread. If it's the installer, then yes you will get a UAC prompt.

    Do you get the prompt every time you run the game? It should not be difficult to just click Yes and let it do the update.


3 additional answers

Sort by: Most helpful
  1. Michael Taylor 60,331 Reputation points
    2022-02-23T15:34:16.573+00:00

    No. That would be a security hole. Imagine if this were possible. Malware could drop itself onto your machine and set this magic flag. Then it could run as an admin without your knowledge.

    The only supported ways of running software as admin without a prompt would be via a service (which an admin has to install) or setting up a scheduled task that runs with highest privileges (which an admin would have to set up). Neither of those help your case.

    Honestly the UAC prompt shouldn't be a big deal if you already have admin privileges. You just click Yes and move on. However if you're trying to set this up for, say a child account, then the workaround would be to create a script file that runs the aforementioned process using an elevated prompt. But for that to work you'd need to store the UN/PWD of the admin to run at. This is a security issue onto itself of course but you could encrypt it.


  2. Limitless Technology 44,771 Reputation points
    2022-02-25T14:01:39.717+00:00

    Hi @Ixonblitz

    This is due to User Account Control (UAC) security feature. Even though it is a security recommendation to keep it enabled to ensure the control of anytime a Adminstrator permission is being used, you can as well disabled if required or understanding the risks.

    The next article explains in detail the functionality and how to disable it:
    https://learn.microsoft.com/en-us/troubleshoot/windows-server/windows-security/disable-user-account-control

    Hope this helps with your query,

    --
    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments

  3. Darrell Gorter 2,731 Reputation points
    2022-03-04T16:47:17.773+00:00

    Hello,
    You may be able to try this.
    right-click on the desktop and choose New, then choose shortcut.
    Browse to the location of the executable of the program.
    click Next and name the shortcut.
    Now locate the Shortcut on the desktop
    right Click and Choose Properties.
    Chose the Shortcut Tab, then select the Advanced Button
    There should be a button there that States Run as Administrator.
    try running the application via the shortcut to see if still prompts for Elevation.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.