Top "Elevated-privileges" questions

Elevated privileges are higher privileges, offered by an operating system, usually higher than normal user's privileges.

How do I force my .NET application to run as administrator?

Once my program is installed on a client machine, how do I force my program to run as an administrator …

c# .net windows-7 administrator elevated-privileges
How can I auto-elevate my batch file, so that it requests from UAC administrator rights if required?

I want my batch file to only run elevated. If not elevated, provide an option for the user to relaunch …

windows batch-file windows-10 uac elevated-privileges
How to request Administrator access inside a batch file

I am trying to write a batch file for my users to run from their Vista machines with UAC. The …

batch-file command-line uac elevated-privileges
How to run python script with elevated privilege on windows

I am writing a pyqt application which require to execute admin task. I would prefer to start my script with …

python windows admin elevated-privileges
How to run vbs as administrator from vbs?

Can anyone help me with running vbs from itself but with administrator rights? I need rename computer with Windows 8 via …

windows vbscript administrator elevated-privileges
How to make a batch file execute a reg file

I have the following code @echo off file.reg pause This works but when the batch file is elevated I …

windows file batch-file registry elevated-privileges
How to make a batch file delete itself?

Is it possible to make a batch file delete itself? I have tried to make it execute another file to …

windows batch-file windows-7 delete-file elevated-privileges
How to programmatically gain root privileges?

I am writing some software (in C++, for Linux/Mac OSX) which runs as a non-privileged user but needs root …

c++ root elevated-privileges
How do I get WiX installer to request administrative privileges?

We have a program we have developed in house. We are upgrading to use Visual Studio 2012, and so have to …

installation wix elevated-privileges
Running IIS Express with admin privileges

This has been asked before but was closed as "Not a real question" https://stackoverflow.com/questions/7450813/how-to-run-a-site-with-administrative-privileges-in-iis-express-7-5 However …

port iis-express administration hostname elevated-privileges