Jump to content











Photo
- - - - -

Need help changing drive letter for unavailable user profiles volume


  • Please log in to reply
2 replies to this topic

#1 Wonko the Insane

Wonko the Insane

    Frequent Member

  • Advanced user
  • 426 posts
  • Location:The Inside of the Asylum (gate is wide open)
  • Interests:That's for me to know and you to not find out.
  •  
    United States

Posted 10 September 2016 - 01:31 AM

I had recently followed a guide a guide I found on TenForums that showed how to entirely relocate C:\Users to another volume, by making use of Audit Mode, Sysprep, and an XML script. This is officially supported by Microsoft, topic can be found at:

 

http://www.tenforums...ndows-10-a.html

 

My setup consisted of a VHD, with 2 volumes within, one for C drive, and the other for Users. Everything was successful, 10 running fine, no issues at all. But then, even though nothing was wrong, I decided to create a new, bigger VHD, same setup as before, but with each volume being bigger. So I used Drive Snapshot to backup my C and Z drives, then proceeded to restore my backups into the newly created partitions. I then created boot files with bcdboot. Both volumes are within an MBR VHD, but 10 boots in UEFI mode, because the boot partition is located on a large GPT drive.

 

After booting into the OS, everything seems fine, until I enter my password and immediately get the message "The user profile service could not be loaded".

 

I'm not sure what happened, but either my drive letters somehow got screwed up, or the new VHD's disk signature is different, causing Windows to not assign the correct drive letters. I found an article mentioning that the Registry can be edited offline, and something to do with changing/deleting MountedDevices keys.

 

I'm not about to reinstall a perfectly good OS that was never corrupt to begin with, help is appreciated.



#2 Wonko the Insane

Wonko the Insane

    Frequent Member

  • Advanced user
  • 426 posts
  • Location:The Inside of the Asylum (gate is wide open)
  • Interests:That's for me to know and you to not find out.
  •  
    United States

Posted 10 September 2016 - 05:41 AM

I'm not entirely sure, but I think my issue is solved. I mounted the Registry hive, deleted everything under MountedDevices, unmounted the hive, then rebooted. I wanted Windows to populate a fresh list of volume IDs (if that's what they're called) and drive letters. I already knew I would get another error about the user profile service not loading, so I remounted the hive again and changed the only other present drive letter to Z. This time, when I rebooted, instead of a user profile error, I got "Preparing Windows" (after entering my password), and eventually a black screen with the message that I had been signed into a temp account. This was my Microsoft account. I then proceeded to log in to the built-in admin, which to my surprise came up fine. I checked Disk Management, all drive letters correct. Next I just need to run a chkdsk on all volumes and sfc /scannow. I'll also create new user profiles, just to be safe. If all that checks out fine I'll assume the issue is solved. But I still dont understand why what I did worked.



#3 Wonko the Insane

Wonko the Insane

    Frequent Member

  • Advanced user
  • 426 posts
  • Location:The Inside of the Asylum (gate is wide open)
  • Interests:That's for me to know and you to not find out.
  •  
    United States

Posted 10 September 2016 - 07:16 AM

My next issue is that Windows is saying errors have been found on C drive. So I reboot to let it repair, it says the errors are fixed.........but on the next restart it finds the same errors again. I wish Windows would make up its' mind and either really fix the errors, or just say they can't be fixed so I can reinstall *AGAIN*........and again and again.

 

Edit: I checked the Event Viewer and it looks like Windows keeps flagging some/a boot file(s) over and over again. I ran chkdsk on my other 2 volumes, both are clean, and sfc says there are no corrupt files. I also recreated my users accounts and all seems working. It's just that incessant chkdsk notification that is getting annoying. Maybe there is a way to find exactly which file(s) it is whining about and replace them with clean copies? I'd say my cloning was pretty much successful overall.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users