Command Line Usage

UnLock IT can be launched using the following command line parameters: UnLockIT.exe  [command <resource> [options]] | [/?]

Key

Meaning

command

/check: Check the specified file system resource for being locked.

/unlock: Unlock the specified file system resource.

/delete: Delete the specified file system resource.

resource

Full path to the locked file system resource, including drive.

options

/quiet: Do not display a message dialog with a result of the requested operation

/force: Terminate all locking processes to unlock the object in case if it is still locked after releasing locking system resources. It can only be used in conjunction with the /unlock and /delete commands.

/help

Display help information about command-line usage.

When UnLock IT is launched in a quite the exit code can be analyzed using the following table.

Exit Code

Meaning

100 (0x64)

The resource is unlocked successfully.

101 (0x65)

The resource is locked.

102 (0x66)

The resource is not locked.

103 (0x67)

The program has failed to check the object for being locked.

104 (0x68)

The resource is locked and the program has failed to unlock it.

105 (0x69)

The resource is deleted successfully.

106 (0x6A)

The operating system reboot is required to delete the resource.

107 (0x6B)

The program has failed to delete the resource.

108 (0x6C)

The operation was canceled by the user.

4097 (0x1001)

The invalid command line parameters are passed to the program.

8193 (0x2001)

The program has failed to load a file system driver.

8194 (0x2002)

The program has failed to unload a file system driver.

8195 (0x2003)

The wrong file system driver version is detected.

8196 (0x2004)

The 'Debug' privilege cannot be assigned to the program executable.

8197 (0x2005)

The 'Take Ownership' privilege cannot be assigned to the program executable.

8198 (0x2006)

The 'Restore Privilege' privilege cannot be assigned to the program executable.

8199 (0x2007)

The 'Shut Down' privilege cannot be assigned to the program executable.

Feel free to use the command line support features of UnLock IT to best fit your needs.