(Solved) Is there a way to make image serviceable again? [Was a 3rd party file manager]

aviv00

Active Member
i modded windows 11 22h2 and removed defender with ntlite
im suspecting because i didnt remove the defender at start, it made it un serviceable so the installation wont complete


is there a way to restore this just to make the installation finish up

or skip that checking


thx for any suggestion
 
Removing Defender doesn't necessarily make an image uninstallable. We'd need the preset to understand your edits.
 
just defender security center

Removing Defender doesn't necessarily make an image uninstallable. We'd need the preset to understand your edits.
yes but i might over did it by remove defender after lots of manual modding

<?xml version="1.0" encoding="utf-8"?>
<Preset isAutoSaved="true" xmlns="urn:schemas-nliteos-com:pn.v1">
<Date>03/29/2023 22:00:45</Date>
<AppInfo>
<Version>2023.2.9145</Version>
<Licensed>Yes</Licensed>
<Protections>Yes</Protections>
<Host>Windows 10 Enterprise LTSC 2021 (21H2) x64 - 10.0.19044.1288 (en-US)</Host>
</AppInfo>
<ImageInfo>
<Version mode="offline">Windows 11 Home (22H2) x64 - 10.0.22621.1413 (en-US)</Version>
<GUID>535f8988</GUID>
</ImageInfo>
<RemoveComponents AppRemovalMode="DISM">
<c>Microsoft.SecHealthUI 'Windows Defender'</c>
<c>securitycenter 'Security Center'</c>
</RemoveComponents>
<Compatibility protectHidden="true">
<ComponentFeatures>
<Feature enabled="no">AppGuard</Feature>
<Feature enabled="no">YubiKey</Feature>
<Feature enabled="no">Bluetooth</Feature>
<Feature enabled="no">CapFrameX</Feature>
<Feature enabled="no">Discord</Feature>
<Feature enabled="no">FileSharing</Feature>
<Feature enabled="no">iCloud</Feature>
<Feature enabled="no">ManualSetup</Feature>
<Feature enabled="no">OfficeSupport</Feature>
<Feature enabled="yes">AppxSupport</Feature>
<Feature enabled="no">Netflix</Feature>
<Feature enabled="no">NetworkDiscovery</Feature>
<Feature enabled="no">NightLight</Feature>
<Feature enabled="no">NvidiaSetup</Feature>
<Feature enabled="yes">OOBE</Feature>
<Feature enabled="yes">Printing</Feature>
<Feature enabled="no">Recommended-All</Feature>
<Feature enabled="no">SamsungSwitch</Feature>
<Feature enabled="no">Scanning</Feature>
<Feature enabled="no">ServicingStack</Feature>
<Feature enabled="no">ShellSearchSupport</Feature>
<Feature enabled="no">Spotify</Feature>
<Feature enabled="no">SFC</Feature>
<Feature enabled="yes">DefaultFonts</Feature>
<Feature enabled="no">SafeMode</Feature>
<Feature enabled="no">TeamViewer</Feature>
<Feature enabled="no">Recommended-Tablet</Feature>
<Feature enabled="no">USBModem</Feature>
<Feature enabled="yes">USB</Feature>
<Feature enabled="no">VideoPlayback</Feature>
<Feature enabled="no">VPN</Feature>
<Feature enabled="no">VisualStudio</Feature>
<Feature enabled="no">VSS</Feature>
<Feature enabled="no">ActivationKMS</Feature>
<Feature enabled="yes">Activation</Feature>
<Feature enabled="yes">WindowsStore</Feature>
<Feature enabled="no">WindowsUpdate</Feature>
<Feature enabled="no">WLAN</Feature>
</ComponentFeatures>
<MachineDrivers>
<Machine enabled="yes">HostMachine</Machine>
<Machine enabled="no">Hyper-V VM</Machine>
<Machine enabled="no">Parallels VM</Machine>
<Machine enabled="no">Virtual Box VM</Machine>
<Machine enabled="no">VMware VM</Machine>
</MachineDrivers>
</Compatibility>
<Features></Features>
<Packages></Packages>
<Commands>
<PostUpdates>
<!--<Command>cmd /c echo Example from [MOUNTDIR]\Windows &amp; pause</Command>-->
<!--<Command>dism /image:[MOUNTDIR] /get-intl</Command>-->
</PostUpdates>
</Commands>
<Drivers showHidden="true"></Drivers>
<Tweaks>
<Settings></Settings>
<Services></Services>
<ExtraServices></ExtraServices>
<ScheduledTasks></ScheduledTasks>
</Tweaks>
<ApplyOptions>
<AutoIsoFile>NTLite.iso</AutoIsoFile>
<AutoIsoLabel>NTLite</AutoIsoLabel>
<AutoSplitSize>4000</AutoSplitSize>
<CleanHotfixedLeftovers>0</CleanHotfixedLeftovers>
<OptimizeAppX>false</OptimizeAppX>
<ReuseDriverCache>false</ReuseDriverCache>
</ApplyOptions>
<Execution>
<Remove></Remove>
<Change></Change>
<Add></Add>
</Execution>
<Registry></Registry>
</Preset>
 
i modded windows 11 22h2 and removed defender with ntlite
im suspecting because i didnt remove the defender at start, it made it un serviceable so the installation wont complete

A image can't be serviceable to restore components and never will.

You have the option "Host refresh" if you don't want to format but also you can rebuild the image and install as an upgrade.

I hope this could help you to fix what you need and clarifies your question.
 
the image just need to pass this test or command
and the setup will continue

maybe there a way to just let it think it serviceable
and have mb, more freedom when liting
C:\>dism /online /is-serviceable

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.19044.1288

The operation completed successfully.
D:\>dism /image:n:\ /is-serviceable

Deployment Image Servicing and Management tool
Version: 10.0.19041.844

Image Version: 10.0.22621.1413


Error: 87

The is-serviceable option is unknown.
 
Last edited:
Serviceable means the image format is compatible (as mounted folder or WIM file).
"DISM /online /is-serviceable" finishes in 0.5 seconds. Therefore it's not performing any real consistency checks.

I tried removing Defender & Security Center from a clean 22H2 Home ISO, it works fine.

Windows 10 x64-2023-03-29-20-11-47.png
 
aviv00, as suggested use Host Refresh to return components or fix servicability.
More info here.

As for serviceability, or DISM compatibility, make sure to always keep Servicing Stack compatibility enabled when removing components, it wasn't enabled in your preset above. More important is the preset before it, that we don't see.

And if you meant NTLite does not remove, then make sure not to remove Windows Component Database in prior sessions.
 
You can try to delete unserviceable value from wim registry
Code:
\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
require TrustedInstaller privileges
 
[HKEY_LOCAL_MACHINE\2\Microsoft\Windows\CurrentVersion\Component Based Servicing]
"ProcessorArchitecture"=dword:00000009
"EnableLog"=dword:00000001
"NextExecutionSequence"=dword:00000041
"LastMappingPackageCache"=dword:00000000
"LastModified_UTC"="2023/03/28/00:22:54"
"BuildBranch"="BuildBranchMacro"
"DisableRemovePayload"=dword:00000001
"EnableDpxLog"=dword:00000001
"FeatureCategory"="e104dd76-2895-41c4-9eb5-c483a61e9427"
"RepairCategory"="631f8288-2457-41f4-bb81-63df924ba94c"
"ExecuteState"=dword:ffffffff
"CountryCode"="US"
"DeviceInfoGatherSuccessful"=dword:00000001
"LCUReoffer"=dword:00000000
"LastResetBase_UTC"="2023/03/28/01:53:56"
"HangDetect"=dword:00000000
"LastProgress"=hex:ff,ff,ff,ff,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,\
00,00,00,00
"CanceledCurrentFailedTransaction"=dword:00000000
"SessionIdHigh"=dword:01d96118
"SessionIdLow"=dword:2a864ce8
"DoqTime"=dword:00000000
"DoqCount"=dword:00000000
"PoqTime"=dword:00000000
"PoqCount"=dword:00000000
"RptTime"=dword:00000000
"RptCount"=dword:00000000
"DisableWerReporting"=dword:00000001
doesnt seems to have this value
but when the installation is running the setup run the command
maybe it will just make the value again

btw i used winsetupNT for installation
easier i guess
 
Back
Top