[Android General] Shawondroid:
I am ending up with this error in cmd

wpeinit

****************************************************************

****************************************************************

call wpeutil UpdateBootlnfo

The command completed successfully.

for /f "skip=2 tokens=3" %A in ('call Reg query "HKLM\System\CurrentControlSet/Control" /v PEBootRamdiskSourceDrive') do set WinPESource=%A

WinPESource is drive letter "D:"

WinPESource is "D:"

****************************************************************

***************************************************************

Rall D:\Scripts\Main.cmd

Running Intel Optimization powercfg for improved imaging times

call powercfg /s 8c5e7fda-e8bf-4a96-9095-86e23a9c635c

call diskpart Is D:\DiskpartFiles\listdisk.txt

Using Disk "0"

call diskpart /s D:\DiskpartFiles\listdisk.txt

Microsoft DiskPart version 10.0.10240

Copyright (C) 1999-2013 Microsoft Corporation.

on computer: MININT-8SRO5DI

Disk 0 is now the selected disk.

Leaving DiskPart...

**************************************************************************

Write the diskpart script now that we know what disk to use

**************************************************************************

Wimpart.txt now contains.......

select disk "0"

select volume "0"

attributes volume set hidden

select volume "1"

attributes volume set hidden

select volume "2"

attributes volume set hidden

select volume "3"

create partition msr size=128

create partition primary

shrink minimum=5000

format quick fs=ntfs label="Windows"

assign letter="W"

create partition primary

format quick fs=ntfs label="Images"

assign letter="T"

set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"

gpt attributes=0x8000e00000000001

exit

*****************************************************************

Setting up the partition table

*****************************************************************

call diskpart /s x:\wimpart.txt

Microsoft DiskPart version 10.0.10240

Copyright (C) 1999-2013 Microsoft Corporation.

On computer: MININT-8SRO5DI

Disk 0 is now the selected disk.

Volume 0 is the selected volume.

Volume attributes set successfully.

Volume 1 is the selected volume.

Volume attributes set successfully.

Volume 2 is the selected volume.

Volume attributes set successfully.

Volume 3 is the selected volume.

Virtual Disk Service error:

The object is not found.

*****************************************************************

*****************************************************************

"Found device with images folder and install.txt file"

Install.wim FOUND at C:\images\images\install.wim

Winre.wim FOUND at C:\images\images\winre.wim

*****************************************************************

*****************************************************************

Making directories...

The system cannot find the drive specified.

"Failed to make w:\recycler\scratch directory"

'An error has been detected.

Script Start Time is 21:19:05.58

Script Stop Time is 21:19:30.49

x:\windows\system32>

Volume 1 is the selected volume.

Volume attributes set successfully.

Volume 2 is the selected volume.

Volume attributes set successfully.

Volume 3 is the selected volume.

Virtual Disk Service error:

The object is not found.

*****************************************************************

*****************************************************************

"Found device with images folder and install.txt file"

Install.wim FOUND at C:\images\images\install.wim

Winre.wim FOUND at C:\images\images\winre.wim

*****************************************************************

*****************************************************************

Making directories...

The system cannot find the drive specified.

"Failed to make w:\recycler\scratch directory"

'An error has been detected.

Script Start Time is 21:19:05.58

Script Stop Time is 21:19:30.49

x:\windowS\system32>