Installing Disk Cleanup (cleanmgr.exe) Server 2008 and Server 2012

It’s annoying that Disk Cleanup (Cleanmgr.exe) is no longer installed by default. You can install Disk Cleanup by installing the Windows Desktop Experience – but, there is another, less annoying way…

Server 2012

copy C:WindowsWinSxSamd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.2.9200.16384_none_c60dddc5e750072acleanmgr.exe %systemroot%System32

copy C:WindowsWinSxSamd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.2.9200.16384_en-us_b6a01752226afbb3cleanmgr.exe.mui %systemroot%System32en-US

Server 2008 R2 (x64)

copy C:Windowswinsxsamd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.1.7600.16385_en-us_b9cb6194b257cc63cleanmgr.exe.mui %systemroot%System32En-US

copy C:Windowswinsxsamd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.1.7600.16385_none_c9392808773cd7dacleanmgr.exe %systemroot%System32

Server 2008 (x64)

copy C:Windowswinsxsamd64_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_b9f50b71510436f2cleanmgr.exe.mui %systemroot%system32en-us

copy C:Windowswinsxsamd64_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_c962d1e515e94269cleanmgr.exe %systemroot%System32

Server 2008 (x32)

copy C:Windowswinsxsx86_microsoft-windows-cleanmgr.resources_31bf3856ad364e35_6.0.6001.18000_en-us_5dd66fed98a6c5bccleanmgr.exe.mui %systemroot%System32En-US

copy C:Windowswinsxsx86_microsoft-windows-cleanmgr_31bf3856ad364e35_6.0.6001.18000_none_6d4436615d8bd133cleanmgr.exe %systemroot%System32

Now go to Run and type cleanmgr.exe

cleanmgr.exe

You will now see Disk Cleanup run.

Disk Cleanup

Unfortunately on Windows 2012 R2 you must install the Windows Desktop Experience.

2 thoughts on “Installing Disk Cleanup (cleanmgr.exe) Server 2008 and Server 2012”

  1. Draq 发表于2012年02月21日 19:30上个体验版没有解决这个问题,也没人联系我,我就想知道你们到底在干什么。就因为这个体验版,我装上去后在覆盖正式版的都运行不起来,最后卸载了,把文件都删了才装上正式版的,我的设置皮肤都没了,你们敢有个回答吗?我交年费就换来这服务?广告都还没说你们的事呢。我再发一遍,诺顿安全特警2012正式版报的警,我买的正版激活码,别说是用的破解杀毒软件完整路径: c:program files (x86)common filesthunder neowtrktpver11.1.2.101_1111minizip.dll威胁: WS.Reputation.1________________________________________________________在电脑上的创建时间 不可用上次使用时间 2012/2/17 ( 12:52:03 )启动项目 否已启动 否________________________________________________________未知诺顿社区中使用此文件的用户数量: 未知____________________________未知此文件版本当前未知。____________________________中此文件具有中等程度风险。____________________________威胁详细信息威胁类型: 智能网络威胁。 很多迹象表明此文件不可信任,不安全________________________________________________________文件操作文件: c:program files (x86)common filesthunder neowtrktpver11.1.2.101_1111minizip.dll已删除____________________________文件指纹 – SHA:e612f29d671235b5d83bc9701390d659001a22a4b43261d6e8e59d8237ceb665____________________________文件指纹 – MD5:45e651145bf7880cccb640bf8a2bf8ff____________________________完整路径: c:program files (x86)common filesthunder neowtrktpver11.1.2.101_1111zlib1.dll威胁: WS.Reputation.1________________________________________________________在电脑上的创建时间 不可用上次使用时间 2012/2/17 ( 12:52:59 )启动项目 否已启动 否________________________________________________________未知诺顿社区中使用此文件的用户数量: 未知____________________________未知此文件版本当前未知。____________________________中此文件具有中等程度风险。____________________________威胁详细信息威胁类型: 智能网络威胁。 很多迹象表明此文件不可信任,不安全________________________________________________________文件操作文件: c:program files (x86)common filesthunder neowtrktpver11.1.2.101_1111zlib1.dll已删除____________________________文件指纹 – SHA:a25fbe3d11e9a386dd88829d1ef37b7c0b26ce2943b9734b67d7021d2c09d2c1____________________________文件指纹 – MD5:bf9275314e9dd2ef1a65e9240b7b49d7____________________________完整路径: c:program files (x86)common filesthunder neowtrktpver11.1.2.101_1111libexpat.dll威胁: WS.Reputation.1________________________________________________________在电脑上的创建时间 不可用上次使用时间 2012/2/17 ( 12:55:16 )启动项目 否已启动 否________________________________________________________未知诺顿社区中使用此文件的用户数量: 未知____________________________未知此文件版本当前未知。____________________________中此文件具有中等程度风险。____________________________威胁详细信息威胁类型: 智能网络威胁。 很多迹象表明此文件不可信任,不安全________________________________________________________文件操作文件: c:program files (x86)common filesthunder neowtrktpver11.1.2.101_1111libexpat.dll已删除____________________________文件指纹 – SHA:353e7be5cfa58f86d35cd146aef08982a807224ec67c56ab49d5de9a77ef24ed____________________________文件指纹 – MD5:91741355fd2ce25ddef5c6318769471c____________________________希望你们查明是怎么回事。QQ:2709****||

  2. I was able to get cleanmgr running on 2012R2 without installing Desktop Experience:
    – install DE on a test-vm
    – grab above mentioned files and additional DLL: scavengeui.dll+scavengeui.dll.mui
    – copy to 2012R2 w/o DE in appropriate folders (see above)
    – register dll: “regsvr32 c:\windows\system32\scavengeui.dll”
    – run cleanmgr.exe

    when executing with sageset switch there are still some options missing but at least you can choose to purge the Windows Update files. I tested it and it worked…

Leave a Reply