Scripting Question

Interactive software uninstall in SCCM

01/07/2016 2340 views

Hi all,


I have to uninstall a software on all our computers (2000+) but the uninstall has to be interactive.

The reason for this is because after that particular software is removed many programs stop working (Citrix applications, IE, Google Chrome, etc...)

If I deploy the uninstall script silently the software is removed but users will start calling our helpdesk because all these programs will stop working.

And I want to prevent them from losing unsaved files opened on the network.


I have created a HTA file and a VBS script with information presented to user.

User can choose to postpone the uninstall 5x or to uninstall immediately.

If postponed 5 times the uninstall is forced.


The HTA file + script work flawlessly if ran manually and user is local administrator.


I was planning to deploy a scheduled task with SCCM that will run the HTA file at logon with the SYSTEM account because non of our users is local admin.

The Scheduled Task would run after every logon and would execute the HTA file asking for user interaction.

Problem is that when running something with the SYSTEM account it is not presented on the desktop.

The process is running but it is not interactive. You don't see it.

Is there any way to make an interactive uninstall application with SCCM?


Thank you

0 Comments   [ + ] Show comments


All Answers

have you had a look at the PS AppDeploymentToolkit? It has allot of what you need built into it. Also, regarding the interactive de-install, you could prevent the users starting the applications that cause problems until the nwe version of what you want to replace is on the box...



Answered 01/08/2016 by: Pressanykey
Red Belt

Hi Phil,

I'll check PS AppDeploymentToolkit out.
I know it but I forgot it existed :)

Answered 01/08/2016 by: dinci5
Senior White Belt

What about uninstall when no user is logged on to the machine?
Answered 01/08/2016 by: dedenker
3rd Degree Black Belt

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ