

- #Create desktop shortcut for outlook in windows 10 install
- #Create desktop shortcut for outlook in windows 10 windows 10
- #Create desktop shortcut for outlook in windows 10 Pc
- #Create desktop shortcut for outlook in windows 10 download
Open This PC with a Hotkey or Shortcut Key
#Create desktop shortcut for outlook in windows 10 windows 10
Pin My Computer to the Taskbar on Windows 10 Create This PC Shortcut Shortcut on your Desktop Settingįile or folder exists “%PUBLIC%\Desktop\cmd. It’s basically the same set-up for the application part as for the user’s desktop shortcut except that we can leverage on Intune’s built-in detection rules to detect the shortcut on the allusers (public) desktop. To create a shortcut on the allusers desktop I will show you the example for the cmd app. Here’s a little gif which covers the Intune part step by step:Ĭreate a shortcut on the allusers desktop Make sure to change the $shortcutName variable in the detection script to match your shortcut display name (without file ending).
#Create desktop shortcut for outlook in windows 10 install
Make also sure to change the Install behavior to User because the Intune management extension needs to be in the user context to access ones users personal desktop. We call Powershell from the sysnative path otherwise we only have a PowerShell x86 environment which doesn’t get along with environment variables. %windir%\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -file "RemoveDesktopIcon.ps1" -ShortcutDisplayName "cmd" %windir%\sysnative\windowspowershell\v1.0\powershell.exe -ExecutionPolicy Bypass -file "CreateDesktopIcon.ps1" -ShortcutTargetPath "cmd" -ShortcutDisplayName "cmd" To create a shortcut on the user’s personal desktop I will show you an example for a “cmd” shortcut.Ĭreate a new Win32 app in Intune and upload the “CreateDesktopIcon.intunewin” you downloaded from my GitHub repository or wrapped by yourself.Ĭonfigure the program settings and specify the parameters for the shortcut creation depending on your needs. Intune Win32 app configuration Create a shortcut on the users personal desktop Optional: WorkingDirectory for the shortcut Optional: Additional command line arguments for the shortcut Optional: Custom icon file for the shortcut (URL, UNC) Optional: Create start additional start menu shortcut Target path for your shortcut (URL, UNC) (file/folder) The PowerShell script supports the following command line parameters: Parameter
#Create desktop shortcut for outlook in windows 10 download
You can also wrap the scripts by yourself by using the IntuneWinAppUtil.exe available as download here. You can find a prepackaged Intune Win32 app file of the “CreateDesktopIcon.ps1” script on my GitHub repository available for download. Based on the Win32 app configuration the shortut get’s either created on the users personal desktop or on the allusers desktop. In order to work with the redirected desktop to OneDrive with Known Folder Move we can take advantage of the ::GetFolderPath("Desktop") method to resolve the desktop location. This adds possibility to detect the presence of the shortcut and if required to uninstall it with Intune.
