Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
Configure Desktop Automation Service to exclude the list of applications.
Sample Actions.xml
<?xml version="1.0"?>
<!DOCTYPE application-runner-script SYSTEM "ARS_1.0.dtd">
<application-runner-script>
<action name="startup">
<test-app-running application="slTray.exe">
<if-true></if-true>
<if-false>
<hide-desktop/>
<run-application application="slTray.exe" parameters="" on-exit-action="restartNSL" serial="true" interval="500"/>
</if-false>
</test-app-running>
</action>
<action name="restartNSL">
<test-app-running application="slTray.exe">
<pause interval="500"/>
<if-true>
<!-- <test-AD-logged-in> -->
<!-- <if-false> -->
<!--
<run-application application="slTray.exe" parameters="" on-exit-action="restartNSL" serial="true" interval="500"/>
-->
<!-- </if-false> -->
<!-- </test-AD-logged-in> -->
</if-true>
<if-false>
<run-application application="slTray.exe" parameters="" on-exit-action="restartNSL" serial="true" interval="500"/>
</if-false>
</test-app-running>
</action>
<action name="loggedin">
<pause interval="2000"/>
<!--
<message-box caption="You must be logged into network" window-name="Debug"/>
-->
<test-AD-logged-in>
<!-- <pause interval="1000"/> -->
<if-true>
<pause interval="500"/>
<unhide-desktop/>
</if-true>
<if-false>
<message-box caption="You must NOT be logged into network" window-name="Debug"/>
<run-application application="slTray.exe" parameters="" on-exit-action="restartNSL" serial="true" interval="500"/>
</if-false>
</test-AD-logged-in>
</action>
<action name="logoff">
<AD-logout gina="false"/>
<pause interval="750"/>
<!-- delay for NSL to successfully shutdown -->
<hide-desktop/>
<message-box caption="Logoff Control l was pressed." window-name="HotKey Event"/>
<kill-all-apps exclude-apps="notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:notepad.exe:"/>
</action>
<action name="calculator">
<run-application application="calc.exe" parameters="" serial="true" interval="100"/>
</action>
<action name="TimeoutLock">
<!--
<message-box caption="TimeoutLock Action has been called." window-name="TimeoutLock"/>
-->
<!--
If Screen Saver is set to NONE then the user is NOT logged out!
-->
<!-- It is recommended you to enable the Screen saver. -->
<test-AD-logged-in>
<if-true>
<screen-saver-on/>
</if-true>
<if-false></if-false>
</test-AD-logged-in>
</action>
<action name="showdesk">
<unhide-desktop/>
<enable-keyboard-navigation/>
</action>
<action name="hidedesk">
<hide-desktop/>
<message-box caption="hidedesk Control H was pressed." window-name="hidedesk"/>
<disable-keyboard-navigation/>
</action>
<action-triggers>
<on-ad-Login action-name="loggedin"/>
<!--
Maybe need to modify the hotkeys to same as documentation.
-->
<on-hot-key modifiers="ctrl" virtual-key="l" action-name="logoff"/>
<!--
<on-hot-key modifiers="ctrl" virtual-key="h" action-name="unhide"/>
-->
<on-hot-key virtual-key="k" modifiers="ctrl" action-name="calculator"/>
<!--
<on-hot-key virtual-key="t" modifiers="ctrl" action-name="TimeoutLock"/>
-->
<on-hot-key modifiers="ctrl" virtual-key="s" action-name="showdesk"/>
<on-hot-key modifiers="ctrl" virtual-key="h" action-name="hidedesk"/>
</action-triggers>
</application-runner-script>
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Example: "DAS"=C:\Program Files\NetIQ\SecureLogin\Desktop Automation Services\ARS.exe startup