henjohn1520
asked on
How would I create a network share shortcut for all my users desktop?
I don't want to map a drive for my users and I would rather have a shortcut for the share be placed on their desktop. Can this be done? Is a vbscritp going to need to be used?
just create a short cut
buy right clicking on the desktop and selecting shortcut then entering the UNC path to the share
eg \\server\networkshare
then click finish
then you can copy the shortcut and give it to who ever you want ore place it on the desktop
buy right clicking on the desktop and selecting shortcut then entering the UNC path to the share
eg \\server\networkshare
then click finish
then you can copy the shortcut and give it to who ever you want ore place it on the desktop
You can create the shortcut on your desktop then transfer the shortcut to the common "All Users" desktop usually found in:
C:\Documents and Settings\All Users\Desktop
Any shortcut you place in here will appear on the desktop of all users.
C:\Documents and Settings\All Users\Desktop
Any shortcut you place in here will appear on the desktop of all users.
ASKER
What would the logon script look like?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Actually although I personally prefer VBScripts for login scripts - they're much more flexible - if you use the batch file method above, I'd change
copy \\servername\sharename\soh rtcut.lnk %userprofile%\desktop
to
copy /Y \\servername\sharename\soh rtcut.lnk %userprofile%\desktop
or
If not exist %userprofile%\desktop\shor tcut.lnk copy \\servername\sharename\soh rtcut.lnk %userprofile%\desktop <--all one line.
The /Y supresses a prompt to overwrite an existing file whereas the second option doesn't copy it if the shortcut already exists on the users desktop.
copy \\servername\sharename\soh
to
copy /Y \\servername\sharename\soh
or
If not exist %userprofile%\desktop\shor
The /Y supresses a prompt to overwrite an existing file whereas the second option doesn't copy it if the shortcut already exists on the users desktop.
Yes, Tony1044 is right...
Thanks Tony, I didn't think the overwrite situation in each restart... :)
Thanks Tony, I didn't think the overwrite situation in each restart... :)
I've done the same thing myself - so easy to do :)
ASKER
This is the Share that I created and i placed the shortcut in the share.
\\servername\shortcuts
I created a batch file similar to the one below/
copy \\servername\shortcuts\sho rtcut.lnk %userprofile%\desktop
It didn't work
\\servername\shortcuts
I created a batch file similar to the one below/
copy \\servername\shortcuts\sho
It didn't work
* where did you put the script (batch) file?
* did you make the neccessary things I mentioned before in AD-Users & Computers Snap-In?
* did you make the neccessary things I mentioned before in AD-Users & Computers Snap-In?
If so,
* You can create the shortcut on the server
* Put it on a shared folder (and give everyone:Read rights to the folder)
* Modify/Create your login script to add the commands to copy this shortcut from \\Servername\Sharename\Sho
That's it...