How can you Copy a file to all existing profiles?

G

Guest

I would like to copy 5 shortcut files from a central network location to the
c:\documents and settings\"user"\Application Data\Microsoft\Internet
Explorer\Quick Launch\ directory.

I would like this to copy to each profile that exists on the computer
(however many there are) or basically show up for any user (new or existing)
that logs on the computer.

I have tried copying them to the "All Users" directory but that did not
work. I tried in my script file to use the %userprofile% variable but the
problem with that is I am using an agent with an agent credential to push it
out and it will copy to the agent profile's folder instead of the main user.

Is there a different %variable% that would do this? Or a different way that
i can't seem to find? Any suggestions?

Thanks in advance.
 
R

R. McCarty

Pre-existing profiles ? - if not place the QuickLaunch shortcuts in the
"Default User" tree in the normal path. Any nearly created users will
inherit the content in Default User.
 
P

Pegasus \(MVP\)

David Allen said:
I would like to copy 5 shortcut files from a central network location to
the
c:\documents and settings\"user"\Application Data\Microsoft\Internet
Explorer\Quick Launch\ directory.

I would like this to copy to each profile that exists on the computer
(however many there are) or basically show up for any user (new or
existing)
that logs on the computer.

I have tried copying them to the "All Users" directory but that did not
work. I tried in my script file to use the %userprofile% variable but the
problem with that is I am using an agent with an agent credential to push
it
out and it will copy to the agent profile's folder instead of the main
user.

Is there a different %variable% that would do this? Or a different way
that
i can't seem to find? Any suggestions?

Thanks in advance.

Why did the "All Users" directory not work?
 
P

Pegasus \(MVP\)

R. McCarty said:
Pre-existing profiles ? - if not place the QuickLaunch shortcuts in the
"Default User" tree in the normal path. Any nearly created users will
inherit the content in Default User.

.. . . true, but none of the existing ones will.
 
G

Guest

Sorry, Pre-Existing Profiles.

R. McCarty said:
Pre-existing profiles ? - if not place the QuickLaunch shortcuts in the
"Default User" tree in the normal path. Any nearly created users will
inherit the content in Default User.
 
R

R. McCarty

Yep, while reading your reply noticed that "Nearly" should have
been newly. Eye Glasses don't work very well if they are sitting
on the desk - even a spell checker can't help you that much.
 
G

Guest

The quick launch folder did not exist in the all users folder. I created it
and added the shortcuts there but they do not show up on each pre-existing
user.
 
P

Pegasus \(MVP\)

AFAIK, items in the QuickLaunch bar reflect only shortcuts that
exist in the user's own QuickLaunch folder. Your script would have
to copy it into the current user's folder, e.g. at logon time.
 
G

Guest

Yeah, that is what i was going to do if i could not figure out how to do it
with the initial install script. Thank you for your help with this.

this is a good place to get help.

Again, thanks.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top