Share via


Windows Update error code 0x8007011

Question

Saturday, February 4, 2017 3:21 PM

Log Name:      System
Source:        Service Control Manager
Date:          11/01/2017 20:39:23
Event ID:      7023
Level:         Error
Description:
The Windows Modules Installer service terminated with the following error:
The system cannot move the file to a different disk drive.

Log Name:      System
Source:        Microsoft-Windows-WindowsUpdateClient
Date:          11/01/2017 20:43:08
Event ID:      20
Level:         Error
Description:
Installation Failure: Windows failed to install the following update with error 0x80070011: Cumulative Update for Windows 10 Version 1607 for x64-based Systems (KB3213986).

0x80070011     ERROR_NOT_SAME_DEVICE  The system cannot move the file to a different disk drive.

These errors occur after the user edits the registry to move the default install location from C to another partition. So far the users have remembered what they have done and been able to undo the registry edit. I have not so far discovered the location of the registry entry being changed. Can someone please offer a suggestion as to the location of the key?

Hope this helps, Gerry

All replies (5)

Monday, February 6, 2017 3:22 AM | 1 vote

Hi ,

The problem is that a hard link cannot span volumes. When you move Program Files, although the hard linked file will move a copy of the current file, all of the hard links for the file will be broken. When Windows Update detects that a file needs to be updated and one of the hard links for that file has been moved to a different drive or partition, it will not be able to update that file. This is why you are seeing the 0x80070011 error code. "ERROR_NOT_SAME_DEVICE - The system cannot move the file to a different disk drive." To resolve the issue, you may need to revert back the changes made.

If you can't reverse what you did, try follow solutions in the following link to have a try, check if it helps.
Windows update error 80070011
https://answers.microsoft.com/en-us/windows/forum/windows_other-update/windows-update-error-80070011/5afb5e38-db7e-45b2-9faa-66250dd7b0e1

If the issue persists, I afraid that we do need perform an in-place upgrade repair to refresh the machine. Refreshing the machine won`t affect the personal files.  It allows you to keep all your files, settings and apps. No product key is required. Activation is automatic. Boot from a Windows 10 ISO, choose "upgrade" install.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Monday, February 6, 2017 12:45 PM

Rick

The question was:

I have not so far discovered the location of the registry entry being changed. Can someone please offer a suggestion as to the location of the key?

The answer is:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\

Your reply led me to discover the Answer. Thanks.

Hope this helps, Gerry


Tuesday, February 7, 2017 1:30 AM

Hi ,

Good to hear that you have discovered the answer. Please mark all useful replies as anwser to close the case. It will also help other community members who have similar questions find answers quickly.

Best regards

Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact [email protected].


Wednesday, April 17, 2019 5:30 AM

All of mine are at D:\Program Files\..

This is on purpose, I intend the C: drive to be protected from all users and have everything from programs and profiles on a separate volume. Is there another solution?


Thursday, October 24, 2019 12:36 AM

I have not found one. The OS should't know or care whether it's another volume.