Jump to content











Photo
- - - - -

DISM Error : 21 Device Not ready error


  • Please log in to reply
1 reply to this topic

#1 Boot_Monkey

Boot_Monkey

    Frequent Member

  • Advanced user
  • 142 posts
  • Interests:Umm, Bootdisks.
  •  
    Australia

Posted 18 July 2012 - 02:10 AM

Hello,

I'm having a little trouble diagnosing a DISM Error. It's persisting after a reboot, and google turns up a lot of nothing.


C:\WINDOWS\system32>dism /cleanup-wim

Deployment Image Servicing and Management tool

Version: 6.1.7600.16385



Error: 21

The device is not ready.


The log tells me a lot of nothing too.


2012-07-18 11:31:05, Info				  DISM   PID=5996 Scratch directory set to 'C:\Users\UserName\AppData\Local\Temp\'. - CDISMManager::put_ScratchDir

2012-07-18 11:31:05, Info				  DISM   PID=5996 Successfully loaded the ImageSession at "C:\WINDOWS\System32\Dism" - CDISMManager::LoadImageSession

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Found and Initialized the DISM Logger. - CDISMProviderStore::Internal_InitializeLogger

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Failed to get and initialize the PE Provider.  Continuing by assuming that it is not a WinPE image. - CDISMProviderStore::Final_OnConnect

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Finished initializing the Provider Map. - CDISMProviderStore::Final_OnConnect

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Manager: PID=5996 Successfully created the local image session and provider store. - CDISMManager::CreateLocalImageSession

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Getting Provider DISMLogger - CDISMProviderStore::GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM.EXE:

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: <----- Starting Dism.exe session ----->

2012-07-18 11:31:05, Info				  DISM   DISM.EXE:

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Host machine information: OS Version=6.1.7600, Running architecture=x86, Number of processors=4

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Executing command line: dism  /cleanup-wim

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Getting the collection of providers from a local provider store type. - CDISMProviderStore::GetProviderCollection

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Loading Provider from location C:\WINDOWS\System32\Dism\WimProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Connecting to the provider located at C:\WINDOWS\System32\Dism\WimProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Loading Provider from location C:\WINDOWS\System32\Dism\FolderProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Connecting to the provider located at C:\WINDOWS\System32\Dism\FolderProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has not previously been encountered.  Attempting to initialize the provider. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Loading Provider from location C:\WINDOWS\System32\Dism\CompatProvider.dll - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Connecting to the provider located at C:\WINDOWS\System32\Dism\CompatProvider.dll. - CDISMProviderStore::Internal_LoadProvider

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Got the collection of providers. Now enumerating them to build the command table.

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Attempting to add the commands from provider: WimManager

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Succesfully registered commands for the provider: WimManager.

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Attempting to add the commands from provider: FolderManager

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Attempting to add the commands from provider: DISM Log Provider

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Attempting to add the commands from provider: Compatibility Manager

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Succesfully registered commands for the provider: Compatibility Manager.

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Getting Provider WimManager - CDISMProviderStore::GetProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider

2012-07-18 11:31:05, Error				 DISM   DISM WIM Provider: PID=5996 Failed to cleanup invalid mount points. - CWimManager::CleanupInvalidMounts(hr:0x80070015)

2012-07-18 11:31:05, Error				 DISM   DISM WIM Provider: PID=5996 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2124 - CWimManager::InternalOpCleanup(hr:0x80070015)

2012-07-18 11:31:05, Error				 DISM   DISM WIM Provider: PID=5996 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2543 - CWimManager::InternalCmdCleanup(hr:0x80070015)

2012-07-18 11:31:05, Error				 DISM   DISM WIM Provider: PID=5996 Error executing command - CWimManager::InternalExecuteCmd(hr:0x80070015)

2012-07-18 11:31:05, Error				 DISM   DISM WIM Provider: PID=5996 d:\w7rtm\base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:516 - CWimManager::ExecuteCmdLine(hr:0x80070015)

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: Image session has been closed. Reboot required=no.

2012-07-18 11:31:05, Info				  DISM   DISM.EXE:

2012-07-18 11:31:05, Info				  DISM   DISM.EXE: <----- Ending Dism.exe session ----->

2012-07-18 11:31:05, Info				  DISM   DISM.EXE:

2012-07-18 11:31:05, Info				  DISM   DISM Image Session: PID=5996 Disconnecting the provider store - CDISMImageSession::Final_OnDisconnect

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Disconnecting Provider: WimManager - CDISMProviderStore::Internal_DisconnectProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Disconnecting Provider: FolderManager - CDISMProviderStore::Internal_DisconnectProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Found the OSServices.  Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Disconnecting Provider: Compatibility Manager - CDISMProviderStore::Internal_DisconnectProvider

2012-07-18 11:31:05, Info				  DISM   DISM Provider Store: PID=5996 Releasing the local reference to DISMLogger.  Stop logging. - CDISMProviderStore::Internal_DisconnectProvider



Anyone encountered this Error : 21 ?

#2 Boot_Monkey

Boot_Monkey

    Frequent Member

  • Advanced user
  • 142 posts
  • Interests:Umm, Bootdisks.
  •  
    Australia

Posted 18 July 2012 - 04:13 AM

Virtual Clone was holding on to something. I killed VirtualClone Drive and then applied my command "Dism /cleanup-wim" and all was sweet.


Not all stuff can be solved by a reboot.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users