Page 1 of 1
[SOLVED] WAPT agent with sysprep
Published: August 1, 2019 - 11:56
by Cnom75017
Hello,
what steps should be taken on the agent before running sysprep on Windows 10?
Thank you for your feedback.
Regards.
Re: WAPT agent with sysprep
Published: August 6, 2019 - 09:52
by agauvrit
- Stop the WAPT service: net stop waptservice
- Delete the file: C:\Program Files (x86)\wapt\db\waptdb.sqlite
- Delete the files and subfolders in C:\Program Files (x86)\wapt\private\
in a *.bat file to be run before your sysprep
Code: Select all
net stop waptservice
del /f /q "C:\Program Files (x86)\wapt\db\waptdb.sqlite"
del /f /q "C:\Program Files (x86)\wapt\private\*"
Re: WAPT agent with sysprep
Published: September 4, 2019 - 7:40 PM
by erickeke
I was wondering if it wouldn't be better to just run `wapt-get reset-uuid` followed perhaps by `wapt-get register`.
Because if we delete the database, we delete the history of installed packages:
if we add dependencies back to the machine, it will download them and try to reinstall them unnecessarily.
But at the same time, with your method, if we modify packages afterward, we won't automatically push them to those machines, and that might be a good thing too.
Re: WAPT agent with sysprep
Published: September 11, 2019 - 12:06 PM
by erickeke
I'm replying to myself, it worked. By doing wapt-get reset-uuid followed by wapt-get register.