Click here to return to the KiXtart HelpDesk main page...

KiXtart 2001 Manual

UnloadHive( )

Action: Unloads the specified key and subkeys from the registry.
Syntax: UNLOADHIVE ("key")
Parameters: Key

The key you want to unload. This key must have been created using LoadHive.

Remarks: On Windows NT, using UNLOADHIVE requires Backup and Restore privileges.
0 Key unloaded
Error code Function failed  
See Also: LoadHive( )

$ReturnCode = UnLoadHive( "HKEY_USERS\Fiets" )
If $ReturnCode = 0
  ? "Hive unloaded...."