Most likely, the "Remove My Documents Folder from Desktop" setting was configured on the Display Object.
To restore the “My Documents” namespace folder to the Desktop for all users of the machine, the following registry change must be made either manually or by utilizing the Registry object in the product.
Action: AddKey
Hive: HKEY_LOCAL_MACHINE
Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103}
ALTERNATE OPTION:
To restore the "My Documents" namespace folder to the Desktop for only a particular user of a machine, then the following registry change must be made:
Action: Create Value
Hive: HKEY_CURRENT_USER
Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Desktop\NameSpace\{450D8FBA-AD25-11D0-98A8-0800361B1103}\ShellFolder
Type: REG_DWORD
Value: 4030726516 (to show the My Documents folder) or 4031775092 (to hide My Documents folder)