Windows 10: Update failed due to linked User directories

Discus and support Update failed due to linked User directories in Windows 10 Installation and Upgrade to solve the problem; For better durability and optimized space usage of SSD's, I had linked my Windows User directory C:\Users\barco to E:\Users\barco using Windows's... Discussion in 'Windows 10 Installation and Upgrade' started by O0oO0oO0oO0o, May 8, 2019.

  1. Update failed due to linked User directories


    For better durability and optimized space usage of SSD's, I had linked my Windows User directory C:\Users\barco to E:\Users\barco using Windows's built-in command-line tool `mklink`.

    And this caused an update failure recently, collected by SetupDiag (downloaded from this Windows website), as shown below:


    ```

    2019-05-08 16:43:16, Info MIG Processing profile: C:\Users\barco

    2019-05-08 16:43:16, Info MIG Detected profile with linked profile root: C:\Users\barco => E:\Users\barco

    2019-05-08 16:43:16, Info MIG Adding extra mapping: C:\Users\barco => E:\Users\barco

    2019-05-08 16:43:16, Info MIG Offline platform: adding mappings:

    2019-05-08 16:43:16, Info MIG AdjustPrivilege: Privilege SeTakeOwnershipPrivilege will be Disabled

    2019-05-08 16:43:16, Info MIG Privilege has been disabled

    2019-05-08 16:43:16, Info MIG AdjustPrivilege: Privilege SeSecurityPrivilege will be Disabled

    2019-05-08 16:43:16, Info MIG Privilege has been disabled

    2019-05-08 16:43:16, Error MigCreateFileVerifier caught exception. Unable to initialize the file verifier.: Win32Exception: E:\Users\barco: 系统找不到指定的路径。 [0x00000003] class UnBCL::String *__cdecl UnBCL:Update failed due to linked User directories :path::GetLongName(const class UnBCL::String *)

    2019-05-08 16:43:16, Error SP CCompressOldOS:Update failed due to linked User directories :DoExecute: Cannot create the file verifier. Error: 0x00000004

    2019-05-08 16:43:16, Info SP CCompressOldOS:Update failed due to linked User directories :DoExecute returns: 0x8007001F

    2019-05-08 16:43:16, Info SP DISKSPACETRACK: 11767939072

    2019-05-08 16:43:16, Info SP SetupPlatform: Global progress: 0, Phase progress: 3

    2019-05-08 16:43:16, Error SP Operation failed: Compress old OS. Error: 0x8007001F[gle=0x000000b7]

    2019-05-08 16:43:16, Error SP Operation execution failed: 12. hr = 0x8007001F

    2019-05-08 16:43:16, Error SP ExecuteOperations: Failed execution phase Safe OS. Error: 0x8007001F

    2019-05-08 16:43:16, Error SP CSetupPlatformPrivate::Execute: Execution of operations queue failed, abandoning. Error: 0x8007001F

    2019-05-08 16:43:16, Info Persisting diagnostics data to C:\$WINDOWS.~BT\Sources\Diagnostics\diagnostics.dat

    2019-05-08 16:43:16, Info Diagnostics data saved successfully

    ```


    Within which, "系统找不到指定的路径。" means system cannot find the specific directory (or path), in our language.


    Though it could be solved by:

    1. Enable and log into Admin account;

    2. Temporarily remove the user directory link (NOT copying back NOR deleting actual files);

    3. Install update and end up back in Admin account;

    4. Recover the link;

    5. Go back to my account and disable Admin account.


    It's still rediculous of Microsoft to fail an update only for to such nonsense. Symbolic links are said to be "transparent" from a low layer and here where's the transparency? By the way, why is hibernation swap file also restricted to C drive? Why does Visual Studio insist to install its most files onto C drive even I've selected another drive? Why does Windows loves C drive that much? Does it suppose that Mic****ft stuff members are likely to be involved in Car accidents or what? Look, I didn't say that, you guessed!

    :)
     
    O0oO0oO0oO0o, May 8, 2019
    #1

  2. Update failed due to linked User directories

    For better durability and optimized space usage of SSD's, I had linked my Windows User directory C:\Users\barco to E:\Users\barco using Windows's built-in command-line tool `mklink`.

    And this caused an update failure recently, collected by SetupDiag (downloaded from this Windows website), as shown below:

    ```

    2019-05-08 16:43:16, Info MIG Processing profile: C:\Users\barco

    2019-05-08 16:43:16, Info MIG Detected profile with linked profile root: C:\Users\barco => E:\Users\barco

    2019-05-08 16:43:16, Info MIG Adding extra mapping: C:\Users\barco => E:\Users\barco

    2019-05-08 16:43:16, Info MIG Offline platform: adding mappings:

    2019-05-08 16:43:16, Info MIG AdjustPrivilege: Privilege SeTakeOwnershipPrivilege will be Disabled

    2019-05-08 16:43:16, Info MIG Privilege has been disabled

    2019-05-08 16:43:16, Info MIG AdjustPrivilege: Privilege SeSecurityPrivilege will be Disabled

    2019-05-08 16:43:16, Info MIG Privilege has been disabled

    2019-05-08 16:43:16, Error MigCreateFileVerifier caught exception. Unable to initialize the file verifier.: Win32Exception: E:\Users\barco: 系统找不到指定的路径。 [0x00000003]
    class UnBCL::String *__cdecl UnBCL:Update failed due to linked User directories :path::GetLongName(const class UnBCL::String *)

    2019-05-08 16:43:16, Error SP CCompressOldOS:Update failed due to linked User directories :DoExecute: Cannot create the file verifier. Error: 0x00000004

    2019-05-08 16:43:16, Info SP CCompressOldOS:Update failed due to linked User directories :DoExecute returns: 0x8007001F

    2019-05-08 16:43:16, Info SP DISKSPACETRACK: 11767939072

    2019-05-08 16:43:16, Info SP SetupPlatform: Global progress: 0, Phase progress: 3

    2019-05-08 16:43:16, Error SP Operation failed: Compress old OS. Error: 0x8007001F[gle=0x000000b7]

    2019-05-08 16:43:16, Error SP Operation execution failed: 12. hr = 0x8007001F

    2019-05-08 16:43:16, Error SP ExecuteOperations: Failed execution phase Safe OS. Error: 0x8007001F

    2019-05-08 16:43:16, Error SP CSetupPlatformPrivate::Execute: Execution of operations queue failed, abandoning. Error: 0x8007001F

    2019-05-08 16:43:16, Info Persisting diagnostics data to C:\$WINDOWS.~BT\Sources\Diagnostics\diagnostics.dat

    2019-05-08 16:43:16, Info Diagnostics data saved successfully

    ```

    Within which, "系统找不到指定的路径。" means system cannot find the specific directory (or path), in our language.

    Though it could be solved by:

    1. Enable and log into Admin account;
    2. Temporarily remove the user directory link (NOT copying back NOR deleting actual files);
    3. Install update and end up back in Admin account;
    4. Recover the link;
    5. Go back to my account and disable Admin account.

    It's still rediculous of Microsoft to fail an update only for to such nonsense. Symbolic links are said to be "transparent" from a low layer and here where's the transparency? By the way, why is hibernation swap file also restricted to C drive? Why does
    Visual Studio insist to install its most files onto C drive even I've selected another drive? Why does Windows loves C drive that much? I suppose that C stands for Car aCCident, hopefully.
     
    O0oO0oO0oO0o, Jun 28, 2019
    #2
  3. Update failed due to linked User directories

    I routinely move user data to different drives, using one of these methods:

    • Set an alternative profile folder location here:

      HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory
    • Create a symbolic link
    • Move individual libraries such as Documents, Music etc.
    I found that all of them cause problems with automatic updates. The third option causes the least problems, so I now use it all the time. The first two options I was forced to abandon.
     
    Frederik Long, Jun 28, 2019
    #3
  4. Update failed due to linked User directories

    Update failed due to linked User directories

    So it was not symlink itself causing the trouble, but none-C drives? Your 1st option seems to be without a symbolic link.

    Other than Musics and Documents folders, the hidden folder AppData and several other things (created by both Windows and third-party softwares) use the most space of user folder. And there're lots of frequently changing files that are bad for SSD duration.
    It's still recommended to link the whole user folder. Whenever a major update (e.g. 1803->1809, whereas an update without that number changing is minor) is needed, you can go to Admin account and delete the link temporarily.
     
    O0oO0oO0oO0o, Jun 28, 2019
    #4
Thema:

Update failed due to linked User directories

Loading...
  1. Update failed due to linked User directories - Similar Threads - Update failed due

  2. OneDrive that uses symbolic linked directory

    in Windows 10 Software and Apps
    OneDrive that uses symbolic linked directory: I have about 950GB of data stored in OneDrive on my Windows 10 machine. But my disk is only 500 GB. I am able to do this by defining a linked folder from C:\OneDrive that points to a second drive mklink /J C:\OneDrive\NoBackup W:\OneDrive.All works fine until I need to select...
  3. OneDrive that uses symbolic linked directory

    in Windows 10 Network and Sharing
    OneDrive that uses symbolic linked directory: I have about 950GB of data stored in OneDrive on my Windows 10 machine. But my disk is only 500 GB. I am able to do this by defining a linked folder from C:\OneDrive that points to a second drive mklink /J C:\OneDrive\NoBackup W:\OneDrive.All works fine until I need to select...
  4. C:\Users Directory

    in Windows 10 Network and Sharing
    C:\Users Directory: Good Afternoon, I have a machine that is a member of a domain. The user account logged onto the machine is a user not an administrator. I run a portable program requires no prior installation as an administrator. I enter domain admin credentials. These domain...
  5. Weird User Folder in Users Directory

    in Windows 10 Ask Insider
    Weird User Folder in Users Directory: I have noticed that in my Users directory that the folder name for one of my users is "DESKTOP.7MODD72". Anyone have any experience with this happening? If so, what caused it? Windows 10 - Version 10.0.17763 Build 17763 submitted by /u/e-_-v [link] [comments]...
  6. C:\users directory?

    in Windows 10 Customization
    C:\users directory?: My C:\users directory shows up as C:\Public\US SEAL 7.ico. Anyone know what's up with that? Thanks; https://answers.microsoft.com/en-us/windows/forum/all/cusers-directory/e798521b-7dab-4ae0-89f6-ade14e8fc0e7
  7. defaultuser0 in User directory

    in Windows 10 Ask Insider
    defaultuser0 in User directory: [ATTACH] I was digging through my User's folder to get to AppData and came across the 'defaultuser0' user folder present, dunno if it's bug, or Windows didn't delete it after OOBE. Just for clarification, if it was a hidden folder the icon would have slight opacity, which...
  8. Windows 10 Feature Update fails due to user files on non-system drive

    in Windows 10 Installation and Upgrade
    Windows 10 Feature Update fails due to user files on non-system drive: Hi, I've been struggling with this for ages, and finally took the time to read through logs and try to update manually. I have a hypothesis for what's going on that fits all of the symptoms. I can't apply the 1803 update to my PC. It always fails and reverts back. The...
  9. Rename the "User" Directory

    in User Accounts and Family Safety
    Rename the "User" Directory: I moved my Users folder from C:\ to D:\ via C:\>Robocopy /xj /Mir /Move /CopyAll C:\Users D:\Users C:\>RMdir C:\Users /s /q and creating a Junction C:\> MkLink /j C:\Users D:\Users All fine and dandy until I had to reinstall windows again. I renamed D:\Users to...
  10. Hard link directory junctions in User folder

    in User Accounts and Family Safety
    Hard link directory junctions in User folder: So, I am looking for an easy way to redirect Documents, Downloads, Music and Pictures in the user folder to a data drive. I don't want anything permanent that is going to interfere with the Creator's update coming up. Does anyone know if there any ill affects to deleting the...

Users found this page by searching for:

  1. operation failed: compress old os