IT漫步

技术生活札记©Yaohui

Run application as whatever user called it (non-administrator) on Windows 10 (Supressing UAC Prompts)

cmd min C set __COMPAT_LAYER=RunAsInvoker && start "" %1 For example: @echo off set __COMPAT_LAYER=RunAsInvoker start "" XXX.exe exit /b 0 ref https://stackoverflow.com/questions/37878185/what-does-compat-layer-actually-do

Proudly powered by WordPress