Top "Uac" questions

This tag is used for questions concerning the User Account Control (UAC) security feature of Windows Vista, Windows 7, 8 and higher versions of Windows.

How to elevate privileges only when required?

This question applies to Windows Vista! I have an application which normally works without administrative privileges. There is one activity …

c# .net windows-vista uac privileges
Run process as administrator from a non-admin application

From an application that is not being run as administrator, I have the following code: ProcessStartInfo proc = new ProcessStartInfo(); proc.…

c# uac runas processstartinfo
Requesting administrator privileges at run time

Is it possible to get a C++ application running in Windows to request administrator privileges from the operating system at …

c++ windows uac
Windows batch file starting directory when 'run as admin'

I have a batch file which is in a directory and must be run from there as well because it …

windows windows-vista batch-file directory uac
How to prevent "This program might not have installed correctly" messages on Vista

I have a product setup executable that copies some files to the user's hard drive. It's not a typical installer …

windows-installer installation uac windows-appcompat-platform
Detect if running as Administrator with or without elevated privileges?

I have an application that needs to detect whether or not it is running with elevated privileges or not. I …

c# .net windows-vista uac user-accounts
Why do files get placed in "C:\Users\<username>AppData\Local\VirtualStore\Program Files(x86)"?

I recently updated my Visual Basic 6.0 application and now include an exe.manifest file to prevent UAC Virtualization. After applying …

windows-vista uac
Run Command as administrator in PowerShell script. UAC

OK here is my issue: I am trying to run a script remotely on a server. I am an administrator …

powershell uac appcmd invoke-command
Giving application elevated UAC

I have an application which needs the UAC elevation. I have the code which lets me give that but the …

c# asp.net winforms uac
How to run application which requires admin rights from one that doesn't have them

I've been stuck on this for a few hours until I've finally managed to do it. There are already links …

c++ winapi uac shellexecute createprocess