3

I got a fresh PC with Windows 7. Unaware of things I went straight to "clean-up" my user directory. I deleted all "My *" folders (documents, videos, etc.). I experienced some nasty bug with Outlook that was caused by the lack of "My Documents".

With some magic I was able to recreate the junction point for "My Documents".

I'd like to delete the user and recreate it, but I cannot do it on this machine.

Is there a way to verify that all the default folders are there and the junction points are correct? I want to avoid nasty surprises in the future.

Stefan
  • 133

3 Answers3

2

Delete the registry key for the profile, reboot, and log in again.

This should cause Windows to rebuild your profile on that PC, and any missing folders.

Before doing this, I would backup any data to another local location (c:\backup) as well as exporting a backup of the registry key just in case.

Here's how to remove the local user profile via the registry:

Click on Start > Run > regedit > ENTER

Navigate to the following registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Under ProfileList navigate to binary keys like this: S-1-5-21-3656904587-1668747452-4095529-500

On the right side under ProfileImagePath you will see the profile path.

Choose the one with the desired user and delete the long registry key corresponding to your username - it will look like this:

enter image description here

1

Since you say it's a company computer and that's why you can't recreate the user, I'm guessing you're on a domain, using domain credentials to log in.

In that case you don't need to delete/recreate the actual user, just the user's profile on the computer in question:

0

Create a new user, see what all the default folders are on a new user, make sure that they all exist in your current profile. Should be all there is to it.