Installation and Upgrade WinPE - Create a Custom Windows Install USB


Win11USB Banner.png

As you all (should) already know, Windows Setup's install.wim file is growing with each new feature upgrade. It's coming close and soon going over the 4 GB size limit of a FAT32 formatted install media. Today, as I write this, (22-FEB-2022), downloading WIM-based most current public release install media as told here in Shawn Brink's tutorial, the install.wim file is 4.5 GB (UK English Windows 11).

There’s nothing in the UEFI specifications that prevents booting a computer from an NTFS formatted USB flash drive. In fact, this so-called limitation is entirely artificial, caused by the single fact that manufacturer has not included correct drivers in UEFI. Luckily, most modern computers can boot from a single-partition NTFS formatted USB flash drive, and install Windows 11 from a single partition USB media containing WIM image larger than 4 GB (maximum file size on FAT32 media).

But, what to do if the WIM file is over 4 GB, and your computer cannot boot from an NTFS formatted media?

This tutorial will show how to create a USB flash drive containing a FAT32 formatted WinPE partition, and a bigger NTFS formatted Windows Setup partition. When computer is booted from this USB flash drive, the WinPE partition takes care of boot, then runs Windows Setup from bigger setup partition on same USB.

The whole process takes 10 to 20 minutes, but only needs to be done once. In the future, the Windows Setup files on USB can be replaced with newer version of Windows 11.





Contents

Use links to jump to any part, browser back button to return to this table



Part One:Create WinPE
Part Two:Edit WinPE boot.wim
Part Three:Make WinPE ISO
Part Four:Partition USB flash drive
Part Five:Create bootable USB install media

Please notice: I have prepared a custom WinPE ISO image for you. You can download it from my OneDrive: WinPEx64.iso. File size is 474 MB.

Parts One, Two and Three in this tutorial will show how I edited and customized this WinPE image, and are intended to those users who want to learn how to do it by themselves.

Short: if you want to make this easy, download the provided WinPE ISO, and start from Part Four, and you are done in three minutes.




Part One

Create WinPE


1.1 Download and install both Windows 11 ADK (Assessment and Deployment Kit), and Windows PE add-on for the ADK, installing ADK first:

Download ADK.jpg

(Click screenshot thumbnails to open images enlarged.)

1.2 When installing ADK, for purpose of this tutorial, you will only need the Deployment Tools module. Unselecting everything else, download size is less than 100 MB:

ADK Install.jpg


1.3 When both ADK and WinPE add-on have been installed, open an elevated ADK Deployment and Imaging Tools Environment, a special mode of Command Prompt. You will find it in Start > All Apps > W > Windows Kits:

Run Tool.jpg


1.4 The prompt is quite long. Shorten it by jumping to root of the drive where ADK was installed with command cd \ (#1 in next screenshot)

1.5 Create 64-bit WinPE files with following command (#2 in next screenshot), where folder D:\WPEx64 is the folder where WinPE files will be created. Folder will be created automatically, it does not need to exist:

copype amd64 D:\WPEx64

Create PE Folder.jpg


For 32-bit WinPE, the command is as follows:

copype x86 D:\WPEx86


Part Two

Edit WinPE boot.wim


2.1 Depending on which bit architecture you selected, either folder D:\WPEx86 or D:\WPEx64 now contains all files and folders to create a WinPE ISO.

2.2 To edit it, we must mount WinPE boot.wim file for offline servicing. First, create a mount point folder. In this example, I made a folder C:\Mount. Open an elevated PowerShell, and enter following command to mount boot.wim:

Mount-WindowsImage -ImagePath D:\WPEx64\Media\Sources\boot.wim -Index 1 -Path C:\Mount

Change -ImagePath folder WPEx64 to WPEx32 if working with 32-bit WinPE.

2.3 Folder C:\Mount now contains WinPE image, and we can edit it. First thing I made when editing the provided custom WinPE image, I added PowerShell support. By default, WinPE does not support PowerShell.

To enable PowerShell in WinPE, copy and paste the following commands to elevated PowerShell:. Notice that you can copy all commands at once, and paste them all to elevated PowerShell, which will then run them one by one:

Code:
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-WMI_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-NetFX.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-NetFX_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-Scripting.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-Scripting_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-PowerShell.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-PowerShell_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-StorageWMI.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-StorageWMI_en-us.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-DismCmdlets.cab"
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\en-us\WinPE-DismCmdlets_en-us.cab"

The above commands will add PowerShell to a 64-bit WinPE. If you are creating a 32-bit WinPE, change the folder amd64 at the end of long path, near end of each command to x86. An example using the first of above listed commands:

64-bit WinPE:

Rich (BB code):
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\WinPE-WMI.cab"

32-bit WinPE:

Rich (BB code):
Dism /Add-Package /Image:"C:\Mount" /PackagePath:"C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WinPE-WMI.cab"

2.4 This custom WinPE requires two scripts, a PowerShell script to find out drive letter of the NTFS partition on USB containing setup files, and then run Windows Setup, and a batch file to run that PS script.

Opening mount point folder C:\Mount, I created a folder Scripts on its root to store these two scripts:

Scripts folder created.jpg


2.5 First the small PS script. To save to mount point folder requires elevated rights, so we need to open Notepad elevated (run as administrator). Copy and paste the following code to it:

Powershell:
$SetupVolume = (Get-Volume -FileSystemLabel Setup).DriveLetter
$SetupFile = $SetupVolume + ':\setup.exe'
cmd /c $SetupFile

First line will search the USB for volume (partition) labelled Setup, and set its drive letter in variable $SetupVolume. Second line then creates variable $SetupFile, adding the important :\setup.exe to drive letter found in first line. For instance, if $SetupVolume is F, $SetupFile is F:\setup.exe.

Last line then executes command setup.exe from bigger NTFS partition Setup, which starts Windows Setup.

Save the file in folder C:\Mount\Scripts as SetupW10.ps1. In Save As dialog, remember to select Save As Type as All files:

Save PS Script.jpg


2.6 Next, short batch file. Copy and paste following code to an elevated Notepad:

Code:
@echo off
rem
rem Run PowerShell script to start Windows Setup
rem
cls
echo.
echo Starting windows Setup...
powershell -ExecutionPolicy bypass -file "X:\Scripts\SetupW11.ps1"

Only important line in this batch file is the last one. It executes the PS script made in step 2.5.

Save it to folder C:\Mount\Scripts as WinSetup.cmd. Again, as with the PS script, in Save As dialog, remember to select Save As Type as All files.

2.7 Last but not least, we need to edit file C:\Mount\Windows\System32\startnet.cmd. Startnet.cmd functions exactly like autoexec.bat did in Windows XP and older Windows versions, running every command in it automatically when WinPE boots.

By default, startnet.cmd only contains one command, wpeinit, which enables WinPE networking capabilities. We add two other commands to it.

Open startnet.cmd in an elevated Notepad. Copy and paste following code to it:

Code:
wpeinit
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
X:\Scripts\WinSetup.cmd

The first line is the default command to initialize networking. In second line, we set a High Performance power plan to speed up Windows installation. In last line, we execute the batch file created in step 2.6.

When computer is booted from WinPE media, the contents of WinPE will be copied to RAM disk X. This is why we can use the path X:\Scripts on last command line, there being no need to find out the drive letter for volume containing the Scripts folder.

2.8 In an elevated PowerShell, enter following command to save changes to WinPE:

Dismount-WindowsImage -Path C:\Mount -Save


Part Three

Make WinPE ISO


3.1 Open an elevated ADK Deployment and Imaging Tools Environment as told in step 1.3.

3.2 Enter following command to create WinPE ISO:

MakeWinPEMedia /ISO D:\WPEx64 F:\WinPEx64.iso

Change path D:\WPEx64 to D:\WPEx86 if creating a 32-bit WinPE ISO. Path F:\WinPEx64.iso is the path and name of the ISO file that will be created.


Part Four

Partition USB flash drive


4.1 Plug in an at least 8 GB USB lash drive. Open an elevated PowerShell, start Windows Disk Partitioning utility with command DISKPART.

Enter command LIST DISK to show all attached disks, find out the disk ID for your USB Flash Drive. In my case now, the USB is DISK 3:

Diskpart.jpg


Be careful, absolutely sure that you find out correct Disk ID! In following step, the selected disk will be wiped clean, and new partitions will be created. Selecting wrong disk may cause Windows or data disks being formatted, all data lost.


4.2 Still in DISKPART, run following commands one by one. In first command, replace X (disk ID) with actual Disk ID for your USB flash drive:

select disk X
clean
create partition primary size=1024
format quick fs=fat32 label="Boot"
assign
create partition primary
format quick fs=ntfs label="Setup"
assign

4.3 Quit DISKPART with command EXIT. Your USB flash drive is now correctly partitioned, containing a 1 GB partition Boot, and partition Setup which occupies the rest of the USB:

USB Boot and Setup partitions.jpg





Part Five

Create bootable USB install media


5.1 Mount the WinPE ISO image created in Step 3.2 as a virtual CD / DVD drive (right click, select Mount). Copy its contents, all files and folders, to partition Boot on USB.

5.2 Mount a Windows 11 ISO image as a virtual CD / DVD drive (right click, select Mount). Copy its contents, all files and folders, to partition Setup on USB.

That's it! You have now a bootable USB flash drive to install Windows, even if the install.wim or install.esd file is bigger than FAT32 size limit 4 GB. In the future, when you need install media for a new Windows version, simply format the Setup partition on USB, and copy contents of new ISO to it.

Kari
 

Attachments

  • WIM Size.jpg
    WIM Size.jpg
    24.6 KB · Views: 171
  • win11usb.png
    win11usb.png
    8.1 KB · Views: 126
Last edited:
Just wanted to check in with you. How's the installation going? Did your updated media work well for you?
The updated media seemed to work very smoothly. Towards the end of the installation I had a tough time having it allow me to establish a local account (rather than a Micrsoft one). I ended up with a local account and the slimmed down installation. The only issue that I'm having is that it doesn't seem to want to activate me. This machine has the Windows 10 Pro that I did the clean installation of Windows 11 Pro on a new hard drive.

I did change the regional setting back from World to US.

Activation State is "Not active" and there is a note saying "Windows reported that no product key was found on your device. Error code 0xC004F213". I just started googling it and not having much luck. They are inviting me to go to the Microsoft Store to purchase a Producr Key.

When I try to get help it keeps trying to get me to "Sign in" (to Microsoft account, I guess). I'm trying to resist signing in because I'm concerned MS will tie my Windows 11 to an account.

I'm thinking maybe I should perform the installation over again but not sure that will help.

Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Even if it does tie the activation to your account, that in no way prevents you from activating it again in the future if you need to reinstall it. You will still be able to activate it WITHOUT signing in to a Microsoft account.

For now, try this to see if it will activate:

1) Make sure that BOTH the time zone and the local time is accurate (being off by too much time can cause activation issues).

2) Go to Settings > System > Activation and try to activate again. If it does not activate select the option to troubleshoot activation. It should activate at that point. If not, let us know.

As an aside, I prefer to logon with a local account as well, but, once again thanks to Kari, I learned that you can use a "Hybrid" account. This gives you all the advantages of a Microsoft account (syncing, etc.) but is still technically a local account. See this tutorial for details:

 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
1) Make sure that BOTH the time zone and the local time is accurate (being off by too much time can cause activation issues).
When I changed region to US the time zone initially changed to Pacific time zone and I'm in AZ so Pacific was not correct and I changed it to AZ at that time. I just checked and both Region (US) and Time Zone (AZ) are still correct. The time shown is correct as well. I even tried re-syncing time just for the heck of it. I rebooted the PC but nothing helped.

2) Go to Settings > System > Activation and try to activate again. If it does not activate select the option to troubleshoot activation. It should activate at that point. If not, let us know.
I tried the Troubleshooting feature and after just a few seconds it comes back and "we weren't able to activate Windows on this device". The failed Troubleshoot message has a link for "Contact Support to Get Help". I clicked on it and a window pops up that talks about activating via online, by phone, and by Live Support with choices/buttons to click on for Windows 11, Windows 10, etc but when I click on them they briefly flicker but nothing happens. You can see an extremely similar Microsoft window here:

Product Activation for Windows

By the way, in the Troubleshooting results box that came up (referenced in paragraph above) below the link to Get Help (that popped up the buttons that went nowhere) is another link that is labelled as "I changed hardware on my device recently". When I clicked on it a window popped up telling me that it can't find any devices linked to my Microsoft account that can be used for reactivating the device I'm using right now. It then tells me to make sure that I'm signed in with the Microsoft account that I have linked to Windows 10. The only problem with that is that the only thing that has ever been linked to my Microsoft account was a Windows Phone that I had several years ago so there is absolutely no linkage in my account to Windows 10, Windows 11, or anything else.

I don't see that a hybrid account will help in any way since I really have no way to tie any of my current or previous Windows versions to a Microsoft account. By the way, after I finished my post this evening I see that from my signing into my Microsoft account the admin name I had set up in Windows 11 has been replaced with my full name and email address in User settings (however, it did allow me to change it back to a local account as Kari had indicated).

On a side note, I ran across a few posts where folks were complaining that when they upgraded from a fully licensed Windows 10 to a clean install of Windows 11 on a new SSD/NVMe (like me) they were not able to activate. One person even said if they performed the Windows 11 on an existing SSD that Windows 11 activated just fine. They also said that when they performed an upgrade to Windows 11 on the drive with the existing Windows 10 installation that it activated just fine. The same individual even said that if they installed Windows 11 on the old drive then cloned that installation onto the new drive that Windows 11 again activated just fine but when they performed a clean installation on the new drive it refused to activate.

Someone speculated that it has something to do with Microsoft finally shutting off the uggrade from Windows 7/8 to Windows 10. The person posting had gone the Windows 7 -----> 10 ------> 11 route and so have I so maybe something has changed when an upgrade from Windows 7 has occurred in the chain. I had no issues when I went from 7 to 10. Below is the conversation on a Microsoft forum that I referenced immediately above:

Product activation for Windows – online & support telephone numbers - Microsoft Support

At this point I'm not sure there are many options other than purchasing a key. It seems that there is no longer any way to speak with someone from Microsoft or even to use the phone activation. It seems to be nothing but an automated closed loop to nowhere.

Bob
 
Last edited:

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Bob,

Take a look at this article and see if anything here can help you:


If that still does not help, did you create a backup of your prior installation that you can temporarily roll back to? That would give us the option to create a hybrid account to get your license key associated with your account.

Another option - I have not tried this but I would think that this should work: Once back on your previous installation, leave your current account unchanged. Create a new user account that is either a hybrid account or just flat out signs into your Microsoft account so that we can get Windows activation associated with your Microsoft account. Then, after your clean install of Windows, you could do the same thing. Just create another user account that signs into Microsoft simply for the purpose of activating. After activation, you can then logoff, sign back onto the other account, and delete the account that you created as a temporary account.

Finally, you might try creating a separate thread here on the forum just on the topic of the difficulty activating. I know that there are other people here better versed in the topic of activation than I am, and that might their attention and suggestions on the matter. Just note in that topic that you performed a clean install of Win 11, same edition (pro) that you had previously, but that it won't activate along with the details you provided in your last post.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
Eureka!!! Problem resolved! I actually have 3 Microsoft accounts. For simplicity (HA!!), I was initially trying to use just the more recent account that is associated with a recently purchased copy of Microsoft Office 2021 Professional. After reading your most recent post, just for the heck of it, I tried signing into those 2 other accounts (from Win 11). Low and behold one of the two other accounts listed both Win 10 and Win 11 for my PC (I swear that just a month or so ago it did not reflect my Win 10 - because I went in there specifically looking for that). However, my Win 11 was still not activated. I tried canging the "Product Name" (PC name) of Win 11 to match that of my Win 10 setup. That didn't help. I then clicked on the "GetHelp" option on the Activation screen on my PC and filled out a bunch of info on items/questions presented to me on an automated system. It finally officially opened a ticket with Microsoft. It had me enter my telephone number and suddenly my phone rang and it was their Help Desk! I almost fell out of my chair! After speaking with him he had me click on Troubleshooter again and after it ran it still did not activate. He then had me click on the link "I have changed hardware on my PC (I had already done this several times) but this time a box popped up listing my PC. There was an "activate" button lit up. I clicked on it and it activated!!!

I'm now going to customize the setup further as time permits. Thanks for all of your help!

By the way, good suggestion to start a new thread. If this would have gone any further that would have been the right thing to do.

Bob
 

My Computer

System One

  • OS
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    ASUS
    CPU
    AMD 5900X
    Motherboard
    ASUS TUF Gaming X570-PRO (WiFi 6) AM4 Zen 3 Ryzen 5000 & 3rd Gen Ryzen ATX Motherboard (PCIe 4.0, 2.5Gb LAN, BIOS Flashback, HDMI 2.1, USB 3.2 Gen 2
    Memory
    G.SKILL Trident Z Neo (For AMD Ryzen) Series 32GB (2 x 16GB) 288-Pin RGB DDR4 SDRAM DDR4 3600 (PC4 28800) Desktop Memory Model F4-3600C16D-32GTZN
    Graphics Card(s)
    NVIDIA GeForce GTX750 Ti
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    Acer CZ350CK, Wasabi Mango QHD275 Supreme
    Screen Resolution
    3440 x 1440, 2560 x 1440
    Hard Drives
    1 TB Western Digital SN850 Gen 4 x 4 NVMe
    128GB Crucial CT128M4SSD1 2.5" SSD
    1TB Seagate Barracuda ST1000DM003-9YN162 HD
    16TB Western Digital WD161KRYZ-01AGBB0 HD
    PSU
    EVGA SuperNOVA 750 GT, 80 Plus Gold 750W
    Case
    Phanteks Eclipse P500A
    Cooling
    be quiet! 250W TDP Dark Rock Pro 4
    Keyboard
    Logitech
    Mouse
    IBM
    Internet Speed
    1Gbps
    Browser
    Firefox
    Antivirus
    Malwarebytes
Woo Hoo! Glad you got that sorted out.

The joy of activation.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
A lot of great info here. I need to build from scratch a new image of Windows 11 23H2 that does not have any of the MicroSoft added programs, such as Linkedin and Outlook (new). Any kind of help and documentation would be really appreciated.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
A lot of great info here. I need to build from scratch a new image of Windows 11 23H2 that does not have any of the MicroSoft added programs, such as Linkedin and Outlook (new). Any kind of help and documentation would be really appreciated.
Welcome to ElevenForum!

That might be a little bit of a tall order, but I have to admit, I would love to get a better understanding of how this might be accomplished, just for educational purposes.

Someone who seems to be a real expert in this area is @garlin.

@garlin, is this something that you might have the bandwidth to educate us on or maybe point us to some step-by-step docs? I've never had a good grasp on whether or not there is some way to modify the Windows installation or perhaps configure an unattended setup that will prevent those specific apps of the click-to-install icons from appearing with a clean install.

You have already explained the misunderstanding of what setting localization to "World" does (link below), but would you have any info to share on how to actually prevent certain apps and the third-party click-to-install from appearing with a clean install?

 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
For removable Windows default apps, they fall under four distinct categories:

1. Default inbox Apps (UWP packages or Store apps in the image)

The best method is removing inbox Apps from the source image, instead of running a PS command to Remove-AppxPackage in the middle of Windows install. For a non-technical user, the easiest way is to use UUP dump to create the download ISO. UUP dump's scripts now support a config file option to skip adding "Store" Apps, or follow a customized Apps list.

2. Default Win32 App installers in the image (OneDrive)

\Windows\System32\OneDriveSetup.exe is a file provided in the mounted image, but it doesn't get executed until after OOBE. You can remove it from a mounted image, using TrustedInstaller rights. From Unattended, you can script a series of commands to takeown the setup file and remove it from "specialize" pass. If you wait until SetupComplete, it's too late. There's also a self-update scheduled task you need to delete (for cleanup).

There are two types of OneDrive removal scripts, those that work before OneDrive is installed and those for after it's too late. If you find a OneDrive pre-removal script in GitHub, it will show you all the required actions.

3. Default apps installed by USO Scheduler (DevHome, new Outlook)

These apps don't appear in the image, instead USO Scheduler (WU) executes a set of tasks to download and install them. You can reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\Orchestrator\UScheduler_Oobe" subkeys from "specialize". But only remove DevHome and Outlook tasks.

4. 3rd-party app suggestions in your Start Menu (linked apps)

Brink's got a tutorial somewhere which explains all the reg keys required to block Content Delivery Manager from populating 3rd-party suggestions. The "World hack" is just a bug which breaks CDM's provisioning logic so it doesn't know what Start Menu apps to display.
 

My Computer

System One

  • OS
    Windows 7
Thanks, garlin.
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
For #4, you can install a custom Start2.bin exported from a live system, and copy it to the Default User's profile. But Start2.bin (or Start.bin) is an uneditable binary object, so you need to clean up your own Start Menu before capturing the file.
 

My Computer

System One

  • OS
    Windows 7
For #4, you can install a custom Start2.bin exported from a live system, and copy it to the Default User's profile. But Start2.bin (or Start.bin) is an uneditable binary object, so you need to clean up your own Start Menu before capturing the file.
Cool idea. Thanks!
 

My Computers

System One System Two

  • OS
    Win11 Pro 23H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Home Built
    CPU
    Intel i7-11700K
    Motherboard
    ASUS Prime Z590-A
    Memory
    128GB Crucial Ballistix 3200MHz DRAM
    Graphics Card(s)
    No GPU - CPU graphics only (for now)
    Sound Card
    Realtek (on motherboard)
    Monitor(s) Displays
    HP Envy 32
    Screen Resolution
    2560 x 1440
    Hard Drives
    1 x 1TB NVMe Gen 4 x 4 SSD
    1 x 2TB NVMe Gen 3 x 4 SSD
    2 x 512GB 2.5" SSDs
    2 x 8TB HD
    PSU
    Corsair HX850i
    Case
    Corsair iCue 5000X RGB
    Cooling
    Noctua NH-D15 chromax.black cooler + 10 case fans
    Keyboard
    CODE backlit mechanical keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    Additional options installed:
    WiFi 6E PCIe adapter
    ASUS ThunderboltEX 4 PCIe adapter
  • Operating System
    Win11 Pro 23H2
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Mouse
    Buttonless Glass Precision Touchpad
    Keyboard
    Backlit, spill resistant keyboard
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor
I started today and have I yet to see the PE materialize. When I boot from the USB it stops with this error message:
Anybody have a clue what I have done wrong?
 

Attachments

  • 20240219_224520.jpg
    20240219_224520.jpg
    527.7 KB · Views: 5

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    GE76 Dragon Tiamat 11UG-283US
    CPU
    Core i9-11980HK 2.6- 5.0GHz
    Motherboard
    MS-17K3 Rev:1.0
    Memory
    Kingston Fury KF3200C20S4/16G 32GB (16G*2) DDR4 3200MHz
    Graphics Card(s)
    NVIDIA® GeForce® RTX 3070 Laptop
    Sound Card
    Nahimic 4 / Hi-Res Audio
    Monitor(s) Displays
    17.3" FHD 360Hz 3ms, IPS-Level
    Screen Resolution
    1920x1080
    Hard Drives
    Sony 990 Pro 1TB
    Cooling
    MSI Cooler Booster 5
    Keyboard
    Steel Series per-Key RGB with Anti-Ghost key+ silver lining
    Internet Speed
    Spectrum Gig 1000/40
    Browser
    Chrome
    Antivirus
    Windows Defender
    Other Info
    Intel AX210 160 Mhz WIFI 6E
    Killer 3100G 2.5 GB Ethernet Controller
    BT 5.3
The script is expecting your USB drive has a volume named "Setup". Check step 4.2
 

My Computer

System One

  • OS
    Windows 7
Thank you for your quick reply. I will investigate more tomorrow.
This is what I currently have but I must admit I did not follow the tutorial at this point.
 

Attachments

  • Drive 1.jpg
    Drive 1.jpg
    30.7 KB · Views: 2
  • Contents of System.jpg
    Contents of System.jpg
    37.8 KB · Views: 2

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    GE76 Dragon Tiamat 11UG-283US
    CPU
    Core i9-11980HK 2.6- 5.0GHz
    Motherboard
    MS-17K3 Rev:1.0
    Memory
    Kingston Fury KF3200C20S4/16G 32GB (16G*2) DDR4 3200MHz
    Graphics Card(s)
    NVIDIA® GeForce® RTX 3070 Laptop
    Sound Card
    Nahimic 4 / Hi-Res Audio
    Monitor(s) Displays
    17.3" FHD 360Hz 3ms, IPS-Level
    Screen Resolution
    1920x1080
    Hard Drives
    Sony 990 Pro 1TB
    Cooling
    MSI Cooler Booster 5
    Keyboard
    Steel Series per-Key RGB with Anti-Ghost key+ silver lining
    Internet Speed
    Spectrum Gig 1000/40
    Browser
    Chrome
    Antivirus
    Windows Defender
    Other Info
    Intel AX210 160 Mhz WIFI 6E
    Killer 3100G 2.5 GB Ethernet Controller
    BT 5.3
Well I performed steps in 4.2 and it did help. At least now I see Windows Setup, however the joy was short lived. Now I am being told that my computer cannot run windows 11. I have tried several different ISO to populate the Setup partition but all give the same message.
 

Attachments

  • 20240220_005743.jpg
    20240220_005743.jpg
    523.9 KB · Views: 4

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    GE76 Dragon Tiamat 11UG-283US
    CPU
    Core i9-11980HK 2.6- 5.0GHz
    Motherboard
    MS-17K3 Rev:1.0
    Memory
    Kingston Fury KF3200C20S4/16G 32GB (16G*2) DDR4 3200MHz
    Graphics Card(s)
    NVIDIA® GeForce® RTX 3070 Laptop
    Sound Card
    Nahimic 4 / Hi-Res Audio
    Monitor(s) Displays
    17.3" FHD 360Hz 3ms, IPS-Level
    Screen Resolution
    1920x1080
    Hard Drives
    Sony 990 Pro 1TB
    Cooling
    MSI Cooler Booster 5
    Keyboard
    Steel Series per-Key RGB with Anti-Ghost key+ silver lining
    Internet Speed
    Spectrum Gig 1000/40
    Browser
    Chrome
    Antivirus
    Windows Defender
    Other Info
    Intel AX210 160 Mhz WIFI 6E
    Killer 3100G 2.5 GB Ethernet Controller
    BT 5.3
Well I performed steps in 4.2 and it did help. At least now I see Windows Setup, however the joy was short lived. Now I am being told that my computer cannot run windows 11. I have tried several different ISO to populate the Setup partition but all give the same message.
@Kari's solution doesn't bypass W11 Setup's checks for HW requirements.

1. If you're starting from scratch, replace the startnet.cmd script in Step 2.7:
Code:
wpeinit
powercfg /s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c
reg add HKLM\SYSTEM\Setup\LabConfig /v BypassTPMCheck /t REG_DWORD /d 1 /f
reg add HKLM\SYSTEM\Setup\LabConfig /v BypassSecureBootCheck /t REG_DWORD /d 1 /f
reg add HKLM\SYSTEM\Setup\LabConfig /v BypassRAMCheck /t REG_DWORD /d 1 /f
reg add HKLM\SYSTEM\Setup\LabConfig /v BypassCPUCheck /t REG_DWORD /d 1 /f
X:\Scripts\WinSetup.cmd

2. If you have a finished boot.wim on the USB's BOOT volume, mount the image and edit script startnet.cmd.
Code:
mkdir C:\Mount
dism /mount-wim /wimfile:E:\sources\boot.wim /index:1 /mountdir:C:\Mount
notepad C:\Mount\Windows\System32\startnet.cmd
dism /unmount-wim /mountdir:C:\Mount /commit

Mount the correct boot.wim! Updating the Setup volume's boot.wim won't help, it's the Boot volume's copy that counts.
 

My Computer

System One

  • OS
    Windows 7
@garlin thanks for the the information. I will give it try today.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    GE76 Dragon Tiamat 11UG-283US
    CPU
    Core i9-11980HK 2.6- 5.0GHz
    Motherboard
    MS-17K3 Rev:1.0
    Memory
    Kingston Fury KF3200C20S4/16G 32GB (16G*2) DDR4 3200MHz
    Graphics Card(s)
    NVIDIA® GeForce® RTX 3070 Laptop
    Sound Card
    Nahimic 4 / Hi-Res Audio
    Monitor(s) Displays
    17.3" FHD 360Hz 3ms, IPS-Level
    Screen Resolution
    1920x1080
    Hard Drives
    Sony 990 Pro 1TB
    Cooling
    MSI Cooler Booster 5
    Keyboard
    Steel Series per-Key RGB with Anti-Ghost key+ silver lining
    Internet Speed
    Spectrum Gig 1000/40
    Browser
    Chrome
    Antivirus
    Windows Defender
    Other Info
    Intel AX210 160 Mhz WIFI 6E
    Killer 3100G 2.5 GB Ethernet Controller
    BT 5.3
@garlin That fixed it. Thank you for your time.
 

My Computer

System One

  • OS
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    GE76 Dragon Tiamat 11UG-283US
    CPU
    Core i9-11980HK 2.6- 5.0GHz
    Motherboard
    MS-17K3 Rev:1.0
    Memory
    Kingston Fury KF3200C20S4/16G 32GB (16G*2) DDR4 3200MHz
    Graphics Card(s)
    NVIDIA® GeForce® RTX 3070 Laptop
    Sound Card
    Nahimic 4 / Hi-Res Audio
    Monitor(s) Displays
    17.3" FHD 360Hz 3ms, IPS-Level
    Screen Resolution
    1920x1080
    Hard Drives
    Sony 990 Pro 1TB
    Cooling
    MSI Cooler Booster 5
    Keyboard
    Steel Series per-Key RGB with Anti-Ghost key+ silver lining
    Internet Speed
    Spectrum Gig 1000/40
    Browser
    Chrome
    Antivirus
    Windows Defender
    Other Info
    Intel AX210 160 Mhz WIFI 6E
    Killer 3100G 2.5 GB Ethernet Controller
    BT 5.3
O/T - This custom WinPE doesn't follow any autounattend.xml files in the Setup volume, so that's a major problem. The quick fix is to replace upper-case Setup.exe, with lower-case setup.exe.

In Step 2.5, change the PS script:
Code:
$SetupVolume = (Get-Volume -FileSystemLabel Setup).DriveLetter + ':'
$UnattendFile = "$SetupVolume\autounattend.xml"
if (Test-Path $UnattendFile) {
    $SetupFile = "$SetupVolume\sources\setup.exe /unattend:$UnattendFile"
}
else {
    $SetupFile = "$SetupVolume\Setup.exe"
}
cmd /c $SetupFile
 

My Computer

System One

  • OS
    Windows 7
Back
Top Bottom