Kaseya Community

Script to create program Desktop Icon

  • Hello,

    I'm new to the scripting usage for kaseya. We have a client who's program doesn't automatically create a desktop Icon. I would like to get a script made to put a shortcut on the desktop for all users. The only catch is that the systemdrive is not always the C:\. Any help would be greatly appreciated.

    Thanks

    Legacy Forum Name: Script to create program Desktop Icon,
    Legacy Posted By Username: rhardwick@cnwi.net
  • rhardwick@cnwi.net
    Hello,

    I'm new to the scripting usage for kaseya. We have a client who's program doesn't automatically create a desktop Icon. I would like to get a script made to put a shortcut on the desktop for all users. The only catch is that the systemdrive is not always the C:\. Any help would be greatly appreciated.

    Thanks


    you could use the environmental variable %systemdrive%

    Legacy Forum Name: How-To,
    Legacy Posted By Username: thirteentwenty
  • thirteentwenty
    you could use the environmental variable %systemdrive%


    You can also go directly to the profile:

    %USERPROFILE%\Desktop\ShorcutToApp.lnk

    or

    %ALLUSERSPROFILE%\Desktop\ShortcutToApp.lnk

    Legacy Forum Name: How-To,
    Legacy Posted By Username: CeruleanBlue