Microsoft‎ > ‎Servers‎ > ‎

addShortcut

create vbs file:

set WshShell = WScript.CreateObject("WScript.Shell" )
strDesktop = WshShell.SpecialFolders("Desktop" )
set oShellLink = WshShell.CreateShortcut(strDesktop & "\AppsName.lnk" )
oShellLink.TargetPath = "B:\Apps\apps.exe"
oShellLink.arguments = "if you need any"
oShellLink.WindowStyle = 1
oShellLink.IconLocation = "B:\Apps\apps.exe"
oShellLink.Description = "Apps Name"
oShellLink.WorkingDirectory = "B:\Apps"
oShellLink.Save


and add file.vbs in logon script ( GroupPolicy )
Comments