The key HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon of type REG_SZ must point to the absolute path of the file XGINA.DLL.
Key | Type | Use | Permitted values | Default value |
OriginalGinaDLL | REG_SZ | Original Gina to point back to | absolute path name | msgina.dll (default NT one) |
Debug | REG_DWORD | Debugging flag (adds internal tracing) | 0 or 1 | 0 |
LogFile | REG_SZ | Log file | absolute path name | none |
Timeout | REG_DWORD | Max. time given to a script to execute | number of seconds | 60 |
Startup\Script | REG_SZ | Startup Script | absolute path name | none |
Logon\SystemBefore\Script | REG_SZ | Logon Script in Local System context | absolute path name | none |
Logon\User\Script | REG_SZ | Logon Script in Local System context | absolute path name | none |
Logon\SystemAfter\Script | REG_SZ | Logon Script in User context | absolute path name | none |
Logoff\SystemBefore\Script | REG_SZ | Logon Script in Local System context | absolute path name | none |
Logoff\User\Script | REG_SZ | Logon Script in Local System context | absolute path name | none |
Logoff\SystemAfter\Script | REG_SZ | Logon Script in User context | absolute path name | none |
Shutdown\Script | REG_SZ | Shutdown Script | absolute path name | none |
An example of a policy template file (XGINA.ADM) is provided.
Terminal Server Edition compatibility
XGina has been tested and is currently used on TSE (NT 4),
but there is a little problem with the startup / shutdown scripts;
as TSE launches a new Winlogon for each new logon,
the scripts are no more called at startup / shutdown time but at
each logon and X time at shutdown :-(
I hope to find the time to fix this asap
(I need a semaphor that stays when the application stops,
but that is not present at the next boot).
Package
The package is composed of:
Dependencies