amarok:

You have to write to this key for the desktop pointer to stick:

$result = WriteValue ("HKEY_CURRENT_USER\software\microsoft\windows\currentversion\Explorer\User Shell Folders","Desktop","h:\desktop","REG_SZ")

The "User Shell Folders" value gets "copied" to the "Shell Folders" value at logon time.

Shawn.