That particular key exists for backwards compatibility only. The important
key is:
'HKCU\Software\Microsoft\Windows\CurrentVersion\Ex plorer\User Shell Folders'
Do you have a value named 'Desktop' there?
I'm not sure if a roaming profile would affect the existence of this value
or not.
--
Good Luck,
Keith
Microsoft MVP [Windows Shell/User]
"sunny_novice" <> wrote in message
news:...
>
> Hi,
>
> I have got a problem here,
> I assume that the Registry key "HKEY_CURRENT_USER\Software\Microsoft
> \Windows\CurrentVersion\Explorer\Shell Folders\Desktop" is used to get
> the desktop path for the current user.
> But, I had a this problem on one Vista(Business Edition) system, there
> was no "Desktop" key present under the
> "HKEY_CURRENT_USER\Software\Microsoft
> \Windows\CurrentVersion\Explorer\Shell Folders\" Registry entry and
> hence the desktop path missing.
> Is there any explaination for this behavior, has it got anything to do
> with the kind of user account ?
>
> Regards,
> Sunny
>
>
> --
> sunny_novice
|