Solved

Making short cut available to Domain users

Posted on 2004-08-26
5
182 Views
Last Modified: 2010-04-19
How can I make a shortcut that points to a share file on the share drive available on users's desktop without adding them manually one by one? Is there a parameter in GRO to achieve this?
0
Comment
Question by:SC2002Admin
  • 2
5 Comments
 
LVL 57

Expert Comment

by:Pete Long
ID: 11901349
Create a shortcut - calli t shortcutname, create a share on your server, and drop a copy of the shortcut in there

add the following to the users loginscript

IF Exist c:\SHORTCUT then goto end
cd c:\
MD SHORTCUT
cd \\server\sharename
Copy *.* c:\SHORTCUT
Cd c:\SHORTCUT
Copy *.* "c:\Documents and Settings\All Users\Desktop"
:end
0
 

Author Comment

by:SC2002Admin
ID: 11924766
I get the idea, but only Administrators can make changes to the All Users folder on client machine (default setting).

How do I overcome this without having to pay a visit to every client machine.
0
 
LVL 57

Accepted Solution

by:
Pete Long earned 500 total points
ID: 11924894
IF Exist "c:\documents and settings\%username%\SHORTCUT" then goto end
cd "c:\documents and settings\%username%"
MD SHORTCUT
cd \\server\sharename
Copy *.* "c:\documents and settings\%username%\SHORTCUT"
Cd "c:\documents and settings\%username%\SHORTCUT"
Copy *.* "c:\Documents and Settings\%username%\Desktop"
:end


The above works cause each user had the rights to do want they want in their own directory under documents and settings.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AD Migration / Upgrade 4 56
Moving Files servers to DFS 11 57
Shadow copies windows server 2003 2 94
Event ID: 7023 / Source: Service Control Manager 4 147
Learn about cloud computing and its benefits for small business owners.
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question