You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Problem is that the Get-Volume CMDlet return a Object but it can't be consummed by the Get-Partition CMDlet
The Partition for the OS was not created via Start-OSDCloud -ImageFileUrl $imageUrl -ZTI and the Recovery Partition was the Size of the Remaining Space
I tried to change the Driveletter via WMI but that didn't work either
Thanks, I'll see how I can add a check for a C: Drive and remove it like I am doing with the USB Drive Letters. Can you run a Get-Volume for the Card Reader?
At the moment i don't have access to a device with this problematic card reader.
But as written before The Problem is that the Get-Volume CMDlet return a Object but it can't be consummed by the Get-Partition CMDlet
As far as I can remember the mountvol.exe was the only way that can handle the cardreader without an inserted card
This issue has been around for ages in different OS deployment scenarios. :) Especially when the HDD/SSD is not partitioned.
I just recently started trying out OSDCloud and just wanted to add my 2 cents on how we approached this:
Get your hands on the 64-Bit Version of Devcon (might be a bit harder to find, but can be googled) and add:
devcon.exe disable USBSTOR*
and possibly
devcon.exe disable CDROM
To just disable the devices that can "steal" the C-Drive.
Describe the bug
The Driveletter C was assigned to the empty Card reader and was not deletable via the line
OSD/Public/Disk/New-OSDisk.ps1
Line 282 in 9bb7639
The Problem is that the Get-Volume CMDlet return a Object but it can't be consummed by the Get-Partition CMDlet
The Partition for the OS was not created via
Start-OSDCloud -ImageFileUrl $imageUrl -ZTI
and the Recovery Partition was the Size of the Remaining SpaceI tried to change the Driveletter via WMI but that didn't work either
Expected behavior
clear the letter assignment
Additional context
As a workaround I have added the Line &mountvol C: /D to my script
The text was updated successfully, but these errors were encountered: