Hi,
Thank you for posting in Microsoft Q&A forum.
Per my experience, you can try Windows GPO to prevent users from uninstalling applications. Windows GPO can be used to limit access to particular features and applications. You can manage the windows OS through GPO including the installation and uninstall of application. Launch the GPO editor and search for procedures pertaining to the installation and uninstall of software. You can limit the use of certain windows installer components or prohibit access to particular control Panel items.
Thanks for your time. Have a nice day!
Best regards,
Simon
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.