The disable_uac task checks this registry key:
"HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA"
to determine the current state of UAC and records that setting to:
%systemdrive%\KACE\engine\UAC.txt
If UAC is enabled, the task will disable it so that it can properly run post install tasks. Enable UAC will restore the original state according to the UAC.txt file. Due to this new process, any Windows postinstallation tasks you have to disable UAC will no longer work because the original setting will be restored at the end of the deployment.
If the image or scripted install has UAC enabled and you would prefer for this setting to remain disabled at the conclusion of the deployment, you will need to change the value in the UAC.txt file with a postinstall batch script.
@echo off
echo 0 > %SYSTEMDRIVE%\KACE\engine\UAC.txt
Note: Disabling UAC this way may cause issues with Windows 10
If the image or scripted install has UAC disabled and you would prefer for this setting to be enabled at the conclusion of the deployment, you will need to change the value in the UAC.txt file with a postinstall batch script.
@echo off
echo 1 > %SYSTEMDRIVE%\KACE\engine\UAC.txt
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center