RMM Scripts

How to create a shortcut to a Windows application on the desktop using VBScript
3 (2)

Below is the script we use to create a shortcut to our portal in our RMM.  This can be modified to suit your needs. SET fso = Wscript.CreateObject(“Scripting.FileSystemObject”) SET WshShell = WScript.CreateObject(“WScript.Shell”) WinDir = WshShell.ExpandEnvironmentStrings(“%WinDir%”) strDsk = “C:\Users\Public\Desktop” strshortcut = strDsk & “\Portal.lnk” If Not fso.FileExists(strshortcut) Then     SET oUrlLink = WshShell.CreateShortcut(strshortcut)     […]