Hey I'm getting an error whenever I try to run any dism commands. I was hoping someone could help me rectify it. The error code is 1114. Any help is appreciated. Command Prompt Output Spoiler C:\Windows\System32>dism /online /get-imageinfo Deployment Image Servicing and Management tool Version: 10.0.10586.0 Error: 1114 An initialization error occurred. For more information, review the log file. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log C:\Windows\System32> dism.log Spoiler 2017-03-06 10:29:27, Info DISM PID=5948 TID=6304 Scratch directory set to 'C:\Users\Kyle\AppData\Local\Temp\'. - CDISMManager:ut_ScratchDir 2017-03-06 10:29:27, Info DISM PID=5948 TID=6304 DismCore.dll version: 10.0.10586.0 - CDISMManager::FinalConstruct 2017-03-06 10:29:27, Info DISM PID=5948 TID=6304 Successfully loaded the ImageSession at "C:\Windows\System32\Dism" - CDISMManager::LoadLocalImageSession 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:27, Info DISM DISM Manager: PID=5948 TID=6304 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:27, Info DISM DISM.EXE: 2017-03-06 10:29:27, Info DISM DISM.EXE: <----- Starting Dism.exe session -----> 2017-03-06 10:29:27, Info DISM DISM.EXE: 2017-03-06 10:29:27, Info DISM DISM.EXE: Host machine information: OS Version=10.0.10586, Running architecture=amd64, Number of processors=4 2017-03-06 10:29:27, Info DISM DISM.EXE: Dism.exe version: 10.0.10586.0 2017-03-06 10:29:27, Info DISM DISM.EXE: Executing command line: dism /online /get-imageinfo 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Getting Provider FolderManager - CDISMProviderStore::GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Loading Provider from location C:\Windows\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:27, Info DISM DISM Provider Store: PID=5948 TID=6304 Connecting to the provider located at C:\Windows\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2017-03-06 10:29:27, Info DISM DISM Manager: PID=5948 TID=6304 physical location path: C:\ - CDISMManager::CreateImageSession 2017-03-06 10:29:27, Info DISM DISM Manager: PID=5948 TID=6304 Event name for current DISM session is Global\{AE04BA06-481C-4BA1-8BD6-AEE06CCBC209} - CDISMManager::CheckSessionAndLock 2017-03-06 10:29:27, Info DISM DISM Manager: PID=5948 TID=6304 Create session event 0x164 for current DISM session and event name is Global\{AE04BA06-481C-4BA1-8BD6-AEE06CCBC209} - CDISMManager::CheckSessionAndLock 2017-03-06 10:29:27, Info DISM DISM Manager: PID=5948 TID=6304 Copying DISM from "C:\Windows\System32\Dism" - CDISMManager::CreateImageSessionFromLocation 2017-03-06 10:29:35, Info DISM DISM Manager: PID=5948 TID=6304 Successfully loaded the ImageSession at "C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0" - CDISMManager::LoadRemoteImageSession 2017-03-06 10:29:35, Info DISM DISM Image Session: PID=4828 TID=9924 Instantiating the Provider Store. - CDISMImageSession::get_ProviderStore 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Initializing a provider store for the IMAGE session type. - CDISMProviderStore::Final_OnConnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Loading Provider from location C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0\OSProvider.dll - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Connecting to the provider located at C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0\OSProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2017-03-06 10:29:35, Info DISM DISM OS Provider: PID=4828 TID=9924 Defaulting SystemPath to C:\ - CDISMOSServiceManager::Final_OnConnect 2017-03-06 10:29:35, Info DISM DISM OS Provider: PID=4828 TID=9924 Defaulting Windows folder to C:\Windows - CDISMOSServiceManager::Final_OnConnect 2017-03-06 10:29:35, Warning DISM DISM OS Provider: PID=4828 TID=9924 Failed to bind the online servicing stack - CDISMOSServiceManager::get_ServicingStackDirectory(hr:0x8007045a) 2017-03-06 10:29:35, Error DISM DISM OS Provider: PID=4828 TID=9924 Unable to retrieve servicing stack folder for DLL search path modification. - CDISMOSServiceManager::SetDllSearchPath(hr:0x8007045a) 2017-03-06 10:29:35, Warning DISM DISM OS Provider: PID=4828 TID=9924 Unable to set the DLL search path to the servicing stack folder. C:\Windows may not point to a valid Windows folder. - CDISMOSServiceManager::Final_OnConnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Attempting to initialize the logger from the Image Session. - CDISMProviderStore::Final_OnConnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Loading Provider from location C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0\LogProvider.dll - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Connecting to the provider located at C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0\LogProvider.dll. - CDISMProviderStore::Internal_LoadProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Provider has not previously been encountered. Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Loading Provider from location C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0\PEProvider.dll - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Warning DISM DISM Provider Store: PID=4828 TID=9924 Failed to Load the provider: C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0\PEProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x8007007e) 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Failed to get and initialize the PE Provider. Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Getting Provider DISMLogger - CDISMProviderStore::GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Info DISM DISM Manager: PID=5948 TID=6304 Image session successfully loaded from the temporary location: C:\Users\Kyle\AppData\Local\Temp\C6DB2789-FB29-44EB-9D16-4768E313C6C0 - CDISMManager::CreateImageSession 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Getting Provider OSServices - CDISMProviderStore::GetProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Provider has previously been initialized. Returning the existing instance. - CDISMProviderStore::Internal_GetProvider 2017-03-06 10:29:35, Warning DISM DISM OS Provider: PID=4828 TID=9924 Failed to bind the online servicing stack - CDISMOSServiceManager::get_ServicingStackDirectory(hr:0x8007045a) 2017-03-06 10:29:35, Error DISM DISM OS Provider: PID=4828 TID=9924 Failed trying to determine the OS Version. HRESULT=0x8007045a - CDISMOSServiceManager::get_OSVersion 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Found the PE Provider. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Releasing the local reference to OSServices. - CDISMProviderStore::Internal_DisconnectProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Disconnecting Provider: OSServices - CDISMProviderStore::Internal_DisconnectProvider 2017-03-06 10:29:35, Info DISM DISM Provider Store: PID=4828 TID=9924 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider 2017-03-06 10:29:37, Info DISM DISM Manager: PID=5948 TID=6304 Closing session event handle 0x164 - CDISMManager::CloseImageSession 2017-03-06 10:29:40, Info DISM DISM.EXE: Image session has been closed. Reboot required=no. 2017-03-06 10:29:40, Info DISM DISM.EXE: 2017-03-06 10:29:40, Info DISM DISM.EXE: <----- Ending Dism.exe session -----> 2017-03-06 10:29:40, Info DISM DISM.EXE: 2017-03-06 10:29:40, Info DISM DISM Provider Store: PID=5948 TID=6304 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect 2017-03-06 10:29:40, Info DISM DISM Provider Store: PID=5948 TID=6304 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider 2017-03-06 10:29:40, Info DISM DISM Provider Store: PID=5948 TID=6304 Releasing the local reference to DISMLogger. Stop logging. - CDISMProviderStore::Internal_DisconnectProvider
regardless of the command...I get this error...when I try to add a package...enable a feature...its always the same error...error 1114....any servicing command on the online image fails with this error...i even booted from an install disc and ran the servicing commands when the image was offline and it still failed with error 1114
What am I trying to achieve? Well it depends on what you mean. Ultimately I am trying to simply be able to service my Windows 10 install using dism, that's the longer term goal...However, short term, I am trying to fix this error 1114. Does that answer your question??
@Lobo, s1ave77 wants to know what slashing123 wants to do, he uses a command that's not for /online use but for offline or mounted wim use.
@Enthousiast When I have access to my computer again, which will be in about 20-25 minutes...I will run a servicing command...to my online image...specifically....the add package command...and I will show how I still receive the same error code...error 1114
Please first check if there are no systemfile integrity problems by running sfc /scannow (if it finds unrepairable errors use this commandline to see what is wrong: findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log >"%userprofile%\Desktop\sfcdetails.txt" ).
@lobo11, yes i saw that first link too, but no acknowledgement of that error code, they advise to re-install windows. Second link is not about dism error codes (but who knows, maybe it helps ). First thing to do is a sfc /scannow command, to see if the system files are still OK.
The command you used can't be used for /online servicing, and the cbs log shows dism is searching for an offline (i.e. a parallel install on another drive) but isn't successful. You say you're trying to 'service' your windows, that can be done; see reference from 'dism /online /?': Code: Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 The following commands may be used to service the image: WINDOWS EDITION SERVICING COMMANDS: /Optimize-Image - Performs specified configurations to an offline image. /Set-ProductKey - Sets the product key of the offline image. /Get-TargetEditions - Displays a list of Windows editions that an image can be upgraded to. /Get-CurrentEdition - Displays the edition of the current image. /Set-Edition - Upgrades an image to a higher edition. DEFAULT ASSOCIATIONS COMMANDS: /Remove-DefaultAppAssociations - Removes the default application associations from a Windows image. /Import-DefaultAppAssociations - Imports a set of default application associations to a Windows image. /Get-DefaultAppAssociations - Displays the list of default application associations from a Windows image. /Export-DefaultAppAssociations - Exports the default application associations from a running operating system. PROVISIONING PACKAGE SERVICING COMMANDS: /Get-ProvisioningPackageInfo - Gets the information of provisioning package. /Add-ProvisioningPackage - Adds provisioning package. APPX SERVICING COMMANDS: /Set-ProvisionedAppxDataFile - Places custom data into the specified app package (.appx or .appxbundle). The specified application package must already be in the image. /Remove-ProvisionedAppxPackage - Removes app packages (.appx or .appxbundle) from the image. App packages will not be installed when new user accounts are created. /Add-ProvisionedAppxPackage - Adds app packages (.appx or .appxbundle) to the image and sets them to install for each new user. /Get-ProvisionedAppxPackages - Displays information about app packages (.appx or .appxbundle) in an image that are set to install for each new user. UNATTEND SERVICING COMMANDS: /Apply-Unattend - Applies an unattend file to an image. DRIVER SERVICING COMMANDS: /Remove-Driver - Removes driver packages from an offline image. /Add-Driver - Adds driver packages to an offline image. /Get-DriverInfo - Displays information about a specific driver in an offline image or a running operating system. /Get-Drivers - Displays information about all drivers in an offline image or a running operating system. /Export-Driver - Export all third-party driver packages from an offline image or a running operating system. INTERNATIONAL SERVICING COMMANDS: /Set-LayeredDriver - Sets keyboard layered driver. /Set-UILang - Sets the default system UI language that is used in the mounted offline image. /Set-UILangFallback - Sets the fallback default language for the system UI in the mounted offline image. /Set-UserLocale - Sets the user locale in the mounted offline image. /Set-SysLocale - Sets the language for non-Unicode programs (also called system locale) and font settings in the mounted offline image. /Set-InputLocale - Sets the input locales and keyboard layouts to use in the mounted offline image. /Set-TimeZone - Sets the default time zone in the mounted offline image. /Set-AllIntl - Sets all international settings in the mounted offline image. /Set-SKUIntlDefaults - Sets all international settings to the default values for the specified SKU language in the mounted offline image. /Gen-LangIni - Generates a new lang.ini file. /Set-SetupUILang - Defines the default language that will be used by setup. /Get-Intl - Displays information about the international settings and languages. APPLICATION SERVICING COMMANDS: /Check-AppPatch - Displays information if the MSP patches are applicable to the mounted image. /Get-AppPatchInfo - Displays information about installed MSP patches. /Get-AppPatches - Displays information about all applied MSP patches for all installed applications. /Get-AppInfo - Displays information about a specific installed MSI application. /Get-Apps - Displays information about all installed MSI applications. PACKAGE SERVICING COMMANDS: /Add-Package - Adds packages to the image. /Remove-Package - Removes packages from the image. /Enable-Feature - Enables a specific feature in the image. /Disable-Feature - Disables a specific feature in the image. /Get-Packages - Displays information about all packages in the image. /Get-PackageInfo - Displays information about a specific package. /Get-Features - Displays information about all features in a package. /Get-FeatureInfo - Displays information about a specific feature. /Cleanup-Image - Performs cleanup and recovery operations on the image. /Add-Capability - Add a capability to one image. /Remove-Capability - Remove a capability from one image. /Get-Capabilities - Get capabilities in the image. /Get-CapabilityInfo - Get information of a capability in the image. For more information about these servicing commands and their arguments, specify a command immediately before /?. Examples: DISM.exe /Image:C:\test\offline /Apply-Unattend /? DISM.exe /Image:C:\test\offline /Get-Features /? DISM.exe /Online /Get-Drivers /? Example: Code: C:\Users\s1ave77\Desktop>dism /english /online /get-currentedition Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Current edition is: Current Edition : Professional The operation completed successfully. C:\Users\s1ave77\Desktop> Maybe you specify what exactly you're trying to service?
I am trying to install some .cab updates/packages. So even if I enter...dism /online /Add-Package /PackagePath:<Path to Package> I will still get Error 1114 I've done tried enter the command (dism /online /Add-Package /PackagePath:<Path to Package>) several times and it just fails with Error 1114
I've repaired the errors...and ran it again...the only errors left are related to files for the Windows Media Center on Windows 10 hack/tweak/etc. And I can't remove it because dism isn't working, as it is installed using dism correct?