Registry variables


In multi-user environment it may be important to disable access to some of WinRAR functions for security reasons. If you need to do it, create Registry key:

HKEY_LOCAL_MACHINE\Software\WinRAR\Policy

or

HKEY_CURRENT_USER\Software\WinRAR\Policy

Key in HKEY_LOCAL_MACHINE has a higher priority than in HKEY_CURRENT_USER.

This key may contain the following values:

Value name Value type Description
Menu DWORD If set to 0, disables WinRAR main menu.
Settings DWORD If set to 0, disables "Settings" dialog, "Settings/Import and export" submenu commands and toolbar context menu.
Password DWORD If set to 0, disables change of archiving password. It may help to avoid encrypting of important data.
OrgPasswords DWORD If set to 0, access to "Organize passwords" dialog is disabled. It does not disable access to passwords already stored in this dialog, so you may need to delete them before setting OrgPasswords variable.
Shutdown DWORD If set to 0, disables "When done" archiving option, so a user cannot shut down, sleep, hibernate or restart PC.
Benchmark DWORD If set to 0, disables "Benchmark" command. In multi-user environment "Benchmark" command might abuse shared computational resources.

It might be necessary to restart WinRAR after policy change. Policy key does not affect the console RAR (rar.exe file), so for better security in multi-user environment you may need to delete Rar.exe and keep only WinRAR.exe.

WinRAR uses a bit mask from NoDrives DWORD value in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer Registry key to hide one or more drives. Set it to 1 to hide A:, 2 for B:, 4 for C: and so on. Multiple drives are allowed. For example, decimal 12 (4 + 8) will hide C: and D: drives.

Also you can override the location of %APPDATA%\WinRAR folder, specifying a new path to WinRAR supplementary files in string value "AppData" of HKEY_CURRENT_USER\Software\WinRAR\Paths Registry key.