I've added a line to ldappl3.template to return the path of the My Documents location in Windows. This is because in most (i need to know exactly how many) of our devices we have redirected my documents to C:\My Documents from C:\%USERPROFILE%\My Documents.
This is the line i have added,
;My Documents Location
KEY=HKCU, Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, "Personal", Custom Data - Documents - Location
This is what is in the registry at this location on my PC,
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders, Personal, %SystemDrive%\My Documents
This is what my LD inventory scan shows on my PC,
Custom Data, Documents, Location, %USERPROFILE%\My Documents
Any ideas why LD would change %SystemDrive% to %USERPROFILE%?
Any advice would be greatly appreciated.