Windows 7 x64 Home P. OEM I decided to move my Users and ProgramData folders onto my secondary disk to save SSD space. I booted into "repair" mode on the windows DVD. Both drives are NTFS. The drives were assigned different letters to the ones normally used so the commands I ran were:
robocopy /xj /mir /copyall D:Users E:Users robocopy /xj /mir /copyall D:ProgramData E:ProgramData rmdir /S /Q D:Users rmdir /S /Q D:ProgramData mklink /j D:Users E:Users mklink /j D:ProgramData E:ProgramData
I then changed the Windows NT ProfileList registry values to point to the new directory (Using the original windows drive letters, not the recovery ones) instead of the system drive, keeping the junctions for any program that relied on using the drive letters instead of the user dir.
After booting back into windows, the login screen displayed "Preparing your desktop" for about a minute until logging onto a basic UI with a message similar to "The user profile service failed". Windows Explorer also threw up something similar to "could not locate C:\Windows\system32\config\systemprofile\Desktop" which seems unreasonable as the rest of the C: drive was not touched at all. I assumed this was because it could not locate the new user profile under what was now D:Users. I logged in to the administrator account (which threw up similar messages) and recreated the junctions on the basis that the ones created under the recovery drive letters may not be interpreted correctly now that the letters are reverted to normal. I then opened the registry and discovered that the values I'd changed had been reset. I then rebooted and the values had saved, but I still couldn't log on properly and received the same "systemprofile" error message.
My question is this: If this is a problem with the registry values and/or junction points, how do I go about rectifying it?
Or if it is due to this C:...\systemprofile\Desktop file being missing, how did this happen and what is the fix?
Or is Windows simply not capable of reading the secondary drive at the pre-login stage (this doesn't make any sense to me but is it a possibility?)
After recreating the desktop folder, It becomes clear that this doesn't help my situation as I'm still only getting logged on to the default windows profile (hence systemprofile). It seems after all that is must be a problem with the junction points, registry values or the way windows reads them.
If nothing works by tomorrow, I'll replace the folders and junction the actual profile folder instead of Users