- 0
[C#] Requesting UAC elevation is a bad practice, better alternative?
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Windows defender in Windows 25h2 with internal administrator account make defender very slow to open
By gilmar santos,
- 1 reply
- 1074 views
-
Windows 11 quietly gets a new security feature to protect system files in KB5074105
By TarasBuria,
- kb5074105
- windows 11
- (and 3 more)
- 6 replies
- 0 views
-
Microsoft patches Windows bugs impacting NDI streaming performance and app installs
By Usama Jawad96,
- microsoft
- windows 10
- (and 19 more)
- 0 replies
- 0 views
-
KB5063878: Microsoft confirms bug breaks Windows 11, 10, Server app installs for many users
By hellowalkman,
- microsoft
- windows 11
- (and 19 more)
- 7 replies
- 0 views
-
Microsoft details how to install Windows 11 on unsupported PC not meeting requirements 1 2
By hellowalkman,
- microsoft
- windows 11
- (and 8 more)
- 39 replies
- 10 views
-
Question
sathenzar
I know that it's technically a bad practice to embed in the manifest file to require administrator rights but I'm not sure what else to do. I know you can make it to where a process within the program requires admin rights but that is not an option since the process would run every 15 min and the user would have to click accept each time (that would drive me nuts). I have to write to a various number of folders that the user has specified in various parts of their computer (program files, my documents, etc). Program files will not let me write to any of the folders without admin rights (which makes sense I guess). So currently I'm embedding in the program the manifest file to require admin rights. Am I stuck with this option? I have a backup program which backs up my client data, I have no way of knowing ahead of time which folders they will write to.
Link to comment
https://www.neowin.net/forum/topic/1073189-c-requesting-uac-elevation-is-a-bad-practice-better-alternative/Share on other sites
6 answers to this question
Recommended Posts