What to Do If the "Failed to get path of 64-bit Common Files directory" Error Occurs When Installing oCam

Using oCam at work or school? A license is required, and it removes all ads, including this window. See the paid version →

In some cases, you may need to modify the Windows Registry to fix an oCam setting or issue. Below is a detailed explanation of how to use the Registry Editor to add the required key values.


1. Press Windows key + R on your keyboard to open the Run dialog box.

2. Type `regedit` in the Run dialog box and click the 'OK' button to launch the Registry Editor.

3. When the Registry Editor opens, follow the instructions in the video below to complete the required settings:  

https://youtu.be/6GyJV5SgZsY

4. As instructed in the video, add the following Registry key values:  

   - CommonFilesDir: `C:\Program Files\Common Files`  

   - ProgramFilesDir: `C:\Program Files`

5. After adding the Registry key values, close the Registry Editor and restart your computer to apply the changes.


Because editing the Registry directly affects system settings, it is important to back up the Registry before making changes or follow the instructions in the video exactly. The added key values help oCam reference the correct file paths and can be useful for resolving certain installation or launch issues. After completing the steps, run oCam and check whether the problem has been resolved.

Another helpful tip

What is the oCam portable version, and is it okay to install it?

The oCam portable version is not an officially supported or distributed file by Ohsoft.
Therefore, using such a portable version is absolutely not recommended.


Currently, files distributed on the internet with names like “oCam v[version]_Portable.7z” exist on torrent sites and other unofficial routes.
Our investigation confirmed that these files are illegal modified versions made by Russian crackers. Osoft (the developer) provides no warranty for portable versions.
In addition, because this portable version is made by Russian crackers, the security risk is very high.
For example, there is a high possibility that it contains threats such as ransomware, malware, or viruses.
Installing these files can lead to serious issues such as personal information leakage or system damage, so do not install them under any circumstances.

To download and use oCam safely, you must use the official Osoft website.
It is recommended to use only the official versions distributed through trusted major portal sites.
Files downloaded from non-official sources can cause security threats, so always be cautious.
For safe use, the smartest choice is to download the legitimate version and immediately delete any suspicious files.