I know it means I have a problem With Windows setup


Can I run .cmd files through this you have a bat and mine is a cmd file. I using directories.cmd, should i change it directories.bat
CMD scripts can be named .bat or .cmd. The only difference is error handling is enhanced for .cmd-named files. For a normal user, they're identical when executing a script.

I googled the error code and found that there is corrupt or missing file. Given that it is ran on VMware I decided to start over using 26200.5641 and trying cut my install.wim down from 12gig to about 8 gig by using NTlite and not putting in as many drivers . I think it maybe might be the size of install.wim. I will use what you say to do. I dont know what file is corrupt, Im getting my ISO from uup!
None of the unattended settings depend on the ISO contents. If a clean ISO works, that means you may have removed something important. NTLite will normally try to protect required components in Compatibility Mode, and warn you before removing it.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
@garlin:

If I put an A in this line:;
Code:
 cmd /c for %i in (D E F G H I J K L N M O P Q R S T U V W X Y Z) do if exist %i\Batches setx /m DRIVE=%i:</Path&gt
Will it allows me to use "A" as a drive Letter and locate my batch Files? JM
 

My Computer My Computer

At a glance

Windows 11 proI-7 2gigaherz16Gig
OS
Windows 11 pro
Computer type
Laptop
Manufacturer/Model
Asus
CPU
I-7 2gigaherz
Motherboard
Asus
Memory
16Gig
Screen Resolution
1024x768
Hard Drives
512 SSD
While a live Windows system can assign letter A or B to a drive, Unattended mode only allows drive letters from C-Z.

You would have to switch to using a diskpart script in WinPE pass. @hsehestedt has many unattended examples, using a diskpart script to configure drives.
 

My Computer My Computer

At a glance

Windows 7
OS
Windows 7
Or, just detect the drive letter, run your batch files, and move on with life.
 

My Computer My Computer

At a glance

Windows 11 Enterprise 25H2 [rev. 8893]
OS
Windows 11 Enterprise 25H2 [rev. 8893]
The enclosed file contains the file pictures which has a picture of my autoattend.xml [cmd /c line] and the directories file. I tried it with cmd /c line and it outputted all the drives but I dont think that's supposed to happen. It burped on the 2nd files directories.cmd. could you take a look ? I got the hard drives to work! john
 

Attachments

My Computer My Computer

At a glance

Windows 11 proI-7 2gigaherz16Gig
OS
Windows 11 pro
Computer type
Laptop
Manufacturer/Model
Asus
CPU
I-7 2gigaherz
Motherboard
Asus
Memory
16Gig
Screen Resolution
1024x768
Hard Drives
512 SSD
garlin: Can you take a look at the two files and see where I went Wrong? Maybe you can them to work one is autounattend with the cmd /c line and the other is a batch file full of md's thank you John
 

Attachments

My Computer My Computer

At a glance

Windows 11 proI-7 2gigaherz16Gig
OS
Windows 11 pro
Computer type
Laptop
Manufacturer/Model
Asus
CPU
I-7 2gigaherz
Motherboard
Asus
Memory
16Gig
Screen Resolution
1024x768
Hard Drives
512 SSD

Latest Support Threads

Back
Top Bottom