How do I send a desktop icon to all my pc's to launch a particular https: website

Answer Summary:
You can use the below mentioned methods as per your requirement
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

2

You can also use the following VBScript

Option Explicit

Dim WshShell, strDesktopPath, objShortcutUrl

Set WshShell = CreateObject("WScript.Shell")
strDesktopPath = WshShell.ExpandEnvironmentStrings("%ALLUSERSPROFILE%\Desktop")
Set objShortcutUrl = WshShell.CreateShortcut(strDesktopPath & "\Google.lnk")
objShortcutUrl.TargetPath = "http://www.Google.com"
objShortcutUrl.IconLocation = "c:\windows\system32\shell32.dll,13"
objShortcutUrl.Save

Set WshShell = Nothing

Answered 07/16/2012 by: jagadeish
Red Belt

Please log in to comment

Answers

1

Not sure of your deployment method, but you can create the shortcut on your desktop. Then copy that shorcut to a share then run

@echo off
copy  "\\share\folder\url shortcut.website" "%allusersprofile%\desktop\url shortcut.website"
Answered 07/16/2012 by: dugullett
Red Belt

Please log in to comment
1

If you want it to run automatically:

Put in the startup "C:\Program Files\Internet Explorer\iexplore"  "\\share\folder\url shortcut.website" or "http://webaddress"

Answered 07/16/2012 by: SMal.tmcc
Red Belt

Please log in to comment
1

You can also use Group Policy to publish this as a Bookmark in Internet Explore. And /or use login scripts to copy the shortcut over from a share.

Answered 07/16/2012 by: Timanator
Third Degree Blue Belt

Please log in to comment
1

I will say that Jagadeish has written a script which is really good to use.

Answered 07/17/2012 by: piyushnasa
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity