Is it possible to enable /disable touchscreen trough hid (Human Interface Devices in "Control Panel\All Control Panel Items\Device Manager") with standard user right (without elevated-privileges / admin access-rights) ?
I'm programing an application in C#. If I don't start my application trough "run as" on Visual Studio, security is blocking access.
What are my alternatives with my current setup / limitation:
- Standard user (basic right)
- Admin account with password in a secure encrypted file.
- The standard user cannot grant permission trough UAC because he don't have right.
- Using this code to check if user have elevated/admin right:
return new WindowsPrincipal(WindowsIdentity.GetCurrent()).IsInRole(WindowsBuiltInRole.Administrator);
Currently tested and not working:
Process with
startInfo.Verb = "runas";
Standard user can't accept UAC to run a process that require admin privilege / elevated. Elevating process privilege programmatically?App.manifest: Standard user can't accept UAC to run an app that require admin privilege / elevated. How do I force my .NET application to run as administrator?
Potential alternatives ?
- ACL ???
- App.manifest: with an install.msi from my "IT team packager with Zenwork or SCCM" to deploy it on computers user ?
- Service that run as "local service" or "system" and an app to call methods of service with an install.msi from my "IT team packager with Zenwork or SCCM" to deploy it on computers user ?