ScriptLogic.com: Windows Management…Point, Click, Done


Desktop Management

Windows Servers & Security

Other Products




Custom Script: C0029

Overview:

Regardless of the user logging on, you wish to bypass the execution of ScriptLogic on all NT/2000 Servers (Domain Controllers and Member Servers).

Note: With ScriptLogic 3.0 (and newer), this custom script in this example is not necessary (though the concept can be applied for any reason). You can disable the execution of ScriptLogic on Servers and/or Domain Controllers by using the System Options screen, available from the Options menu pad on the main menu of the ScriptLogic Professional Manager.


Add these line(s) to a pre-engine Custom Script:

;Bypass ScriptLogic Execution on Servers [Begin]
if $NTtype='Server'
  ; let GUI (SLstart.exe) know we're done.
  $rc=writevalue($SLkey,'DisplayText','[end],'REG_SZ')
  ; terminate KiXtart
  quit
endif
;Bypass ScriptLogic Execution on Servers [End]

Created: 07 December, 1999
Last Revised: 22 July, 2004