Close Menu
    Facebook X (Twitter) Instagram
    Thursday, October 22
    X (Twitter) LinkedIn Reddit RSS
    All about Endpoint Management
    • Home
    All about Endpoint Management
    Home»ConfigMgr (SCCM)»SCCM VBScript to add shortcut files to users desktop profile OR favorites

    SCCM VBScript to add shortcut files to users desktop profile OR favorites

    Eswar KonetiBy Eswar KonetiApril 1, 20131 Min Read ConfigMgr (SCCM)
    Share
    Facebook Twitter LinkedIn Reddit

    How to add link URL or shortcut file to users desktop profile ? Easiest way to accomplish this task is with GPO(Group policy Object).

    If you want to accomplish this task using Configuration manager(SCCM),you can create simple VB script that does this job.

     

    Option Explicit
    dim path
    path=CreateObject(“WScript.Shell”).ExpandEnvironmentStrings(“%UserProfile%\desktop“)
    dim objFSO
    set objFSO=CreateObject(“Scripting.FileSystemObject”)

    If objFSO.FileExists(path & (“\eskonr.url“)) = False Then

    objFSO.CopyFile “\\servername\folder name\eskonr.url“, path & “\”

    end if

    Full Details http://social.technet.microsoft.com/Forums/en-US/configmgrswdist/thread/ba1647a1-0385-48a9-9e83-1fc5daa00976/#e9d4f330-500e-45db-b3e1-5e3954f50ea4

    "%UserProfile%\desktop" Add Shortcut to Users desktop configuration Manager desktop profile Favourites GPO SCCM VB Script
    Share. Twitter LinkedIn Email Facebook Reddit

    Related Posts

    SCCM PXE Boot Issue could not find boot image – abortpxe.com

    July 30, 2026

    Automating Cleanup of Disconnected RDP Sessions on Windows Servers Using PowerShell

    June 29, 2026

    Export the List of Products from the Software Update Point (SUP) in SCCM Using SQL Query

    November 8, 2025
    Leave A Reply Cancel Reply

    Support

    Awards

    Archives
    • Home

    © Copyright 2009-2025 Eswar Koneti, All rights reserved.

    Type above and press Enter to search. Press Esc to cancel.