Need to copy icon to every user's desktop with logon script through Group Policy. What is the system path to the currently-logged-on user's desktop?

As the title explains, I need to copy some items to everyone's desktops when they logon, or at least achieve this effect some way.

I can't copy them to "All users" as standard users don't have write access on this folder.

Any ideas?

thanks

George
rgfordAsked:
Who is Participating?
 
hollinbayCommented:
You could just use the following in a batch file:

xcopy "c:\file" c:\documents and settings\%username%\desktop

That should do the trick.

Charlie
0
 
Michael PfisterCommented:
Copy it to their personal desktop, like

copy "<Sourcepath>" "%USERPROFILE%\Desktop" /y

Hope it helps,

Michael
0
 
rgfordAuthor Commented:
thanks guys
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.