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

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
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

Leave a Reply