Setting or Removing Temporary Directory Values in Configuration Files: UpdateRegistry Command
Use the UpdateRegistry command line tool to view, add, change, or remove the temporary directory setting from any of the temporary directory config files. The registry key for viewing or modifying the temporary directory is TempDirectory. The -Get, -Set, and -Delete options are valid for viewing, adding, changing, and deleting a temporary directory setting. The -GetKeys option does not list the temporary directory key.