Kix Script – After renaming an AD group InGroup does not work anymore
Many administrators use KiXtart and have developed their own login script. The script checks group memberships of the users during the log-in process to connect network drives, assign printers and so on. (new to Kixtart?)
When an Active Directory group has been renamed, it might happen that the ‘InGroup’ function Kixtart does not work anymore.
The user memberships in the respective group are simply not confirmed by Kix anymore. If you use the original group name in the script again , it will work again. However, there is no reference to this group in Active Directory existing!
Delete Token Cache if ‘Ingroup’ does not work anymore
The reason for this can be found in the token cache. It is stored automatically by the Kix routine in the registry when starting (HKCU). If the Active Directory group is renamed, the cache in the user registry must be deleted. So the renaming can have the desired effect in the Kix environment.
The Token cache can be deleted by using the parameter /f as follows:
<strong>kix32.exe /f script.kix</strong>
The switch /f should be set at every start of the script, because it may always happen that an administrator renames an Active Directory group.
Kixtart is a script language that helps you writing scripts (especially logon scripts) without coding too much by your own.
There are currently about 600 scripts available submitted by members. With Kixforms there is also a GUI you can use.
Kixtart is developped as closed source by Ruud van Velsen of Microsoft Netherlands.