You cannot set and forget. Production scrubbing requires observability.
You need to tell the setup engine what to scrub. Create a new text file named remove.xml in the same folder as setup.exe . Paste the following code, which targets the most common enterprise product: setup prod offscrub
Let’s execute the actual setup prod offscrub . We’ll use a realistic example: scrubbing temporary folders and known malware remnants on a Windows Server 2022 hosting IIS and SQL Server. You cannot set and forget
C:\ProdTools\OffScrub\msert.exe /Q /F:Y /Path "C:\" /Simulate /Config offscrub_config.prod.txt setup prod offscrub
: Specifically targets issues like missing Teams add-ins or "Office is already installed" error loops.