Posts Tagged ‘userinit’

What to do when My Documents folder opens at startup?

December 29th, 2010 No comments

What to do when My Documents folder opens at startup?

One fine day, you start your Windows XP computer and when you log on, you find that theMy Documentsfolder opens up automatically. You close the folder, feeling a bit puzzled.

Being curious and wanting to check again, you restart the computer once but this time too, the “My Documents” folder opens up after you log on. You feel irritated. After some time, you become used to closing the My Documents folder every time you start Windows. But you wish to know how it started opening on its own. And whether there’s a way to stop it from opening at startup?

This happens if there’s a registry change in the Userinit value. Use the following steps to remove this behavior. The following procedure tells you to make changes to your Windows registry, so make sure to backup your files. Also backup the Windows registry, before you change anything in the registry. If you do something wrong with the registry, Windows may not start. So, beware. For more information on backup, click here.

  1. Click Start ->Run and type the following command and press the Enter key:


The Registry editor opens, as shown below.


2. Navigate down to the following key by clicking the + sign next to the following, as shown in the images below:

HKEY_ LOCAL_ MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon

MyDocuments2 MyDocuments3

MyDocuments4 MyDocuments5


3. When Winlogon is selected in the left pane, on the right pane, carefully look for the key named “Userinit” and double click it to open the value.

It should have a value of


(The comma at the end is important, don’t delete it. Add it, if it’s not present.)


4. If there’s anything else instead of the exact value shown above, delete it and carefully type the above value and then click OK.

5. Exit the registry editor by clicking on the cross.

6. Restart the computer. After Windows restarts, the “My Documents” folder won’t open up at startup.