Using DAS commands in a SecureLogin script

  • 7005350
  • 16-Feb-2010
  • 26-Apr-2012


Novell SecureLogin
NSL 6.x
Desktop Automation Servcice
DAS 2.x


How to call a DAS command from a SecureLogin script.
It is possible to invoke a DAS action through a SecureLogin application definition as shown below.


1. Add the desired action to the DAS actions.xml file (or add in iManager if the DAS configuration is stored in eDirectory).
2. Add the following command to a SecureLogin application definition script:
Run "C:\Program Files\Novell\SecureLogin\Desktop Automation Services\ARS.exe"<action name without brackets>
For example if the actions.xml includes an action called "showdesk" add the following to the desired SecureLogin script:
Run "C:\Program Files\Novell\SecureLogin\Desktop Automation Services\ARS.exe" showdesk


Additional Information

Use DAS to hide the desktop from the time the user logs in until a desired application window is presented.  Typically this would be an application's authentication window.  In this example DAS is used to hide the desktop until calc.exe is launched. 
1. The following entries in the DAS actions.xml file will hide the desktop on login to the tree (adjust pause interval as needed):
<action name="startup">
 <test-logged-in tree="mytree">
   <pause interval="1000"/>    
   <hide-desktop />
   <message-box caption="you're not logged in." window-name="not logged in"/>
      <on-nds-login action-name="startup" tree="MyTree"/>        
2. The following action called "showdesk" added to actions.xml will invoke the das unhide-desktop command:
<action name="showdesk">
3. Create a SecureLogin startup script that launches calc.exe (adjust or omit the delay as needed):
delay 2000
run c:\windows\system32\calc.exe
4. Create an application definition script for calc.exe that calls the "showdesk" action from the actions.xml file:
  Title "Calculator"
Run "C:\Program Files\Novell\SecureLogin\Desktop Automation Services\ARS.exe" showdesk