Specify multiple login scripts

Enable this group policy to specify multiple scripts to run automatically when a user logs in.

Scripts specified in this policy run whenever a user logs in, whether the user is a local user or an AD user.

Scripts run simultaneously in no specific order.

Create scripts and put them in \\\SYSVOL\\scripts (or create a subfolder to put them in).


- Script:
Enter a script name, which is relative to the path:
\\\SYSVOL\\scripts folder. For example:

Specify: login.sh
To execute: \\\SYSVOL\\scripts\login.sh

Specify: sub/login.sh (or sub\login.sh)
To execute: \\\SYSVOL\\scripts\sub\login.sh


- Parameters:
Enter arguments to pass to the script. Arguments are interpreted the same way as in a UNIX shell, i.e., use space as a delimiter, and backslash as an escape character. For example:

arg1 arg2 arg3
arg1 'a r g 2' arg3


Supported on:
Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts
Value NameEnableMultipleLoginScripts
Value TypeREG_DWORD
Enabled Value1
Disabled Value0

Login scripts:

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Centrify\CentrifyDC\Settings\Mac\Scripts\LoginScripts
Value Name{number}
Value TypeREG_SZ
Default Value

centrify_mac_settings.admx

Administrative Templates (Computers)

Administrative Templates (Users)