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.
 
Returns:
0 Key unloaded
Error code Function failed  
 
See Also: LoadHive( )
 
Example:

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