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

System One

  • 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

System One

  • 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

System One

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

My Computer

System One

  • OS
    Windows 11 Pro 24H2 [rev. 4351]
    Computer type
    PC/Desktop
    Manufacturer/Model
    Intel NUC12WSHi7
    CPU
    12th Gen Intel Core i7-1260P, 2100 MHz
    Motherboard
    NUC12WSBi7
    Memory
    64 GB
    Graphics Card(s)
    Intel Iris Xe
    Sound Card
    built-in Realtek HD audio
    Monitor(s) Displays
    Dell U3219Q
    Screen Resolution
    3840x2160 @ 60Hz
    Hard Drives
    Samsung SSD 990 PRO 1TB
    Keyboard
    CODE 104-Key Mechanical with Cherry MX Clears
    Antivirus
    Microsoft Defender
Back
Top Bottom