Go Back   Microsoft Operating System Forum > Microsoft Operating System > Windows XP

I have a Windows 2003 Server running AD, and about 50 Windows XP workstations. I need to copy a shortcut to the "All Users" desktop folder and do not want


Microsoft OS Forum to Usenet Gateway is a gateway to Microsoft Windows operating system newsgroups. If you use Windows XP, Windows Vista or any other Microsoft Operating System then this is the community for you.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact us.

Once you register you'll stop seeing this message.
Log in

Reply
 
Thread Tools Display Modes
Old 10-07-2008, 08:01 AM   #1
Mark
Guest
 
Posts: n/a
"All Users" folder

I have a Windows 2003 Server running AD, and about 50 Windows XP
workstations. I need to copy a shortcut to the "All Users" desktop folder
and do not want to have to go around to 50 computers to do this. Does
someone know if this can be automated through a Group Policy or logon
script? The users do NOT have admin access to their LOCAL computers so I do
not think a copy command in the logon script will work. Thanks!

 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote


Old 10-07-2008, 08:11 AM   #2
Meinolf Weber
Guest
 
Posts: n/a
Re: "All Users" folder

Hello mark,

Run a startup script, shortcut.cmd for example:

:Copy shortcut to remote workstation
if not exist "c:\Documents and settings\all users\desktop\yourshortcut" copy
"\\domainname\netlogon\yourshortcut" "c:\Documents and settings\all users\desktop\yourshortcut"


Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> I have a Windows 2003 Server running AD, and about 50 Windows XP
> workstations. I need to copy a shortcut to the "All Users" desktop
> folder and do not want to have to go around to 50 computers to do
> this. Does someone know if this can be automated through a Group
> Policy or logon script? The users do NOT have admin access to their
> LOCAL computers so I do not think a copy command in the logon script
> will work. Thanks!
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-07-2008, 05:11 PM   #3
Linn Kubler
Guest
 
Posts: n/a
Re: "All Users" folder

Hi Mark,

I just did this very thing last week. I gave up on the login/startup script
idea and just ran a batch file that read a file containing the target
computer names and copied the shortcut there. Here's what I used, based on
a response in the scripting group.

for /f %%C in (complist.txt) do (
echo %%C >> log.txt
copy PI.url "\\%%C\c$\Documents and Settings\All Users\Desktop" >>
log.txt
)
echo Done!
pause

Once I had the script figured out the hardest part was compiling the
complist.txt file. I dumped the results to a log file to track my progress.

Hope this helps,
Linn

"Mark" <markl@csbonline.net> wrote in message
news:OvOuBzHKJHA.5232@TK2MSFTNGP05.phx.gbl...
>I have a Windows 2003 Server running AD, and about 50 Windows XP
> workstations. I need to copy a shortcut to the "All Users" desktop folder
> and do not want to have to go around to 50 computers to do this. Does
> someone know if this can be automated through a Group Policy or logon
> script? The users do NOT have admin access to their LOCAL computers so I
> do
> not think a copy command in the logon script will work. Thanks!
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2008, 06:28 AM   #4
Mark
Guest
 
Posts: n/a
Re: "All Users" folder

But would I NOT get an "Access Denied" because the user who is logging in
does not have write access to the "All Users\Desktop" folder?

"Meinolf Weber" <meiweb(nospam)@gmx.de> wrote in message
news:ff16fb6691ae8caf6a60ad61bb9@msnews.microsoft. com...
> Hello mark,
>
> Run a startup script, shortcut.cmd for example:
>
> :Copy shortcut to remote workstation
> if not exist "c:\Documents and settings\all users\desktop\yourshortcut"
> copy "\\domainname\netlogon\yourshortcut" "c:\Documents and settings\all
> users\desktop\yourshortcut"
>
>
> Best regards
>
> Meinolf Weber
> Disclaimer: This posting is provided "AS IS" with no warranties, and
> confers no rights.
> ** Please do NOT email, only reply to Newsgroups
> ** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
>
>> I have a Windows 2003 Server running AD, and about 50 Windows XP
>> workstations. I need to copy a shortcut to the "All Users" desktop
>> folder and do not want to have to go around to 50 computers to do
>> this. Does someone know if this can be automated through a Group
>> Policy or logon script? The users do NOT have admin access to their
>> LOCAL computers so I do not think a copy command in the logon script
>> will work. Thanks!
>>

>
>



 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-08-2008, 06:40 AM   #5
Florian Frommherz [MVP]
Guest
 
Posts: n/a
Re: "All Users" folder

Mark,

Mark wrote:
> But would I NOT get an "Access Denied" because the user who is logging in
> does not have write access to the "All Users\Desktop" folder?


Not when using a computer startup script. That script then runs in the
SYSTEM context of the machine - that should have sufficient rights to
modify the files.

cheers,

Florian
--
Microsoft MVP - Group Policy
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-13-2008, 03:15 PM   #6
Mark
Guest
 
Posts: n/a
Re: "All Users" folder

Thanks for the help in understanding this. I just tried this out and the
problem I have is that the script will not run. I do not get any errors or
anything, the script just won't run. Here is how I have it setup:

The script filename is copyint.bat. I put it in the folder being shared as
"Netlogon", the same place as the logon scripts. Then, in Group Policy, I
went to "Computer Configuration\Windows Settings\Scripts". I double-clicked
"Startup", then clicked the "add" button, then typed in the script name,
copyint.bat. I then ran gpupdate. Am I missing something here?

"Florian Frommherz [MVP]" <florian@frickelsoft.DELETETHIS.net> wrote in
message news:u89%23GrTKJHA.5532@TK2MSFTNGP02.phx.gbl...
> Mark,
>
> Mark wrote:
>> But would I NOT get an "Access Denied" because the user who is logging
>> in does not have write access to the "All Users\Desktop" folder?

>
> Not when using a computer startup script. That script then runs in the
> SYSTEM context of the machine - that should have sufficient rights to
> modify the files.
>
> cheers,
>
> Florian
> --
> Microsoft MVP - Group Policy
> eMail: prename [at] frickelsoft [dot] net.
> blog: http://www.frickelsoft.net/blog.
> Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2008, 12:40 AM   #7
Florian Frommherz [MVP]
Guest
 
Posts: n/a
Re: "All Users" folder

Mark,

Mark wrote:
> Thanks for the help in understanding this. I just tried this out and the
> problem I have is that the script will not run. I do not get any errors or
> anything, the script just won't run. Here is how I have it setup:
>
> The script filename is copyint.bat. I put it in the folder being shared as
> "Netlogon", the same place as the logon scripts. Then, in Group Policy, I
> went to "Computer Configuration\Windows Settings\Scripts". I double-clicked
> "Startup", then clicked the "add" button, then typed in the script name,
> copyint.bat. I then ran gpupdate. Am I missing something here?


Let's try something different. From "CompConf\Win Settings\Scripts" you
can click "Browse" where it open an FileOpen dialog on some folder on
SYSVOL. Drag and Drop the copyint.bat script in there - just right into
the FileOpen dialog in the location it pops up. That is the place the
script should go.

cheers,

Florian
--
Microsoft MVP - Group Policy
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2008, 10:55 AM   #8
Mark
Guest
 
Posts: n/a
Re: "All Users" folder

I did this and the script still will not run. Any more ideas?

Maybe I can accomplish the same by using a LOGON script to copy the shortcut
into the "Document and Settings\username\desktop" folder. My only question
here is what would the syntax be? Below is my actual script:

:Copy shortcut to remote workstation
if not exist "c:\Documents and settings\all users\desktop\Sentry
Intranet.url" copy "\\smserver\netlogon\Sentry Intranet.url" "c:\Documents
and settings\all users\desktop\"

I would have to change "all users" in the path to the specific username.
How?


"Florian Frommherz [MVP]" <florian@frickelsoft.DELETETHIS.net> wrote in
message news:eTeiG%23bLJHA.1308@TK2MSFTNGP02.phx.gbl...
> Mark,
>
> Mark wrote:
>> Thanks for the help in understanding this. I just tried this out and the
>> problem I have is that the script will not run. I do not get any errors
>> or
>> anything, the script just won't run. Here is how I have it setup:
>>
>> The script filename is copyint.bat. I put it in the folder being shared
>> as
>> "Netlogon", the same place as the logon scripts. Then, in Group Policy, I
>> went to "Computer Configuration\Windows Settings\Scripts". I
>> double-clicked
>> "Startup", then clicked the "add" button, then typed in the script name,
>> copyint.bat. I then ran gpupdate. Am I missing something here?

>
> Let's try something different. From "CompConf\Win Settings\Scripts" you
> can click "Browse" where it open an FileOpen dialog on some folder on
> SYSVOL. Drag and Drop the copyint.bat script in there - just right into
> the FileOpen dialog in the location it pops up. That is the place the
> script should go.
>
> cheers,
>
> Florian
> --
> Microsoft MVP - Group Policy
> eMail: prename [at] frickelsoft [dot] net.
> blog: http://www.frickelsoft.net/blog.
> Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste


 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-14-2008, 11:51 AM   #9
RemyMaza
Guest
 
Posts: n/a
Re: "All Users" folder

On Oct 14, 11:55*am, "Mark" <ma...@csbonline.net> wrote:
> *I did this and the script still will not run. Any more ideas?
>
> Maybe I can accomplish the same by using a LOGON script to copy the shortcut
> into the "Document and Settings\username\desktop" folder. *My only question
> here is what would the syntax be? *Below is my actual script:
>
> :Copy shortcut to remote workstation
> if not exist "c:\Documents and settings\all users\desktop\Sentry
> Intranet.url" copy "\\smserver\netlogon\Sentry Intranet.url" "c:\Documents
> and settings\all users\desktop\"
>
> *I would have to change "all users" in the path to the specific username.
> How?
>
> "Florian Frommherz [MVP]" <flor...@frickelsoft.DELETETHIS.net> wrote in
> messagenews:eTeiG%23bLJHA.1308@TK2MSFTNGP02.phx.gb l...
>
>
>
> > Mark,

>
> > Mark wrote:
> >> Thanks for the help in understanding this. I just tried this out and the
> >> problem I have is that the script will not run. I do not get any errors
> >> or
> >> anything, the script just won't run. *Here is how I have it setup:

>
> >> The script filename is copyint.bat. *I put it in the folder being shared
> >> as
> >> "Netlogon", the same place as the logon scripts. Then, in Group Policy, I
> >> went to "Computer Configuration\Windows Settings\Scripts". I
> >> double-clicked
> >> "Startup", then clicked the "add" button, then typed in the script name,
> >> copyint.bat. I then ran gpupdate. *Am I missing something here?

>
> > Let's try something different. From "CompConf\Win Settings\Scripts" you
> > can click "Browse" where it open an FileOpen dialog on some folder on
> > SYSVOL. Drag and Drop the copyint.bat script in there - just right into
> > the FileOpen dialog in the location it pops up. That is the place the
> > script should go.

>
> > cheers,

>
> > Florian
> > --
> > Microsoft MVP - Group Policy
> > eMail: prename [at] frickelsoft [dot] net.
> > blog:http://www.frickelsoft.net/blog.
> > Maillist (german):http://frickelsoft.net/cms/index.php?page=mailingliste- Hide quoted text -

>
> - Show quoted text -


If you wanted this to appear on the desktop of the person that logs
into the computer, then you'll have to run the script under the User
settings, NOT the computer settings... Then you'll have to change the
"C:\documents and settings\username\desktop" to this variable:

%userprofile%\desktop

If you use the command prompt and type echo then a variable such as
%userprofile% it will show you the actual folder path. I'd suggest
using it b/c it can save a lot of headache.

Regards,
Matt
 
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
all users, folder



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Desktop Display Properties" shows jpegs in "My Pictures" folder.. gee Windows XP 3 05-12-2008 11:07 PM
Difference between "Recycler" and "recycled" folder? Deleteable when Recycle Bin NOT used for this partition ? Eugen Austermann Windows XP 2 12-10-2007 10:11 AM
Are "Junction points" for folder = "Hard links" for files ? Marcus Mender Windows XP 0 12-09-2007 09:34 AM
Adding commands to "Folder Options/Edit File Type/Actions" grayed-out "Edit" & "Remove" Green_XP Windows XP 1 11-06-2007 02:48 AM
Can I clean the folder "Searches" in "C:\Users\My name" Geo Windows Vista 2 09-10-2007 10:58 AM




This is a Schwarz Network site.

All times are GMT -5. The time now is 09:04 PM.
Designed by: vBSkinworks