Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2007
  • Last Modified:

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
0
rgford
Asked:
rgford
2 Solutions
 
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

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now