+ Post New Thread
Results 1 to 6 of 6
Windows Server 2000/2003 Thread, URL Shortcut on All Domain PCs >> Help in Technical; Dear All, I have a Win2K3 DC with XP & Win7 clients and want to push a URL shortcut/icon onto ...
  1. #1

    Join Date
    Dec 2011
    Location
    Hampshire
    Posts
    83
    Thank Post
    31
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Question URL Shortcut on All Domain PCs >> Help

    Dear All,

    I have a Win2K3 DC with XP & Win7 clients and want to push a URL shortcut/icon onto all Desktops.

    Can someone please help us out, with the easiest way of achieving this?, not great on scripts, so doing via GPO preferred.

    Beer awaits

    Thanks in advance.

    ENNY

  2. #2

    AngryTechnician's Avatar
    Join Date
    Oct 2008
    Posts
    3,730
    Thank Post
    698
    Thanked 1,214 Times in 761 Posts
    Rep Power
    395
    Group Policy Preferences will handle this with ease.

    It's built in to Windows 7 but you'll need to deploy an update to the XP machines via WSUS. Here's how to set it up if you've never used it before:
    The Angry Technicianís Guide to Managing Windows 7, you Idiots | The Angry Technician

  3. Thanks to AngryTechnician from:

    EN4CER (26th September 2013)

  4. #3

    Join Date
    Dec 2011
    Location
    Hampshire
    Posts
    83
    Thank Post
    31
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi Angry Tech, lovely article, enjoyable read. I'll bring n my Win7 laptop and try next week. We dont use WSUS tho..

    So this is the eadiest way to gt the shortcuts to the dedktops?

    Thanks again

  5. #4
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,361
    Thank Post
    66
    Thanked 178 Times in 150 Posts
    Rep Power
    61
    Quote Originally Posted by EN4CER View Post
    Hi Angry Tech, lovely article, enjoyable read. I'll bring n my Win7 laptop and try next week. We dont use WSUS tho..

    So this is the eadiest way to gt the shortcuts to the dedktops?

    Thanks again
    The update for GPP is quite old, I would have thought it possibly would be on the desktops already.

    Short of that create a script to create a link:

    VBScript:

    Code:
    WshShell = CreateObject("Wscript.shell")
    strDesktop = WshShell.SpecialFolders("Desktop")
    
    oMyShortcut = WshShell.CreateShortcut(strDesktop + "\MyLink.lnk")
    oMyShortcut.TargetPath = "http://mywebsite.com"
    oMyShortCut.Save
    That should do it, save as createlink.vbs and run with "cscript.exe <PATH TO VBS>\createlink.vbs" in GP.
    Last edited by Jamo; 29th September 2013 at 05:59 PM.

  6. #5

    Join Date
    Dec 2011
    Location
    Hampshire
    Posts
    83
    Thank Post
    31
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thanks James, once created where / how would I run the script inGP


    Quote Originally Posted by Jamo View Post
    The update for GPP is quite old, I would have thought it possibly would be on the desktops already.

    Short of that create a script to create a link:

    VBScript:

    Code:
    WshShell = CreateObject("Wscript.shell")
    strDesktop = WshShell.SpecialFolders("Desktop")
    
    oMyShortcut = WshShell.CreateShortcut(strDesktop + "\MyLink.lnk")
    oMyShortcut.TargetPath = "http://mywebsite.com"
    oMyShortCut.Save
    That should do it, save as createlink.vbs and run with "cscript.exe <PATH TO VBS>\createlink.vbs" in GP.

  7. #6
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,361
    Thank Post
    66
    Thanked 178 Times in 150 Posts
    Rep Power
    61
    Create/edit a policy and add it to the user policy under windows / scripts / logon I think.

    Store the script centrally in netlogon or similar as long as everyone can read it who needs to it shouldn't matter.

    You can test by creating the vbs file and running as a user, should create the link for them on the desktop



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 5
    Last Post: 26th November 2010, 10:19 AM
  2. Replies: 5
    Last Post: 13th April 2010, 06:26 PM
  3. adding folder security permission on all PCs
    By edie209 in forum Windows
    Replies: 7
    Last Post: 7th December 2007, 12:39 PM
  4. Update time on all PC's
    By TechSupp in forum Windows
    Replies: 2
    Last Post: 19th November 2007, 02:21 PM
  5. Need advice on joining virtual pc to domain
    By projector1 in forum Thin Client and Virtual Machines
    Replies: 5
    Last Post: 7th February 2007, 04:00 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •