I followed the System Recovery guide to reinstall the OS, but failed to create the USB drive when running CreateUSBKey.cmd. My OS is Windows 11 Pro 25H2. The error log is attached below:
For DGX Spark
FastOS Image Version:
NAME="DGX SPARK FASTOS"
DATE="2025-11-12T17:35:20+00:00"
VERSION="1.105.17"
BUILD_TYPE="customer"
Select USB Drive
- Press Enter to pick the drive highlighted in green
- Use Up and Down arrows to navigate the list
> TU280Pro 256G thinkplus (No Drive Letter) - 238.47GB
Selected drive: TU280Pro 256G thinkplus
Are you sure you want to format this drive? (Y/N): Y
Clear-Disk : The disk has not been initialized.
Activity ID: {dcb76252-5b79-0002-33cf-badc795bdc01}
At C:\Users\Di\Desktop\DGX-Image\scripts\CreateUSBKey.ps1:141 char:9
+ Clear-Disk -Number $selectedDrive.Number -RemoveData -RemoveO ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [Clear-Disk], CimExc
eption
+ FullyQualifiedErrorId : StorageWMI 41000,Clear-Disk
Setting disk partition style to MBR MSFT_Disk (ObjectId = "{1}\\FD\root/Microsoft/Windows/Storage/...)
Set-Disk : Not Supported
Activity ID: {dcb76252-5b79-0002-33cf-badc795bdc01}
At C:\Users\Di\Desktop\DGX-Image\scripts\CreateUSBKey.ps1:148 char:5
+ Set-Disk -Number $selectedDrive.Number -PartitionStyle MBR
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (StorageWMI:ROOT/Microsoft/..._StorageCmdlets) [Set-Disk], CimExceptio
n
+ FullyQualifiedErrorId : StorageWMI 1,Set-Disk
New-Partition : The disk has not been initialized.
Activity ID: {dcb76252-5b79-0002-33cf-badc795bdc01}
At C:\Users\Di\Desktop\DGX-Image\scripts\CreateUSBKey.ps1:152 char:22
+ ... partition = New-Partition -DiskNumber $selectedDrive.Number -Size 31G ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (StorageWMI:ROOT/Microsoft/Windows/Storage/MSFT_Disk) [New-Partition], Cim
Exception
+ FullyQualifiedErrorId : StorageWMI 41000,New-Partition
An error occurred: Cannot validate argument on parameter 'Partition'. The argument is null. Provide a valid value for the argument, and then try running the command again.
Press any key to continue...
