Hi all, I was testing for deploying a Windows Server 2022 Datacenter with SQL Server 2019 CU12 and I was not able to install SQL Server, got many different errors during install. Just to let you know. I need to investigate further more but thought it would be for interest for anyone.
Just as the first LCU of 19044 EnterpriseS is 19041.1149, perhaps Microsoft will support ServerSolution in subsequent updates. But the premise is that they really plan to release Server 2022 Essentials?
Did you slipstream CU12 into initial SQL2019 image? Microsoft confirmed that SQL2017 & SQL2019 would be supported on WS2022. Neither CU12, nor CU25 yet announced that support. Anyway, slipstreaming is a must.
Hi, yes.. by slip streaming.. I thought maybe to just try RTM, as it seemed to me that probably the patch was failing, but realized it was meaningless. With Windows Server 2019 no problems occurred during my initial tests with several installs, and with Windows Server 2022 I had several different errors at different processes, so my young me should listen this time to my old me, remembering to wait a prudential time to let Server Software settle down until even thinking to test anything for production.
Windows Server 2022 pkeyconfig.xrm-ms holds OEM:SLP enties, example: Code: <Configuration> <ActConfigId>{716317e3-9177-41f8-a772-361050bb1b7f}</ActConfigId> <RefGroupId>4539</RefGroupId> <EditionId>ServerStandard</EditionId> <ProductDescription>Windows Server 2021 RTM ServerStandard OEM:SLP</ProductDescription> <ProductKeyType>OEM:SLP</ProductKeyType> <IsRandomized>false</IsRandomized> </Configuration> Funny it says "Windows Server 2021" instead of "Windows Server 2022" Let the hunt for a SLIC 2.6 begin!
No issues here. Tested with Server 2022 Datacenter Eval (20348.202) and SQL Server 2019 Dev Ed from Eval Center. No issues. Then installed CU12. Done with no issues.
hi @Enthousiast / everyone is there any guide or something available to slim down Server 2022 (or Server 2019) to bare minimum to run it inside a virtual machine. I like to use it for remote desktop, any desk etc... only. Compared to Windows 11, Server 2022 runs smoother already but if possible, I would like to strip it down further. Many thanks in advance.
I think i am the least person in line to advise on chopping an OS, being the devils advocate about it being a bad thing to do
Oh okay... I just thought you might know Usually I don't mess with defaults either but this is kinda "single purpose VM" (to connect to remote PCs). I did disable few services but was interested to know if there's more that can be disabled / stripped. Thanks a lot.
With dism you can delete everything from wim except: Server-Shell --- removal will destroy system NetFx4ServerFeatures --- removal will break the work of the entire system NetFx4 --- removal will break the work of the entire system Server-Gui-Mgmt --- removal will break the work some system parts Server-Gui-Mgmt_onecore --- disabled by default but can not be removed Microsoft-Windows-MultiPoint-Connector --- enabled by default and can not be removed Microsoft-Windows-PhotoBasic --- enabled by default and can not be removed Microsoft-Windows-Printing-PremiumTools --- enabled by default and can not be removed Microsoft-Windows-StorageService --- enabled by default and can not be removed This command will show all features (disabled features still take space): Dism /Image:X:\image_path /Get-Features This command just disable feature: Dism /Image:X:\image_path /Disable-Feature /FeatureName:XXXXXXXXXX This command disable feature and remove it completely from wim: Dism /Image:X:\image_path /Disable-Feature /FeatureName:XXXXXXXXXX /Remove Everything else can be removed to reduce the size of the system. But look carefully what you want to leave the features for your goals. Removing some of the features associated with printers may break the integrity of the system. Dont worry. After removing all unnecessary features, simply execute a command to restore the system integrity: sfc /SCANNOW /OFFBOOTDIR=X:\image_path /OFFWINDIR=X:\image_path\windows ---------------------------------------------------------------------------------------------------------------------------------------- With Dism /Image:X:\image_path /Get-Capabilities you can look at all capabilities and remove all you do not need. This command remove completely capability from wim: Dism /Image:X:\image_path /Remove-Capability /CapabilityName:XXXXXXXXXXX DO NOT REMOVE ANY "Language.Basic~~~xx-XX~0.0.1.0" capabilities. ---------------------------------------------------------------------------------------------------------------------------------------- This will completely remove Edge browser from wim. reg load HKLM\OFFLINE X:\image_path\Windows\System32\Config\Software reg delete "HKLM\OFFLINE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge" /f reg delete "HKLM\OFFLINE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge Update" /f reg unload HKLM\OFFLINE set MntDir=X:\image_path del /f /q "%MntDir%\Windows\System32\config\systemprofile\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\Microsoft Edge*.lnk" 2>nul del /f /q "%MntDir%\Windows\System32\Tasks\MicrosoftEdgeUpdate*" 2>nul del /f /q "%MntDir%\Users\Public\Desktop\Microsoft Edge*.lnk" 2>nul del /f /q "%MntDir%\ProgramData\Microsoft\Windows\Start Menu\Programs\Microsoft Edge*.lnk" 2>nul attrib -I +R "%MntDir%\Users\Public\Desktop" attrib -I +R "%MntDir%\ProgramData\Microsoft\Windows\Start Menu\Programs" rd /s /q "%MntDir%\ProgramData\Microsoft\EdgeUpdate" 2>nul rd /s /q "%MntDir%\Program Files\Microsoft\Edge" 2>nul rd /s /q "%MntDir%\Program Files\Microsoft\EdgeUpdate" 2>nul rd /s /q "%MntDir%\Program Files (x86)\Microsoft\Edge" 2>nul rd /s /q "%MntDir%\Program Files (x86)\Microsoft\EdgeUpdate" 2>nul PS: Before compiling wim after "all cleaning" do not forget to execute the command (it is very important): Dism /Image:X:\image_path /Cleanup-Image /StartComponentCleanup /ResetBase