Removing blacklisted applications on windows with scriptsSolved

Participant
Discussion
3 years ago

Hi, Hexnode allows us to blacklist apps on Windows but we need to be able to uninstall the unnecessary apps on the device. Is there a way to so this?

Replies (3)

Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

@Ulrika, for Windows, with Hexnode, I think there is no easy way to do this as of now. Hope Uninstall application feature is gets added for windows too.

Marked SolutionPending Review
Hexnode Expert
3 years ago
Marked SolutionPending Review

@Ulrika, If you’re looking to remove specific applications on a Windows device from Hexnode, you could do that with the Execute Custom Scripts feature for Windows. Of course, it won’t be that easy as selecting the application from a list and pressing a button, but it should achieve your wanted result.

With scripts, you can remove both Windows Store apps and enterprise apps on your endpoints. To get started, note the ‘App package name’ or ‘path to the app MSI” of all the apps you want to remove from the device.

You can fetch the app package name by running this command from the PowerShell terminal on the endpoint or running a remote script (use ‘.ps1’ extension) from Hexnode –

Replace ‘UserName’ with the user name to obtain an account- specific list or use –AllUser in place of -User to get the app package names of all users.

Once, you have done that, use the instructions on the below links to prepare the script –

Script to uninstall Windows Store apps
Script to uninstall Enterprise apps

After you’ve saved the script, you can deploy the script from Manage > Devices by selecting Actions > Execute Custom Script.

You can find more scripts like this on Windows Sample Scripts Repository.

Hope you’ll find this helpful.

Cheers!
Zach Goodman
Hexnode UEM

  • This reply was modified 3 years, 2 months ago by  Zach.
  • This reply was modified 2 years, 8 months ago by  Jeff.
  • This reply was modified 2 years, 8 months ago by  Jeff.
Marked SolutionPending Review
Participant
3 years ago
Marked SolutionPending Review

I appreciate the answers. The scripts could be of use. Thanks ..