Hi, i'm using PatchCleaner to automate the clearing of the Windows Installer folder on our Windows 10 machines. I'm using it with the /d switch but cannot get it to output the results to a log file. I've tried various re-direction streams and combinations but it never outputs anything to the file. For example:
patchcleaner /d > test.log
The results is always presented on the screen output and the test.log is always empty.
I think this is also causing an additional problem, when I remotely deploy it using SCCM or PSexec (using SYSTEM), the process patchcleaner.exe never gracefully terminates even though I can see it has cleaned up the Windows Installer folder and stopped consuming CPU but for some reason it leaves the trailing process. It doesn't do this when run locally, the process always disappears when finished. I think it is getting stuck outputting the results on a hidden console.
Any help is appreciated. Thanks
Last edit: Yaskar 2018-09-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, i'm using PatchCleaner to automate the clearing of the Windows Installer folder on our Windows 10 machines. I'm using it with the /d switch but cannot get it to output the results to a log file. I've tried various re-direction streams and combinations but it never outputs anything to the file. For example:
The results is always presented on the screen output and the test.log is always empty.
I think this is also causing an additional problem, when I remotely deploy it using SCCM or PSexec (using SYSTEM), the process patchcleaner.exe never gracefully terminates even though I can see it has cleaned up the Windows Installer folder and stopped consuming CPU but for some reason it leaves the trailing process. It doesn't do this when run locally, the process always disappears when finished. I think it is getting stuck outputting the results on a hidden console.
Any help is appreciated. Thanks
Last edit: Yaskar 2018-09-03