Reading List
UAC Notes from Liza Shulyayeva RSS feed.
UAC Notes
Random UAC permissions for C# applications notes:
- Ask for elevated permissions via
app.manifest
- see<requestedExecutionLevel level="highestAvailable"/>
orrequireAdministrator
- https://msdn.microsoft.com/en-us/library/6ad1fshk.aspx - Can’t change elevation of a running process, need to start a new process.
- To run an elevated cmd.exe and make it look like you’re request permissions mid-run for things like file operations (when you’re really starting new elevated process), set
Verbs
property ofProcessStartInfo
to"runas"