I'm trying to dynamically create desktop items at login using addprogramitem. The idea is to create the link then move it to the desktop folder. This is fine when using the administrator login, but fails for an end user login - I cannot locate the entry anywhere despite the fact that addprogramitem returns success ("0").
Maybe I'm misunderstanding the terminology - what is the "active program group" that the icon will be added to, and is there a way of changing it?
The login processing is being performed on Windows Terminal Server if that makes any difference.
The alternative is to use a native NT command to add the icons if there is such a thing.