6月 29, 2021

Windows install software without root

 ```

Windows Registry Editor Version 5.00
#https://superuser.com/questions/171917/force-a-program-to-run-without-administrator-privileges-or-uac
[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker]
@="Run without privilege elevation"

[HKEY_CLASSES_ROOT\*\shell\forcerunasinvoker\command]
@="cmd /min /C \"set __COMPAT_LAYER=RUNASINVOKER && start \"\" \"%1\"\""

 

``` 


This should be be used to install drivers or other software that actually need system mode access.

沒有留言:

張貼留言