I'm sorry to hear that you're having trouble logging in to your second account. When you moved the Users folder to a different volume and edited the registry, it can sometimes cause issues with user profiles. I'll do my best to help you resolve this.
Here are a few steps you can try to fix the issue:
1. Restart your computer: Start by restarting your computer to see if the issue resolves itself. Sometimes a simple restart can fix temporary glitches.
2. Safe Mode: Try logging in to your second account in Safe Mode. To do this, press the F8 key repeatedly after restarting your computer until you see the Advanced Boot Options menu. Use the arrow keys to select "Safe Mode" and press Enter. If you can log in successfully, it may indicate that there is a problem with a startup program or service conflicting with the user profile.
3. User Profile Fix: If the above steps don't work, you can try fixing the user profile issue manually. This involves modifying the registry, so it's important to proceed with caution and create a backup of your registry before making any changes. Here's how to do it:
- Restart your computer and log in to an account with administrative privileges.
- Press Win + R, type "regedit" (without quotes), and press Enter to open the Registry Editor.
- Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" in the left pane.
- Look for a subkey with a ".bak" extension and the same name as your affected account. Right-click on it and select "Rename." Remove the ".bak" from the end of the name.
- Find the subkey with the same name as your affected account (without the ".bak" extension) and click on it.
- In the right pane, double-click on the "ProfileImagePath" value and make sure it points to the correct user profile folder location. If it doesn't, modify it to reflect the correct path.
- Close the Registry Editor and restart your computer. Try logging in to your second account again.
If none of the above steps work, there might be a more complex issue with your user profile. In this case, you could try creating a new user account and transferring your files from the old, inaccessible account to the new one. This can be done by copying the contents of the old user profile folder (located in the new location on your D volume) to the new account's profile folder on your C volume.
I hope these steps help you in resolving the issue and regaining access to your second account. Let me know if you have any further questions or need additional assistance.