Dism: The device is not ready

Hello.

I see error 21 and the message "the device is not ready" when using dism to create and write an image to an external USB drive from the WinPe shell.

The external USB drive is a SSD connected to a USB 3.0 to SATA adapter.
There are two partitions on the SSD, one for booting WinPe and the other for file storage.
Both partitions are accessible from within the WinPe shell.
I am able to manually create files on the file storage partition.
I have tried two different USB 3.0 to SATA adapters both fail the same way.
There are no problems if using an external SSD with a USB 3.0 micro Type b cable/connector (so, no adapter)
There are no problems if using two thumb drives (one with WinPe boot image, the other to store .wim)
I tried including the uaspstor driver in my WinPe image but still see error 21.

I'm out of ideas. Please help.

Thank you,

Lawrence F.


  • Edited by swanthog Tuesday, March 03, 2015 11:38 PM
March 3rd, 2015 9:51pm

try to close all opened windows explorer during DISM

or I also suggest do clean boot in your machine to prevent another 3rd party app cause this issue

  • Edited by britishdhez Wednesday, March 04, 2015 3:00 AM
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2015 3:00am

Unmount and remount the image and then get-drivers.
March 4th, 2015 11:15am

Thanks.

I've been through unmounting and mounting a couple of times and each time no drivers are listed when queried. I thought that it maybe had something to do with this message, "obtaining 3rd party drivers...", and since the uaspstor driver is a Windows 8 in box driver, it doesn't show up as a third party driver. It is also strange that I had to use "/forceunsigned" flag on a Windows driver -- wouldn't install otherwise.

--LF

Free Windows Admin Tool Kit Click here and download it now
March 4th, 2015 11:50am

get-drivers doesn't show the uaspstor driver I installed. However, I checked the Windows\System32 folder of my mounted WinPe boot image and I see the driver there.

I believe the uaspstor driver *is* properly loaded. I tried once more to save a .wim image to the NTFS partition of my SSD and it is now working. What I believe happened is that on my first attempt to include the driver in my WinPe boot image, I inadvertently copied the boot image files from the wrong deploy .iso. I made certain that I was copying files from the correct WinPe boot image that includes uaspstor and it is now working.

To summarize, a large file can be copied to a SSD using a USB 3.0 to SATA adapter from the WinPe shell as long as the uaspstor driver is applied to the WinPe image.

Thanks to all for you helpful replies.

Lawrence Falkenstein

  • Marked as answer by swanthog 21 hours 37 minutes ago
March 4th, 2015 12:54pm

Thanks for your reply. 

The only window open is the command shell during execution of DISM. I'm not running a GUI.

Update:

I double-checked to see that the uaspstor was included in my WinPe boot image but it is not listed. I tried adding it again and checking but it is not shown in the list of included drivers (no drivers are listed at all):

> Dism /Add-Driver /Image:"C:\winpe\mount" /Driver:"C:\winpe\driver\uaspstor\uaspstor.inf" /forceunsigned

Deployment Image Servicing and Management tool
Version: 6.3.9600.17029

Image Version: 6.3.9600.16384

Found 1 driver package(s) to install.
Installing 1 of 1 - C:\winpe\driver\uaspstor\uaspstor.inf: The driver package was successfully installed.
The operation completed successfully.

And the check:

> Dism /Get-Drivers /Image:"C:\winpe\mount"

Deployment Image Servicing and Management tool
Version: 6.3.9600.17029

Image Version: 6.3.9600.16384

Obtaining list of 3rd party drivers from the driver store...

Driver packages listing:

(No drivers found in the image matching the criteria)

The operation completed successfully.


Any ideas?

--LF

Free Windows Admin Tool Kit Click here and download it now
March 4th, 2015 2:18pm

get-drivers doesn't show the uaspstor driver I installed. However, I checked the Windows\System32 folder of my mounted WinPe boot image and I see the driver there.

I believe the uaspstor driver *is* properly loaded. I tried once more to save a .wim image to the NTFS partition of my SSD and it is now working. What I believe happened is that on my first attempt to include the driver in my WinPe boot image, I inadvertently copied the boot image files from the wrong deploy .iso. I made certain that I was copying files from the correct WinPe boot image that includes uaspstor and it is now working.

To summarize, a large file can be copied to a SSD using a USB 3.0 to SATA adapter from the WinPe shell as long as the uaspstor driver is applied to the WinPe image.

Thanks to all for you helpful replies.

Lawrence Falkenstein

  • Marked as answer by swanthog Wednesday, March 04, 2015 5:54 PM
March 4th, 2015 5:54pm

Glad to hear that you've sorted it out!

Regards

Free Windows Admin Tool Kit Click here and download it now
March 5th, 2015 1:58am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics