Using GPO to create a shortcut on users desktops?

Discussion in 'Windows Server' started by ggbasser, Mar 14, 2006.

  1. ggbasser

    ggbasser Guest

    Pardon my ignorance all, but any help in how to create a shortcut on multiple
    user desktops via AD GPO object would be greatly appreciated...

    I Basically need to create this shortcut on 50 users desktops via win23k
    server AD... I am not that familar with the distribution features of AD...

    "C:\Program Files\Internet Explorer\IEXPLORE.EXE" -new "http://websrv/conet/"
    ggbasser, Mar 14, 2006
    1. Advertisements

  2. ggbasser

    big_t8r Guest

    Well, I supposed that you could create A) the physical shortcut file,
    and B) a logon script that would check for that physical shortcut on
    the user's desktop, and if it didn't exist, could copy it from a
    network share.

    I would picture it something like this:

    "Shortcut.lnk" would be the filename of your shortcut for this example.
    It is located in the shared folder "Shortcuts" on the file server
    "Server01". The UNC path to this file would be

    I tested this script. All you have to do is save it into a script of
    your own, and create a policy in your domain for the specific objects
    you want it to affect. If you want EVERYONE to have the shortcut, make
    it apply to your domain or forest. Hopefully you're using Group Policy
    Management Console (GPMC). It makes life easier.

    Begin Login Script:

    @echo off
    if exist "%userprofile%\desktop\Shortcut.lnk" goto ending
    net use s: \\Server01\Shortcuts > nul
    copy s:\Shortcut.lnk "%userprofile%\desktop" > nul
    echo It wasn't there but is now.
    net use s: /delete > nul

    echo Done.

    End Login Script

    That's it. It checks, and if the shortcut isn't there, it'll put it
    there, as long as a share is set up with the shortcut available to all
    authenticated users...

    Good luck, and let me know how that turns out for you.

    Brian Tate, MCP
    big_t8r, Mar 15, 2006
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.