1. Add it into target installation - both online and offline. 2. It's sticky for the Update until you remove it by Code: Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.14393.0] 3. It's used to mislead the Update only, nothing to do with SKU status.
How do i remove Datacenter and Datacenter (Desktop Experience) from Windows Server 2016 image with MSMG? Is it even possible? The root problem is that i can't fit server-image to a DVD because the size of it. I need a way to make it fit, and i was thinking maybe removing the datacenter.. but i don't know how. I tried to remove the basic crap from the image (Store, metro apps and all that) but i only made the image bigger Don't understand this, at all.
Have you removed those LaguageFeatures-Basic packages - except the one in your language. Code: Microsoft-Windows-LanguageFeatures-Basic-ar-sa-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-bg-bg-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-bn-bd-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-bn-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ca-es-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-cs-cz-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-da-dk-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-de-de-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-el-gr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-en-gb-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-es-es-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-es-mx-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-et-ee-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-eu-es-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-fi-fi-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-fr-fr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-gl-es-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-gu-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-he-il-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-hi-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-hr-hr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-hu-hu-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-id-id-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-is-is-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-it-it-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ja-jp-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-kn-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ko-kr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-lt-lt-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-lv-lv-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ml-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-mr-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ms-my-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-nb-no-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-nl-nl-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-nn-no-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-pa-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-pl-pl-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-pt-br-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-pt-pt-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ro-ro-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ru-ru-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-sk-sk-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-sl-si-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-sr-latn-rs-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-sv-se-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ta-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-te-in-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-th-th-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-tr-tr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-uk-ua-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-ur-pk-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-vi-vn-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-zh-cn-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-zh-hk-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-LanguageFeatures-Basic-zh-tw-Package~31bf3856ad364e35~amd64~~10.0.14393.0 And remove Windows\WinSxS\Backup and Windows\WinSxS\ManifestCache\*.bin in each image And, you can use any one \Windows\System32\Recovery\winre.wim for all 4 images. And remove ISO\sources\NanoServer if necessary. Finally, export 4 images to a new install.wim, or even smaller install.esd. Note: if install.esd, the setup files in ISO\sources can be removed with MSMG ToolKit, etc.
I don't know how to do them. I've browsed the menu of MSMG and i can't find anything useful. I've managed to remove these windows components only: Code: Default Metro Apps Association Adobe Flash For Windows Microsoft Hyper-V Microsoft Internet Explorer UI Windows Defender Server & AntiMalware Windows Manual Setup Feature Windows Store Client Microsoft Biometrics Microsoft Maps Microsoft Telemetry Services Microsoft Xbox & Gaming Windows Cortana & Search App Windows Embedded Features Windows Feedback App Windows Geo Location They were easy to remove, because they were under menu "[4] Remove" - which is pretty self-explanatory. Anything else .. i don't know how to do or where to find. Could you provide me a bit more detailed instructions of how to do those things you adviced me to do? I would be *Very* thankful.
OK. Allow me to do it once, and feedback. BTW, do you need the Core editions - no gui? (Index 1 and 3) 1 = StandardCore 2 = Standard (Desktop Experience) 3 = DatacenterCore 4 = Datacenter (Desktop Experience) Oh, no. The removal of AntiMalware for Server may cause the System malfunctional. (The same as IE main components.) Give it a go on VMware and you'll see what I mean.
I need just the Standard (Desktop Experience) - not others. I can do it again and not remove "Microsoft Internet Explorer UI" and/or "Windows Defender Server & AntiMalware"
Now things got cleared up. OK. 1. Microsoft Internet Explorer UI is OK to remove 2. Defender is OK to remove, but not AntiMalware So, let me have a think... How about... You remove everything you wish but Windows Defender Server & AntiMalware with MSMG ToolKit. And I make a script to remove the Defender and other things I mentioned. For Index 2 Standard (Desktop Experience) only. OK? BTW, do you use SSD? If so, don't remove Windows Embedded Features. I'll do it for you, and add ELM for management of UWF - to protect SSD, and hence the System.
The killer for SSD life is as such: 1. System Restore 2. Hybernation 3. Pagefile 4. Superfetch 5. Optimize Drive ... So, please remember... You need to configure the other settings before enabling UWF. OK? 1. Powercfg -h off 2. Set Pagefile to 0 3. Disable Superfetch Service (I am good at packges. not Group Policy settings and its related registries.) OK. Now I need to know what've been removed from Index 2 (Standard (Desktop Experience)). Please. I am so stupid. Life = Performance. Anyway, SSD dislikes writing. Or it die soon.
i've removed: Code: Default Metro Apps Association Adobe Flash For Windows Microsoft Hyper-V Microsoft Internet Explorer UI Windows Manual Setup Feature Windows Store Client Microsoft Biometrics Microsoft Maps Microsoft Telemetry Services Microsoft Xbox & Gaming Windows Cortana & Search App Windows Embedded Features Windows Feedback App Windows Geo Location
Default Metro Apps Association Adobe Flash For Windows Microsoft Hyper-V Microsoft Internet Explorer UI Windows Manual Setup Feature Windows Store Client Microsoft Biometrics Microsoft Maps Microsoft Telemetry Services Microsoft Xbox & Gaming Windows Cortana & Search App Windows Embedded Features Windows Feedback App Windows Geo Location I will do it for you - so I do not need to reinstall UWF packages and its Parent packages.
This the script: Code: @echo off pushd "%~dp0" dism /Cleanup-Wim set MT= set MT=MT set IMG= set IMG=(1,2,3,4) wimlib-imagex.exe extract 4.wim 4 \Windows\System32\Recovery --dest-dir="%~dp0\" for /d %%G in %IMG% do ( dism /Mount-Image /ImageFile:4.wim /Index:%%G /MountDir:%MT% call:CONVERT %%G ) for /d %%G in %IMG% do (dism /Export-Image /SourceImageFile:4.wim /SourceIndex:%%G /DestinationImageFile:install.wim /Compress:Max) :for /d %%G in %IMG% do (dism /Export-Image /SourceImageFile:4.wim /SourceIndex:%%G /DestinationImageFile:install.wim /Compress:Max) del /s /q 4.wim Rd /s /q Recovery echo. echo Finished echo. pause exit :CONVERT reg load HKLM\SOFT "%MT%\Windows\System32\config\software" >nul for /f %%i in ('findstr /i . List.txt 2^>nul') do ( reg add "HKLM\SOFT\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%i" /v Visibility /t REG_DWORD /d 1 /f reg delete "HKLM\SOFT\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%i\Owners" /f ) reg unload HKLM\SOFT for /f %%i in ('findstr /i . List.txt 2^>nul') do (dism /NoRestart /image:%MT% /Remove-package /Packagename:%%i) del /s /q %MT%\Windows\WinSxS\Backup del /s /q %MT%\Windows\WinSxS\ManifestCache if exist %MT%\sources rd /s /q %MT%\sources xcopy /E /I /H /R /Y /J Recovery %MT%\Windows\System32\Recovery dism /image:%MT% /cleanup-image /startcomponentcleanup /resetbase dism /Unmount-Image /MountDir:%MT% /Commit goto:eof
| WIM Index | WIM Arch | WIM Image Index Name =============================================================================== | 1 | x64 | Windows Server 2016 Standard | 2 | x64 | Windows Server 2016 Standard (Desktop Experience) | 3 | x64 | Windows Server 2016 Datacenter | 4 | x64 | Windows Server 2016 Datacenter (Desktop Experience) Yes, 2 in the index.
Yes. Do it with MSMG Toolkit and apply. Then I'll know what my part should be. I wish that I am with you, so... So easy in few words.
I've removed everything i needed to remove, and i've applied the source and Re-build the Source WIM images (6 => 3) and also Cleaned it up (8 => 1 => 9 => 2) I'm making the image now.
OK. Did you remove files in C:\Windows\WinSxS\Backup and C:\Windows\WinSxS\ManifestCache? Then export Index 2 to another install.wim. How big is it now? See you tomorrow.