Jump to content

How can you Copy a file to all existing profiles?


Recommended Posts

Guest David Allen
Posted

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.

  • Replies 8
  • Created
  • Last Reply

Popular Days

Guest R. McCarty
Posted

Re: How can you Copy a file to all existing profiles?

 

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.

 

"David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

news:63E24CA3-1300-4739-8135-87E346BFE228@microsoft.com...

>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.

>

>

Guest Pegasus \(MVP\)
Posted

Re: How can you Copy a file to all existing profiles?

 

 

"David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

news:63E24CA3-1300-4739-8135-87E346BFE228@microsoft.com...

>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?

Guest Pegasus \(MVP\)
Posted

Re: How can you Copy a file to all existing profiles?

 

 

"R. McCarty" <PcEngWork-NoSpam_@mindspring.com> wrote in message

news:eR6v2u5BIHA.5044@TK2MSFTNGP03.phx.gbl...

> 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.

Guest David Allen
Posted

Re: How can you Copy a file to all existing profiles?

 

Sorry, Pre-Existing Profiles.

 

"R. McCarty" wrote:

> 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.

>

> "David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

> news:63E24CA3-1300-4739-8135-87E346BFE228@microsoft.com...

> >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.

> >

> >

>

>

>

Guest R. McCarty
Posted

Re: How can you Copy a file to all existing profiles?

 

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.

 

"Pegasus (MVP)" <I.can@fly.com> wrote in message

news:uyvbAx5BIHA.6012@TK2MSFTNGP03.phx.gbl...

>

> "R. McCarty" <PcEngWork-NoSpam_@mindspring.com> wrote in message

> news:eR6v2u5BIHA.5044@TK2MSFTNGP03.phx.gbl...

>> 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.

>

Guest David Allen
Posted

Re: How can you Copy a file to all existing profiles?

 

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.

 

 

 

"Pegasus (MVP)" wrote:

>

> "David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

> news:63E24CA3-1300-4739-8135-87E346BFE228@microsoft.com...

> >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?

>

>

>

Guest Pegasus \(MVP\)
Posted

Re: How can you Copy a file to all existing profiles?

 

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.

 

 

"David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

news:18DEA585-8080-4E09-AD32-176BFF414435@microsoft.com...

> 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.

>

>

>

> "Pegasus (MVP)" wrote:

>

>>

>> "David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

>> news:63E24CA3-1300-4739-8135-87E346BFE228@microsoft.com...

>> >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?

>>

>>

>>

Guest David Allen
Posted

Re: How can you Copy a file to all existing profiles?

 

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.

 

"Pegasus (MVP)" wrote:

> 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.

>

>

> "David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

> news:18DEA585-8080-4E09-AD32-176BFF414435@microsoft.com...

> > 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.

> >

> >

> >

> > "Pegasus (MVP)" wrote:

> >

> >>

> >> "David Allen" <DavidAllen@discussions.microsoft.com> wrote in message

> >> news:63E24CA3-1300-4739-8135-87E346BFE228@microsoft.com...

> >> >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?

> >>

> >>

> >>

>

>

>


×
×
  • Create New...