Sunday, January 23, 2022

Windows: install application as non-admin user


Some Windows applications require Administrator account to install.

To force the applications to run as a normal user, set the following first:

        set __COMPAT_LAYER=RunAsInvoker

Note: there are two underscore (_) characters at the prefix.

For example, if you want to run SteamSetup.exe as a regular user, create a run.bat file and put the following 2 lines in:

        set __COMPAT_LAYER=RunAsInvoker

        Start SteamSetup

Save and run run.bat.

No comments:

 
Get This <