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


Desktop Management

Windows Servers & Security

Other Products




Custom Script: C0006

Overview:

There is no easy way to take advantage of network-based settings for desktops while preserving local-based settings for mobile users. Here is one possible solution for your enterprise.

This example requires that all your mobile users NetBIOS computer names (machine names) contain the text  'notebook' or 'laptop' as part of the computer name. Of course you could easily change this example to meet your already established corporate naming conventions.

Note: This script is not compatible (nor it is necessary) with ScriptLogic 4.0. SL 4.0 can detect and validate on desktop/portable.


Add these line(s) to the common custom script:

; ** Routine to skip changing file paths on notebook computers **
; This allows permanently attached network desktops to be configured
; by the ScriptLogic Manager defined settings, while any computer with
; either "notebook" or "laptop" as any part of the workstation name
; would not be updated with network-based paths.
if instr('$Wksta','laptop') or instr('$Wksta','notebook')
  ; Do not configure Shell Folders.
  $SF1=''
  ; Do not configure NT Common Shell Folders.
  $NTCSF1=''
  ; Do not configure MS Office paths.
  $MsOff1=''
  ; Do not configure Internet settings.
  $Inet1=''
  ; Configure Outlook PAB and PST for local drive.
  $PersonalFolder=$SystemDrive+'\Exchange'
endif

Created: 16 April, 1999
Last Revised: 22 July, 2004