I've played a little bit (more) with IExpress and found that it sets __COMPAT_LAYER variable to DetectorsWin8.
Looks like it's used to run applications in compatibility mode and can suppressthe UAC window.
__COMPAT_LAYER variable.
Moderator: DosItHelp
Re: __COMPAT_LAYER variable.
You may use
to suppress the UAC prompt of Programs that require the UAC. The result is that the process runs as normal logged user (without elevatet rights). The process is not able to execute operations that would require administrative rights.
Typical example:
No UAC prompt will show up but e.g. you can't change anything in HKLM even if you can in HKCU.
Regards
aGerman
Code: Select all
set "__COMPAT_LAYER=RunAsInvoker"
to suppress the UAC prompt of Programs that require the UAC. The result is that the process runs as normal logged user (without elevatet rights). The process is not able to execute operations that would require administrative rights.
Typical example:
Code: Select all
@echo off
set "__COMPAT_LAYER=RunAsInvoker"
start "" "regedit.exe"
No UAC prompt will show up but e.g. you can't change anything in HKLM even if you can in HKCU.
Regards
aGerman
Re: __COMPAT_LAYER variable.
You can set more than one values at the same time separated with space
Besides compatibility modes described in the link here are some OS compatibilities :
VistaRTM
DetectorsWin8 // i have no idea what this is used for
VistaSP1
VistaSP2
Win7RTM
Win8RTM
WINXPSP3
Win95
Installer // Also I'm not completely sure what's this
Besides compatibility modes described in the link here are some OS compatibilities :
VistaRTM
DetectorsWin8 // i have no idea what this is used for
VistaSP1
VistaSP2
Win7RTM
Win8RTM
WINXPSP3
Win95
Installer // Also I'm not completely sure what's this
Re: __COMPAT_LAYER variable.
[quote="aGerman"]You may use
to suppress the UAC prompt of Programs that require the UAC. The result is that the process runs as normal logged user (without elevatet rights). The process is not able to execute operations that would require administrative rights.
Great! Works like a charm!
Thanks.
Saso
Code: Select all
set "__COMPAT_LAYER=RunAsInvoker"
to suppress the UAC prompt of Programs that require the UAC. The result is that the process runs as normal logged user (without elevatet rights). The process is not able to execute operations that would require administrative rights.
Great! Works like a charm!
Thanks.
Saso