Resolve Uninstall Error 1327

In this article, we will discuss how to resolve error 1327 that may appear when you uninstall or install a program. We will also discuss why it is important to ensure complete uninstallation of programs.


When you try to uninstall or install software, you may receive the following error:

Error 1327. Invalid Drive: <Drive>

Cause of Error

The uninstall error 1327 in this case occurs because registry keys point to an invalid drive. This may happen if you have previously installed the program on an external drive that you have removed.

Resolution Steps

To resolve uninstall error 1327, you need to run the regedit command to modify the incorrect value. To achieve this, perform the steps mentioned below:

Note: You should perform the steps illustrated below only if you are comfortable in manually editing the registry. Perform the steps below exactly as they are shown. It is important to understand that incorrectly modifying registry entries may cause irreparable damage to your computer. Also, make registry backups before making any changes to it. You may back up the registry manually, or use an advanced registry maintenance tool, such as RegServe to back up the registry.

  1. Click Start and then click the Run utility.
  2. Type the regedit command in the Open box and click the OK button.
  3. Next, in the left-pane of the Registry Editor window, locate and select the following registry key:
  4. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

  5. In the right-pane a list of entries will appear with their corresponding value in the Data field. In case value of any entry is incorrect in the Data field, right-click the entry, and then select the Modify command.
  6. Type the correct value of the entry in the Value Data box and click OK.
  7. Repeat the steps 4 and 5 for all entries that have incorrect value.
  8. Next, repeat the steps from 3 to 6 for each of the following registry keys:
  9. HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders

  10. Click the File menu and then select Exit to close Registry Editor.
  11. Restart your computer.

After you have completed the above steps, proceed with the uninstallation or installation process.  

Moving on to the next topic, when you uninstall a program, ensure that all the registry entries, files, and processes associated with the program are also removed. If a program is not removed completely, complications may develop uninstallation. The leftover processes may conflict with other running processes and cause frequent errors. To ensure complete uninstallation of programs, either use the built-in Add or Remove Programs utility or reliable and efficient third-party uninstaller software, such as Perfect Uninstaller.