WAPT package cleaning

Share your tips or issues concerning the WAPT Console or WAPT Agent here
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Answer
Mikael_S
Messages: 26
Registration: Apr 25, 2023 - 11:57

November 10, 2023 - 2:00 PM

WAPT Server version: 2.4.0.14143
WAPT Agent version: 2.4.0.14143

Hello,

We use MDT for image management of our workstations. When we recreate workstations, we retrieve the packages previously installed on those machines. Is there a way to automatically purge these dependencies?
User avatar
vcardon
WAPT Expert
Messages: 278
Registration: Oct 06, 2017 - 10:55 p.m.
Location: Nantes, France

November 10, 2023 - 9:43 PM

Hi Michael,

WAPT is here to help you think about new methods, like putting towels on the left and dishcloths on the right.

With WAPT, there's no need to overload the image with anything other than a clean Windows ISO because with WAPT you can immediately install anything you want beyond just the ISO.
Vincent CARDON
Tranquil IT
Mikael_S
Messages: 26
Registration: Apr 25, 2023 - 11:57

November 13, 2023 - 11:42

Hello,
my question was more along the lines of how packages were installed on the machine during its use. The goal is to remove these dependencies from the machine so it can be used for something else.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

November 13, 2023 - 12:32

If I understand correctly, you want to forget all the WAPT packages.

In your case, the simplest solution in the command prompt is to stop the WAPT service,

then run `C:\Program Files (x86)\wapt\db\waptdb.sqlite`,

and then restart the service.

But I don't really see the point.

Or perhaps I misunderstood, and it's simply the machine package that reinstalls all the dependencies?

In that case, you need to remove this machine package via the WAPT console.
Mikael_S
Messages: 26
Registration: Apr 25, 2023 - 11:57

November 13, 2023 - 1:55 PM

Yes, it's about removing all the packages that this machine depends on, as if we were deleting the post from the WAPT console and starting from scratch.
Answer