NTLite Unable to create image after attempting first with Windows Defender Error 16389

eneerge

New Member
I've had this issue for as long as I can remember. Anytime I attempt to ntlite an image while Defender is on, the image creation will fail with error 16389. Afterwards, even if I disable Defender, no image will ever finish with the same 16389 error.
In addition, if I run Dism manually, it doesn't run properly - Just running dism /? will just sit at the command prompt forever and it will not even produce the help file. The worst issue is that it seems unfixable. Rebooting doesn't help. Clearing temp files doesn't help. sfc /scannow doesn't work. The only way I can get it back working is if I reinstall Windows completely.
I've had this issue on multiple machines at least a couple dozen times throughout the past couple years. I just recently reinstalled Windows yesterday, but now my DISM is completely nonfunctional because I tried creating an image with Defender enabled. The reason I did this is because I'm using Intune which has enforced Defender be enabled. Now it looks like I'm going to have to reinstall Windows again to get this working again.

This has been sitting at this for about 5 minutes. I think this explains why ntlite keeps failing, also. However, this only happened after I tried to ntlite an image while Defender was running.
1634058452914.png
 
2021-10-11 13:56:16, Error DISM DISM Appx Provider: PID=6744 TID=9428 onecore\admin\appmodel\utilities\provisionhelper\msixpackageadapter.cpp(1352)\AppxProvider.dll!00007FFF11163319: (caller: 00007FFF1115A0FF) ReturnHr(1) tid(24d4) 80070003 The system cannot find the path specified.
Msg:[Failed to open 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_1c83a5d7cffd7bff\NVCPL\ae77e77173194a49a821b5e77adec059.appx'.]
- CAppxManager::ResultLoggingCallback
2021-10-11 13:56:16, Error DISM DISM Appx Provider: PID=6744 TID=9428 onecore\admin\appmodel\utilities\provisionhelper\msixprovisioningrequest.cpp(647)\AppxProvider.dll!00007FFF1115A23E: (caller: 00007FFF1115DE87) ReturnHr(2) tid(24d4) 80070003 The system cannot find the path specified.
Msg:[Failed to create adapter for 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_1c83a5d7cffd7bff\NVCPL\ae77e77173194a49a821b5e77adec059.appx'.]
- CAppxManager::ResultLoggingCallback
2021-10-11 13:56:16, Error DISM DISM Appx Provider: PID=6744 TID=9428 onecore\admin\appmodel\utilities\provisionhelper\msixprovisioningmanager.cpp(920)\AppxProvider.dll!00007FFF1115DEBB: (caller: 00007FFF111389B7) ReturnHr(3) tid(24d4) 80070003 The system cannot find the path specified.
Msg:[Failed to add package 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_1c83a5d7cffd7bff\NVCPL\ae77e77173194a49a821b5e77adec059.appx' to adapter set for processing.]
- CAppxManager::ResultLoggingCallback
2021-10-11 13:56:16, Error DISM DISM Appx Provider: PID=6744 TID=9428 Failed to initialize package set - CAppxManager::AddAllUserAppxPackageWithOptionalPackagesAndRegionAndStubPackageOption(hr:0x80070003)
2021-10-11 13:56:16, Error DISM DISM Appx Provider: PID=6744 TID=9428 Failed to add Appx package - CAppxManager::processCommandAddAllUserAppxPackage(hr:0x80070003)
2021-10-11 13:56:16, Error DISM DISM Appx Provider: PID=6744 TID=9428 Failed processing command to add Appx package - CAppxManager::ExecuteCmdLine(hr:0x80070003)
 
Reinstalling windows again. I don't know why it won't work. Tried clearing everything with CCleaner, Nirsoft CleanAfterMe. Reviewed logs didn't see anything. Used disk cleanup, etc. Reinstalling is the only thing that works.
 
Back
Top