Code: Select all
set __COMPAT_LAYER=RunAsInvoker
Unfortunately I found a problem with TC: TCMADMIN doesn't work well, I can't do file/folder operations with elevation.
Christian, please take a look on it, it is really cool thing that may improve security (since it allows to run unknown applications w/o administrator rights). If you're using ShellExecute to launch TCMADMIN, it is better to use "runas" verb instead of default "open" in Vista/7, it triggers elevation always (or asks for administrator credentials if user doesn't belong to administrators group). It won't cause any other issues.