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

KiXtart Command Reference

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 loaded

Error code

Function failed

example

$ReturnCode = UnLoadHive( "HKEY_USERS\Fiets" )

If $ReturnCode = 0

   ? "Hive unloaded...."

Endif