A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » Security and Administration with Windows XP
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

"All Users" folder



 
 
Thread Tools Display Modes
  #1  
Old October 7th 08, 02:01 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Mark
external usenet poster
 
Posts: 13
Default "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!

Ads
  #2  
Old October 7th 08, 02:11 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Meinolf Weber
external usenet poster
 
Posts: 58
Default "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!



  #3  
Old October 7th 08, 11:11 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Linn Kubler
external usenet poster
 
Posts: 35
Default "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" wrote in message
...
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!



  #4  
Old October 8th 08, 12:28 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Mark
external usenet poster
 
Posts: 6
Default "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" wrote in message
. 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!





  #5  
Old October 8th 08, 12:40 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Florian Frommherz [MVP]
external usenet poster
 
Posts: 5
Default "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
  #6  
Old October 13th 08, 09:15 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Mark
external usenet poster
 
Posts: 13
Default "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]" wrote in
message ...
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


  #7  
Old October 14th 08, 06:40 AM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Florian Frommherz [MVP]
external usenet poster
 
Posts: 5
Default "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
  #8  
Old October 14th 08, 04:55 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
Mark
external usenet poster
 
Posts: 13
Default "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]" wrote in
message ...
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


  #9  
Old October 14th 08, 05:51 PM posted to microsoft.public.windows.group_policy,microsoft.public.windowsxp.general,microsoft.public.windowsxp.security_admin
RemyMaza
external usenet poster
 
Posts: 3
Default "All Users" folder

On Oct 14, 11:55*am, "Mark" 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]" wrote in
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
 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 11:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.