Secure Messaging

Learning Center

Back to top

Search Results

Repairing a Corrupt ClickOnce Application Cache

ClickOnce is a Microsoft technology that enables the user to install and run applications and Outlook Add-ins. ClickOnce applications are installed in a specific user directory. This directory, or cache, may be corrupted resulting in errors during installation such as “Value does not fall within the expected range.”, etc.

Running the following command from an Administrator elevated command prompt will repair the cache:

rundll32 %windir%\system32\dfshim.dll CleanOnlineAppCache

If the previous command does not resolve the issue, it may be necessary to remove the ClickOnce application store:

  1. In Windows Explorer, click on “Organize > Folder and Search Options > View” and enable “Show Hidden Files, Folders, and Drives“.
  2. Navigate to the following location:


  3. Backup all folders to a safe location.
  4. Delete all folders in the \2.0\ folder.