Close Menu
    Facebook X (Twitter) Instagram
    Sunday, October 12
    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 01, 1:13 pm1 Min Read ConfigMgr (SCCM) 2,633 Views
    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 SQL Report – Compare Installed Apps on TWO Different Computers

    July 13, 10:35 am

    Optimize Your Intune Workflow with a Powerful Browser Extension

    March 22, 10:39 am

    Migrate Microsoft 365 Updates from SCCM/MECM to Intune for Co-Managed Devices

    February 11, 9:50 pm

    Leave a ReplyCancel reply

    This site uses Akismet to reduce spam. Learn how your comment data is processed.

    Sign Up

    Get email notifications for new posts.

    Author

    I’m Eswar Koneti ,a tech enthusiast, security advocate, and your guide to Microsoft Intune and Modern Device Management. My goal? To turn complex tech into actionable insights for a streamlined management experience. Let’s navigate this journey together!

    Support

    Awards

    Archives

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

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