Some often report this strange but quite annoying issue. While logging in to the computer, the This PC, Computer folder or the Documents folder opens automatically at Windows Startup. Unless you have placed its shortcut in the Startup folder, the most likely cause of this issue is the incorrect or duplicated Usernit value in the Windows Registry.
The fix for this problem does exists, but it requires modifying the registry. Serious problems might occur if you modify the registry incorrectly. Therefore, it is essential you follow these steps carefully. For added protection, back up the registry before you modify it or else create a system restore point first. Then, you can restore or revert if the changes are not what you expected.
This PC, Computer or Documents folder opens automatically
If when you start your Windows 10 / 8 / 7, the This PC, Computer or Documents folder opens up automatically at start-up, first check if you have set the option to Restore previous folder windows at logon via Folder Options. If that option is checked, uncheck it and see if it sorts the issue. If it is unchecked, try this :
Click Start > Run Regedit > Navigate To the following key:
HKEY_LOCAL_MACHINE\ SOFTWARE\ Microsoft\ Windows NT\ CurrentVersion\ Winlogon
In the right side panel, change value of Userinit to :
Now Navigate to the following key :
HKEY_CURRENT_USER\ Software\ Microsoft\ Windows\ CurrentVersion\ Explorer\ Advanced
In the right side panel, change the value of PersistBrowsers to 0.
Reboot your computer.
This should help!
If it does not, then boot in Clean Boot state and see if the problem persists and if you can identify the offender.