Forum Discussion
Jesse13579
Jan 09, 2024Brass Contributor
Intune installed desktop shortcut needs to be removed
I created a desktop shortcut via intune windows app (win 32). Here is my script New-Item -Path "c:" -Name "mem" -ItemType "directory" -Force Copy-Item "S:\Shortcuts\UKG.ico" -Destination "c:\mem...
- Jan 11, 2024The detection is OK if you want the shortcut removed. You must assign a group to Uninstall the program, and it will run the uninstall script. The detection will check again to see if the file is still there. If not, The removal of the shortcut should be complete.
What does your uninstall command line look like? It should be powershell.exe -Executionpolicy Bypass -File .\uninstall.ps1
Jesse13579
Jan 10, 2024Brass Contributor
I’m new with intune. How do I go about running it as a system?
Jan 10, 2024
Jesse13579 When you add an Intunewin app to Intune, you can select the Installation behavior to be System or User.