Cybersecurity
DevOps Cloud
IT Operations Cloud
OpenText product name changes coming to the community soon! Learn more.
Overview of DAS
Configure Desktop Automation Service (DAS) to shutdown applications launched when no one is logged in:
Sample actions.xml file:
!-- //When there is no network login, Can restrict to few applications: // -->
<application-runner-script>
<action name="startup">
<test-app-running application="slTray.exe">
<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>
</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">
<!-- 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="calc.exe:calc.exe:Notepad.exe:devenv.exe:microsoft visual studio" LogoffMon="true"/>
</action>
<action name="calculator">
<run-application application="calc.exe" parameters="" serial="true" interval="100"/>
</action>
<action name="TimeoutLock">
<!-- It is recommended you enable the Screen saver. -->
<test-AD-logged-in>
<if-true>
<screen-saver-on/>
</if-true>
<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"/>
<on-hot-key modifiers="ctrl" virtual-key="l" action-name="logoff"/>
<on-hot-key virtual-key="k" modifiers="ctrl" action-name="calculator"/>
<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>
NOTE: In the above actions file there is syntax called “LogoffMon= true ”, when this LogoffMon is set to true then this purpose is served.
E.g. When there is no network login happens then the user cannot access any applications as the Logoff monitor is set to true.
Start Registry Editor, and then locate the following registry keys:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
Create a new string value using a descriptive name, and set the value of the string to the program executable.
Example: "DAS"=C:\Program Files\NetIQ\SecureLogin\Desktop Automation Services\ARS.exe startup