Access is denied on User Profile - Windows 7

1

My system has four disks in it

  • C: 120GB (SSD) for system
  • D: 1TB
  • E: 500GB
  • F: 2TB

My user is mark and my profile is here D:\Users\mark

All disks are encrypted with truecrypt whole disk encryption. D,E,F are system favorite volumes and are mounted with the system at boot time.

The D drive filled up, so I emptied the F drive and copied my data over logged on as a different user called admin with this command

robocopy D:\Users\mark F:\Users\mark /MIR /XJ

Seemed to work well. I then went into the registry and changed the User profile location at this key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\{SID} and changed ProfileImagePath to F:\Users\mark

I also changed: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory to F:\Users

When I log on to Windows I get a load of errors. In the event log I can see

Windows cannot load the user's profile but has logged you on with the default profile for the system. DETAIL - Access is denied.

When I look at the drives, they have all been mounted fine by Truecrypt. I tried changing the registry keys back to how they were but I get the same error. I have also tried a System Restore but it did not fix it.

Any ideas? I'm kind of in trouble here. Thanks!

user9639

Posted 2013-12-03T21:36:40.300

Reputation: 13

Answers

0

Try the following :

user Profile Fixing Tool

Scorpion99

Posted 2013-12-03T21:36:40.300

Reputation: 1 023

Method 1 fixed it, my profile registry key had a .bak on the key name and I hadn't noticed. – user9639 – 2013-12-05T09:10:43.653

0

Unfortunately you have done something that might no be reversible.

Microsoft says user profiles are not movable:

By changing the default location of the user profile directories or program data folders to a volume other than the System volume, you will not be able to service your Windows installation. Any updates, fixes, or service packs will fail to be applied to the installation. Microsoft does not recommend that you change the location of the user profile directories or program data folders. [emphasis added]

Now there are tools that allow you to do just that:

The tweak involves using Microsoft's enterprise deployment tools, including Sysprep, to install Windows. An answer file (in XML format) specifies a custom location for the Users folder.

The best thing to do would be to restore from your backup but otherwise you may try to follow the exact steps outlined for Sysprep here

More info here

TomEus

Posted 2013-12-03T21:36:40.300

Reputation: 3 355

Thanks, but I have moved my stuff using this method from the C to the D drive for a good few months now with no issues at all. Not sure why it's gone bad now. The sysprep option looks involved, might give that a try. – user9639 – 2013-12-03T22:04:38.767