see thread:
RequestedExecutionLevel not worked
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?
1 additional answer
Sort by: Newest
-
RLWA32 45,701 Reputation points
Jun 16, 2022, 7:14 PM In order for the runas verb to be effective you must also specify UseShellExecute=true