Announcement

Collapse
No announcement yet.

Applying Web Shortcuts to users desktops

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Applying Web Shortcuts to users desktops

    Goal: Create a login script so that user get a Web link on their desktops no matter what machine they login to.

    I've seen several old threads on here about how to do this and I have used the examples of scripting to no success. Any ideas about this would be greatly appreciated. Bare with me, as I am new to the whole GPO setup.

    What I've tried so far.
    • Created a GPO call Acuity_Icon
    • Added Myself as User of the GPO ie. "domain/username" as well as Authenticated users
    • Right click Acuity_Icon and Edit
    • open user config.
    • open windows setting
    • open scripts
    • open logon
    • At this point i selected Show Files and created my own vbs script
    Set WshShell = CreateObject("WScript.Shell")
    set objFSO = CreateObject("Scripting.FileSystemObject")
    strDesktop = WshShell.SpecialFolders("Desktop")
    IF Not objFSO.FileExists(strDesktop & "\DesktopIconName.lnk") THEN
    set oShellLink = WshShell.CreateShortcut(strDesktop & "\Acuity.lnk")
    oShellLink.TargetPath = "http://acuity"
    oShellLink.WindowStyle = 1
    oShellLink.IconLocation = "SHELL32.dll, 23"
    oShellLink.Description = "Acuity Testing"
    oShellLink.WorkingDirectory = "http://acuity"
    oShellLink.Save
    set oShellLink = NOTHING
    END IF
    Set WshShell = NOTHING
    Set objFSO = NOTHING
    • saved as acuity_shortcut.vbs
    • selected add and browsed to the vbs file I just created and applied and clicked ok.
    What am I missing here? When I log into a workstation as myself I get no icon however the icon will show up occasionally on my server desktop. Any ideas would be greatly appreciated.

    Thanks!

  • #2
    Re: Applying Web Shortcuts to users desktops

    Originally posted by Shipp34 View Post
    What I've tried so far.
    • Created a GPO call Acuity_Icon
    • Added Myself as User of the GPO ie. "domain/username" as well as Authenticated users
    • Right click Acuity_Icon and Edit
    • open user config.
    • open windows setting
    • open scripts
    • open logon
    • At this point i selected Show Files and created my own vbs script
    Code:
    Set WshShell = CreateObject("WScript.Shell")
    set objFSO = CreateObject("Scripting.FileSystemObject")
    strDesktop = WshShell.SpecialFolders("Desktop")
    IF Not objFSO.FileExists(strDesktop & "\DesktopIconName.lnk") THEN
    set oShellLink = WshShell.CreateShortcut(strDesktop & "\Acuity.lnk")
    oShellLink.TargetPath = "http://acuity" 
    oShellLink.WindowStyle = 1 
    oShellLink.IconLocation = "SHELL32.dll, 23" 
    oShellLink.Description = "Acuity Testing" 
    oShellLink.WorkingDirectory = "http://acuity" 
    oShellLink.Save
    set oShellLink = NOTHING
    END IF
    Set WshShell = NOTHING
    Set objFSO = NOTHING
    • saved as acuity_shortcut.vbs
    • selected add and browsed to the vbs file I just created and applied and clicked ok.
    Where did you have linked the GPO to?
    Like,, linking the GPO to the OU where your useraccount is stored.

    \Rems

    This posting is provided "AS IS" with no warranties, and confers no rights.

    __________________

    ** Remember to give credit where credit's due **
    and leave Reputation Points for meaningful posts

    Comment


    • #3
      Re: Applying Web Shortcuts to users desktops

      Sorry, I have the GPO link to the OU(XXIT) my account resides in there.

      Comment


      • #4
        Re: Applying Web Shortcuts to users desktops

        Have you run GpResult /Scope "USER" /V on the client when you are logged-on to check if the GPO is applied?

        On the client, check if the logonscript is listed in the Current user's registry
        http://forums.petri.com/showthread.p...410#post178410
        Is the path in this entry in the registry pointing to a networkshare that has READ effective (share and ntfs) permissions for this user?


        \Rems
        Last edited by Rems; 24th November 2009, 19:44.

        This posting is provided "AS IS" with no warranties, and confers no rights.

        __________________

        ** Remember to give credit where credit's due **
        and leave Reputation Points for meaningful posts

        Comment


        • #5
          Re: Applying Web Shortcuts to users desktops

          I got to work! Thanks to you that is. I did run gpresult and everything looked fine there. I then went to the registry keys and notice an error in the path.

          Comment


          • #6
            Re: Applying Web Shortcuts to users desktops

            Glad to be of some assistance.

            \Rems

            This posting is provided "AS IS" with no warranties, and confers no rights.

            __________________

            ** Remember to give credit where credit's due **
            and leave Reputation Points for meaningful posts

            Comment

            Working...
            X