Top "Elevated-privileges" questions

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

Run ExeCommand in customAction as Administrator mode in Wix Installer

I am new to wix installer. I have developed a set-up using wix installer for my application and I need …

wix installation impersonation wix3.7 elevated-privileges
How to set 'Run as administrator' on a file using Inno Setup

I'm creating an installer using Inno Setup. As part of the install process I'm installing Tomcat. On Windows 7 I suffer …

inno-setup elevated-privileges
How do I make a console app always run as an administrator?

I have a console application that was developed to be called by a erp software. They call my app inside …

c# console-application uac runas elevated-privileges
How to use ServerManager to read IIS sites, not IIS express, from class library OR how do elevated processes handle class libraries?

I have some utility methods that use Microsoft.Web.Administration.ServerManager that I've been having some issues with. Use the …

c# iis-7 uac iis-express elevated-privileges
How to remote execute an ELEVATED remote script in PowerShell

I have two servers: serverA (windows 2003 server) serverB (windows 7) ServerA contains a folder with a batch file (deploy.bat) that …

powershell powershell-2.0 powershell-remoting elevated-privileges
Check if the script has elevated permissions

I would like to check whether the context in which my VBscript runs allows me to perform administrative tasks. Requirements: …

vbscript elevated-privileges elevation
Make Inno Setup installer request privileges elevation only when needed

Inno Setup installer has the PrivilegesRequired directive that can be used to control, if privileges elevation is required, when installer …

inno-setup uac privileges pascalscript elevated-privileges
How to prompt to run EXE as different user in powershell

How would I go about running an EXE as a different user? How could I prompt for credentials or atleast …

powershell uac elevated-privileges runas
system() vs execve()

Both system() and execve() can be used to execute another command inside a program. Why in set-UID programs, system() is …

security exec elevated-privileges setuid
Elevating privileges doesn't work with UseShellExecute=false

I want to start a child process (indeed the same, console app) with elevated privileges but with hidden window. I …

c# uac processstartinfo elevated-privileges