Page 1 of 1
[SOLVED] Unable to remove a deployed package
Published: February 15, 2024 - 6:10 PM
by chris2b
Hello,
I have a small problem that I can't seem to solve, and it's driving me crazy.
A shutdowndaily package has been deployed on my WAPT server.
This package is deployed on all my workstations.
I'm trying to get rid of this scheduled task on the server, but to no avail.
I've uninstalled the server agent and deleted the task, but it reappears every time the server restarts, and as a result, the server is shut down every morning.
What can I do?
Thank you.
WAPT version: 2.5.3.15292
Windows 2019 Standard
Re: Unable to remove a deployed package
Published: February 16, 2024 - 10:30 AM
by dcardon
Hello Christophe,
The tis-schedule-force-shutdown-daily package [1] creates a scheduled task (and deletes it if the package is properly uninstalled). However, if it was simply forgotten, the task should still be on the machine (it uses the Windows task scheduler, not the WAPT one). You can check the Task Scheduler to see if you have something like ShutdownForceDaily.
If the package is a dependency (on an OU, for example), it will reappear even if it has been removed.
Best regards,
Denis
[1]
https://wapt.tranquil.it/store/en/tis-s ... down-daily
Re: Unable to remove a deployed package
Published: February 16, 2024 - 10:49 AM
by chris2b
That's where my problem lies.
I deleted the task from the Task Manager, uninstalled the WAPT agent from the server, and removed the machine from the WAPT console.
Once that was done, I restarted the server, and everything reappeared. I don't understand why or how.
I'm going to try the steps again to see if that helps, but I've been struggling with this for 10 days now.
Re: Unable to remove a deployed package
Published: February 16, 2024 - 12:37 PM
by dcardon
Hi again Christophe,
there's probably a GPO deployment per scheduled task for the agent and a package dependency (per OU, per profile, or other) that automatically downloads the package afterward...
Denis
Re: Unable to remove a deployed package
Published: February 19, 2024 - 10:57 AM
by chris2b
Hello,
Yes, I just realized that my packages are actually being deployed to the domain OU, so it's redeploying them every time.
I'll do it differently: I've removed the package from the OU, and when I add new machines, I'll deploy the package directly to the machines, not through the OU.
Problem solved.
Thank you!
Re: Unable to remove a deployed package
Published: February 19, 2024 - 10:59 AM
by dcardon
Hi Christophe,
thanks for the feedback.

I'm marking the topic as RESOLVED.
Denis