A bit of a hack but this one may help.
https://www.stephenwagner.com/2020/01/31/disk-cleanup-on-windows-server-2019-server-core-edition/
--please don't forget to Accept as answer if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi everyone!
Do I have to install any feature on W2K19 CORE to have 'cleanmgr.exe' tool available?
C:\>cleanmgr
'cleanmgr' is not recognized as an internal or external command,
operable program or batch file.
Thanks
A bit of a hack but this one may help.
https://www.stephenwagner.com/2020/01/31/disk-cleanup-on-windows-server-2019-server-core-edition/
--please don't forget to Accept as answer if the reply is helpful--
@Doria
Hi,
Two files are required for Disk Cleanup:
cleangmgr.exe
cleanmgr.exe.mui
You can source the files from other servers (preferably running the same version of Windows Server).
Once you’ve located the files move them to the following locations:
Copy Cleanmgr.exe to %systemroot%System32.
Copy Cleanmgr.exe.mui to %systemroot%System32en-US.
Hope above information can help you.
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Yes, it was helpful.
Thanks.