User Profile name changes from User Name to "My Documents" or "Documents"

User Profile name changes from User Name to "My Documents" or "Documents"

book

Article ID: CTX213700

calendar_today

Updated On:

Description

Under certain circumstances, the Desktop.ini file may cause the User Profile folder name on the User Store to change from the User Name to "My Documents". If we delete the "desktop.ini" file in the "My Documents" folder, it changes the folder name back to the correct user name.

Resolution

Solution 1: Manually Delete Desktop.ini file
Deleting the Desktop.ini file from the root of the Profile on the User Store causes the folder to correctly appear as the username and not My Documents. 

Solution 2: Configure the Desktop.ini file to automatically delete via Group Policy. 

Go to:Group Policy -> User Configuration -> Preferences -> Windows Settings -> Ini Files

Create a new Ini File entry, with the following settings:

Action: Delete

File Path: %userprofile%\Documents\desktop.ini

Section Name: .ShellClassInfo

Property Name: LocalizedResourceName

Ensure that you enable Run in logged-on user's context under the Common tab.

This will remove the offending line from the user's desktop.ini folder, fixing the folder display name behavior, and leaving everything else intact, including any other user-set folder view customizations, etc.


Problem Cause

Desktop.ini file

Issue/Introduction

Desktop.ini file may cause the profile name to change to My Documents

Additional Information

  • https://support.microsoft.com/en-us/kb/947222
  • http://serverfault.com/questions/566279/shared-home-folders-on-file-server-listed-as-my-documents