Has the Error 1327 been recently occurring on your Windows 10 device, and you are not sure what it is or how to remove it? Well, don’t fret because we will help you understand everything you need to know about this problem.

Most people complain about the Error 1327 appearing when they’re installing or uninstalling Microsoft Office from their computers. However, this can also happen with other programs such as Kaspersky, Adobe, Hamachi, Epic Games, Arcgis, Minecraft, Autocad, and more.

You are likely to experience the Error 1327 if the drive indicated in the message is invalid. It can also show up when the Windows installer is attempting to complete the operation on an unmapped network location. Whatever the cause is, there is always an effective solution for it. In today’s article, we will show you how to fix the Error 1327 invalid drive d:\ when trying to uninstall Microsoft Office or any other program.

How to Fix the Error 1327 – Invalid Drive Issue

In this section are several hacks that have proved effective in resolving the Error 1327 on many people’s Windows 10 computers. Make sure you apply them in the exact order we’ve put them for better results and to help avoid making unnecessary changes to your PC.

The methods that we will be discussing today are:

  • Try a third-party software installer
  • Substitute the path of the problematic drive
  • Tweak your registry
  • Disconnect the network drive
  • Map the unmapped network drive

Now, without further ado, let’s get started.

Solution 1:  Use a Third-Party Software Installer

Did you previously uninstall MS Office or another app from your device, but you now want to return it? Chances are it left some of its files behind that are causing the Error 1327. Removing these residual files could enable you to install the affected app without further issues.

You can use free third-party installers such as Comodo Programs Manager and Revo Uninstaller Freeware to get rid of the leftovers. So, visit their official websites, and download them. After eliminating the residual files, now try installing your software and see if the problem reoccurs.

Solution 2: Substitute the Path of the Problematic Drive

The error message usually indicates the exact drive that’s causing issues. It might read as follows:

Error 1327.Invalid Drive:D:\

“D” represents the problematic drive. You can instruct your computer to install the program on another drive instead to avoid the error.

Here is how to do so on Windows 10:

  1. Press the Windows + S shortcut keys to open the Windows search box.
  2. When it appears, type “cmd” (without quotes), and then right-click on the Command Prompt search result.
  3. Select Run as Administrator. Then, choose Yes when a UAC (User Account Control) window appears.
  4. Type “subst X: Y:\” (without quotes) in Command Prompt and hit Enter on your keyboard. X represents the problematic or non-existent drive, while Y is the correct/substitute drive. For better results, substitute “Y” with “C” (Local disk).
  5. After executing the command, close the CMD window and restart your Windows PC.
  6. Then, check if the error was successfully removed.

If the Error 1327 is still appearing, try the next method below.

Solution 3: Tweak the Registry

Some users also report that modifying the registry helped them eliminate the error from their machines. Before applying this method, you must first create a system restore point and back up your registry. This will help you restore your computer’s healthy state if anything goes wrong. We’ll show you how to take these precautionary measures so you can modify the registry without any worries.

Follow these instructions to create a system restore point:

  1. Press the Windows + S shortcut keys to open Search.
  2. Type “restore” (no quotes) in the search bar and then click on Create a Restore Point.
  3. Once the System Properties page appears, click on the Create button under the Protection Settings section.
  4. Give the restore point a memorable name. Then, click on Create.
  5. When a message saying, “The restore point was created successfully” appears, select Close.
  6. Click Apply on the System Properties page and then select the OK button.

How to back up your registry:

  1. Use the Windows + R combination to open the Run dialog box.
  2. Type “regedit” (no quotes) and then press Enter.
  3. Choose Yes on the UAC window.
  4. When the Registry Editor opens, right-click Computer on the left pane.
  5. Select Export.
  6. Name the backup and then click on the Save button.

Alternatively, you can use a competent program like Auslogics BoostSpeed’s Registry Cleaner. This is one of the many features of Auslogics BoostSpeed 12. It scans your device for empty, invalid, and corrupt keys and removes them before they accumulate and start causing crashes. What’s more, since you’re accessing it through BoostSpeed 12, you’ll have a tool that will optimize your computer and boost its overall performance.

Once you are done, now use this simple procedure to modify your registry:

  1. Open the Run dialog box (Win + R).
  2. Type “regedit” (without quotes), and then click on OK.
  3. Select Yes on the confirmation prompt box.
  4. Go to the search bar at the top of the window and paste:

Computer\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders

  1. Press the Enter key.
  2. Check for entries with the problematic drive’s letter on the right pane.
  3. Double click on one entry and change Value data from the problematic drive to the correct drive. For instance, if the error shows that drive D is the issue, type “C” in the Value data box and click on OK.
  4. Repeat Step 6 for every entry key with the problematic drive’s letter.
  5. Restart the computer.

Solution 4: Disconnect the Network Drive

Another great fix that you can use to solve the Error 1327 is disconnecting the network drive. However, this hack will only work if your network drive always appears when you go to This PC in File Explorer.

Follow these instructions to try this method on Windows 10:

  1. Use the Windows + E shortcut to open File Explorer.
  2. Select This PC on the left menu pane.
  3. Press the Ctrl + F1 combination to open the tools menu.
  4. Click on Map network drive at the top of the window.
  5. When the dropdown menu appears, choose Disconnect network drive.
  6. Now, try installing or uninstalling your app and see if the Error 1327 appears.

If the error has not disappeared yet, try the next hack.

Solution 5: Map the Unmapped Network Drive

If the error says you can’t install a program in a particular drive, then you probably don’t have the permission to do so. Mapping this drive may grant you the required access, enabling you to install programs without facing the Error 1327. Here’s how:

  1. Press the Windows + R shortcut to open the Run dialog box.
  2. Type “cmd” (no quotes) and press Ctrl + Shift + Enter to launch Command Prompt as an admin.
  3. Choose Yes on the UAC prompt window.
  4. Type in “net use x: \\server\share /persistent:yes” (no quotes), and then hit Enter. Replace x with the drive letter where you want to install your program or uninstall it.
  5. Close the Command Prompt window and restart your PC.
  6. Try installing or uninstalling your program.

Bonus Tip: Update Your Drivers

Many issues you experience on your Windows 10 PC are usually due to outdated device drivers. So, updating your drivers can save you from many errors and ensure your machine runs smoothly.

To update the device drivers, use this guide:

  1. Press the Windows + X shortcut keys to open the Quick Link menu.
  2. Choose Device Manager from the menu.
  3. On the new screen, expand a category and right-click the driver you want to update. Then, choose Update Driver.
  4. Click on Search Automatically for Drivers and then wait for Windows to install the updated driver.
  5. Repeat Steps 3 to 4 for every driver you want to update.
  6. Restart your Windows PC.
Driver Updater image

Resolve PC Issues with Driver Updater

Unstable PC performance is often caused by outdated or corrupt drivers. Auslogics Driver Updater diagnoses driver issues and lets you update old drivers all at once or one at a time to get your PC running smoother

Microsoft Partner logo
Auslogics Driver Updater is a product of Auslogics, certified Microsoft® Silver Application Developer

If you want to evade the exhausting process of updating drivers one by one, install a professional driver updater. We highly recommend Auslogics Driver Updater. Driver Updater scans your PC and displays all the outdated drivers, letting you decide which ones to update with one click. Additionally, this tool only installs manufacturer-recommended driver versions to help avoid compatibility problems. You can get this tool from the Auslogics website.


Hopefully, we helped you understand how to fix the “Error 1327: Invalid drive blocks program installation” issue on Windows 10. Which hack successfully removed the Error 1327 from your machine? Tell us in the comments section below.