Answered by:
LiveMesh 'Desktop' folder location

Question
-
Is LiveMesh intended to work on corporate machines at any point? If so, can the local copy of folders created in/on the 'live desktop' follow the normal desktop folder redirection, rather than just ignoring it and being located in c:\documents and settings\{username}\desktop.
This folder is unused normally, as all my users have redirected desktops to network filestore, but because the local folder is considered part of the roaming profile, LiveMesh immediately fills their profile quota. I know i can exclude this folder, but should LiveMesh not follow the users configuration anyway?
James WattsWednesday, June 18, 2008 1:22 PM
Answers
-
James,
Of course we take these seriously!
So it looks like we use the same APIs, so it's curious as to what's exactly going on here. When I say that we don't support network shares, it's at a lower layer, so I can't explain why you would see folders going to %USERPROFILE%\Desktop. Please submit a bug in Connect and attach your client logs and we can take a look.
Sorry for the trouble!
Thanks,
Richard
Richard Chung [ Live Mesh ]- Marked as answer by Ben [Live Mesh] Tuesday, June 24, 2008 7:05 PM
Tuesday, June 24, 2008 7:04 PMAnswerer
All replies
-
Good question about the default location for the meshed folder, but you know that you can change this location manually for any meshed folder, right?
-steve
Microsoft MVP Windows Live / Windows Live OneCare Forum ModeratorFriday, June 20, 2008 6:11 PMModerator -
James,
Can you elaborate on how you are using "normal desktop folder redirection"? The Live Mesh client does try to use the redirected path for the default folder location by using an API that looks in the registry, but there are two such values in the registry and it's possible we're using the wrong one.
If you have access to the registry, can you tell me the values of these two folders in this key?
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- Desktop
- DesktopDirectory
Stephen is also correct in mentioning this is only the 'default' location, so you can actually manually change your folders to custom locations.
Also note that the Live Mesh client won't allow you to sync folders to network shares today, but that's a different topic altogether.
Thanks!
Richard
Richard Chung [ Live Mesh ]Saturday, June 21, 2008 1:27 AMAnswerer -
The folder redirection is performed using Active Directory group policy, which controls all of our corporate workstations. As you say that you Mesh can't sync to network folders, i guess this is the reason that they end up in my c:\documents and settings\username\desktop folder, as redirected 'desktop' and 'my document' folders are always on network shares.
The registry values you asked about, on my work XP based machine are:
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
- Desktop - \\server_name\share\path (i.e. the UNC to the share that holds my redirected desktop
- DesktopDirectory - not present, no key or value
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
- Desktop - \\server_name\share\path (i.e. the UNC to the share that holds my redirected desktop
- DesktopDirectory - not present, no key or value
The API that i always use, SHGetSpecialFolderLocation(CSIDL_DESKTOP), returns the UNC redirected path not the local directory as does SHGetSpecialFolderLocation(CSIDL_DESKTOPDIRECTORY) and i've never understodd which one is correct to use!. Again, i assume Mesh is reading this, and because it is a network path it ignores it. I would think that if this is the case, then it would be better to use somewhere else (temp?) that is outside of the users 'roaming profile' directory but thats just my opinion.
*Note updated as i put the wrong API in first (idiot!)
Thanks for discussing this, its good to see that things like this are taken seriously.
James- Edited by JWatts Saturday, June 21, 2008 9:41 AM remove the file:// reference IE kindly added automatically!
Saturday, June 21, 2008 8:46 AM -
James,
Of course we take these seriously!
So it looks like we use the same APIs, so it's curious as to what's exactly going on here. When I say that we don't support network shares, it's at a lower layer, so I can't explain why you would see folders going to %USERPROFILE%\Desktop. Please submit a bug in Connect and attach your client logs and we can take a look.
Sorry for the trouble!
Thanks,
Richard
Richard Chung [ Live Mesh ]- Marked as answer by Ben [Live Mesh] Tuesday, June 24, 2008 7:05 PM
Tuesday, June 24, 2008 7:04 PMAnswerer