We help IT Professionals succeed at work.

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?

rgford
rgford asked
on
Medium Priority
2,029 Views
Last Modified: 2008-04-23
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
Comment
Watch Question

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

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
CERTIFIED EXPERT
Commented:
Copy it to their personal desktop, like

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

Hope it helps,

Michael

Author

Commented:
thanks guys
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.