Windows 10: How to make an application to run as admin on all PCs?

  1.    22 Jul 2017 #1

    How to make an application to run as admin on all PCs?


    I have a made a small software for personal use but I want to run it as an Administrator on all computers.

    Not just through Right-Click -> Properties -> Compatibility -> Run this Program as a an Administrator.

    I want it like always run this program as an administrator on all computers.
      My ComputerSystem Spec

  2.    22 Jul 2017 #2

    Normally if an application wishes to run with admin rights it would be specified in the programs manifest. I don't have the details of how that is done. It may be possible to do this within the program itself but some programs may not run properly or at all if this is done.

    Assuming UAC is enabled the user would need to approve running the program as admin in the UAC dialog if they are running with a normal admin level account. If they are using a standard account they would need to enter admin credentials.

    If you want the application to silently give itself elevated admin rights without user involvement, few legitimate programs do that kind of thing. Informed users will suspect your program is not and may uninstall it. This behavior is strongly discouraged.
      My ComputerSystem Spec


 

Related Threads
If I login to the administrator account to make changes, I naturally want any changes I make to appear in the standard user account since that is the one I am making changes for. Does this happen automatically or do I have to do something special to...
Somehow, an ordinary, everyday application I use on my computer has gotten it into its head that I need to enter my Administrator password every time I call it up. So the prompt to enter my Admin password pops up and I have to enter it. It only...
Hi, We have guests laptops at school for everyone but they keep making changes on the computer. How can i make Windows to ask for admin password when trying to make changes in the computer and when trying to run the installer? Google does not...
So, a little context: We have five public gaming computers wich is free to use. The computers are running a 120 GB SSD (C:) with windows 10 and a 2 TB HDD (D:) wich is primaly used for installing games. They are set up with noe administrator user...
I posted here just over a week ago because I was trying to install WMP on my PC; thanks to you guys I disovered that it was already installed, even though there was no icon on the desktop, start menu or application bar. Anyway, I'm now trying to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 17:56.
Find Us