see thread:
RequestedExecutionLevel not worked
Andreas Mazatis
131
Reputation points
I am writing an application that any user, admin or not, can access. At startup an update of the program files under c:\Program files should be performed with Robocopy. Robocopy starts but the permission check does not allow access. I have already experimented process.StartInfo.Verb = "runas"; and in the manifest requestedExecutionLevel. Unfortunately all without success. Is there a way that any user can run this and get access to c:\Program Files via Robocopy?
Accepted answer
1 additional answer
Sort by: Most helpful
-
RLWA32 45,701 Reputation points
2022-06-16T19:14:46.167+00:00 In order for the runas verb to be effective you must also specify UseShellExecute=true