1. Kyhi

    Kyhi MDL Junior Member

    Jul 16, 2015
    66
    46
    0
    Again - you only need to fix what you broke..
     
  2. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    What do you mean i broke, are you saying that Win10XPE.exe can fix most of what is broken through which settings are selected ? if so post the best settings to use,so can make the best version of Win10XPE,:)
     
  3. Kyhi

    Kyhi MDL Junior Member

    Jul 16, 2015
    66
    46
    0
    You Broke It - You Fix It...
     
  4. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    What did i break ?
     
  5. Ace2

    Ace2 MDL Expert

    Oct 10, 2014
    1,414
    1,193
    60
    All done.

    Registry cleaned, only 5 keys remaining uncleaned. [was 129].
    All broken shortcuts in Control Panel\All Control Panel Items removed.
    Theme & startisback are setup to use nice matching blue color, with a default windows 10 blue wallpaper.
    all explorer setting in registry are set to default.
    Online Movies now work with firefox and now have working Sound.

    Removed [HKEY_LOCAL_MACHINE\S\Microsoft\Windows NT\CurrentVersion\WinPE] from registry so i could do repairs and cleanup with:
    Code:
    Microsoft Windows [Version 10.0.19041.1]
    (c) 2019 Microsoft Corporation. All rights reserved.
    
    C:\Windows\system32>dism /image:C:\mount /cleanup-image /restorehealth
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    [===========================84.9%=================         ] The restore operation completed successfully.
    The operation completed successfully.
    
    C:\Windows\system32>sfc /scannow /offbootdir=C:\mount /offwindir=C:\mount\windows
    
    Beginning system scan.  This process will take some time.
    
    
    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.
    
    C:\Windows\system32>Reg load HKLM\S C:\mount\Windows\System32\config\SOFTWARE
    The operation completed successfully.
    
    C:\Windows\system32>Reg add "HKLM\S\Microsoft\Windows\CurrentVersion\SideBySide\Configuration" /v "DisableResetbase" /t "REG_DWORD" /d "0" /f
    The operation completed successfully.
    
    C:\Windows\system32>Reg unload HKLM\S
    The operation completed successfully.
    
    C:\Windows\system32>dism /image:C:\mount /cleanup-image /startcomponentcleanup
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    C:\Windows\system32>dism /image:C:\mount /cleanup-image /startcomponentcleanup /resetbase
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image Version: 10.0.19041.1
    
    [===========                20.0%                          ]
    The operation completed successfully.
    
    C:\Windows\system32>Reg load HKLM\S C:\mount\Windows\System32\config\SOFTWARE
    The operation completed successfully.
    
    C:\Windows\system32>regedit C:\WinPE.reg
    
    C:\Windows\system32>Reg unload HKLM\S
    The operation completed successfully.
    
    C:\Windows\system32>dism /image:C:\mount /get-features /format:table | find "Enabled" | more
    WinPE-WMI                                    | Enabled
    WinPE-SecureStartup                          | Enabled
    WinPE-TPM                                    | Enabled
    WinPE-StorageWMI                             | Enabled
    WinPE-SRT                                    | Enabled
    WinPE-Scripting                              | Enabled
    WinPE-WDS-Tools                              | Enabled
    WinPE-EnhancedStorage                        | Enabled
    Microsoft-Windows-WinPE-Narrator-Package     | Enabled
    Microsoft-Windows-WinPE-Narrator-Package     | Enabled
    Microsoft-Windows-WinPE-ATBroker-Package     | Enabled
    Microsoft-Windows-WinPE-ATBroker-Package     | Enabled
    Microsoft-Windows-WinPE-SRH-Package          | Enabled
    Microsoft-Windows-WinPE-SRH-Package          | Enabled
    Microsoft-Windows-WinPE-AudioCore-Package    | Enabled
    Microsoft-Windows-WinPE-AudioCore-Package    | Enabled
    Microsoft-Windows-WinPE-AudioDrivers-Package | Enabled
    Microsoft-Windows-WinPE-AudioDrivers-Package | Enabled
    Microsoft-Windows-WinPE-Speech-TTS-Package   | Enabled
    Microsoft-Windows-WinPE-Speech-TTS-Package   | Enabled
    WinPE-HTA                                    | Enabled
    WinPE-Rejuv                                  | Enabled
    WinPE-WiFi                                   | Enabled
    WinPE-FMAPI-Package                          | Enabled
    
    
    C:\Windows\system32>dism /unmount-wim /mountdir:C:\mount /commit
    
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.1
    
    Image File : F:\sources\boot.wim
    Image Index : 1
    Saving image
    [==========================100.0%==========================]
    Unmounting image
    [==========================100.0%==========================]
    The operation completed successfully.
    Looks and feels like a nice clean fresh install of Windows 10.

    All thanks & credit go to the developers of Win10XPE from Ace2 thanks.:cool:
     
  6. sebus

    sebus MDL Guru

    Jul 23, 2008
    6,356
    2,026
    210
    2022-01-07
    Win 10 Pro from 21H1:

    Code:
    CRC32: 8B134636
    MD5: 55CA8AF002FA2F8BC14CB2AAF7743400
    SHA-1: 78AA5FA0FD332EE0822EF5A533CD2CFE12333274
     
  7. vigipirate

    vigipirate MDL Senior Member

    Feb 24, 2011
    350
    87
    10
    Hello Elbé could put a link to the tachy please thank you because reserved to the member?dno registration for having
     
  8. I can't, those are very, very restricted projects. Sorry.
    No registration membership anymore.
    And has never been leaks from any of the project's members.

    In that time 10 years ago when i was developing, i've been many times under hacking attempts.
    Even from chinese military bases.

    I just came here to pay my respect's to this WinPE Project !
     
  9. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    7,155
    21,099
    240
    @edbe

    what the point then of posting link to the site ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. freddie-o

    freddie-o MDL Expert

    Jul 29, 2009
    1,375
    2,277
    60
    #352 freddie-o, Apr 21, 2022
    Last edited: Apr 21, 2022
    (OP)
    Batch script for creating a Win10XPE Bootdisk

    Code:
    <# : standard way of doing hybrid batch + powershell scripts
    @title Win10XPE Bootdisk &color 3E
    @set "__ARGS__=%*" &powershell -noprofile "$ScriptPath='%~f0';iex((Get-Content('%~f0') -Raw))" &exit/b
    #>
    #   This script must be executed with admin privilege
    #   Test Administrator privileges
    If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator"))
    {
        $uac_error="Elevating UAC for Administrator Privileges failed"
        #   The following test is to avoid infinite looping if elevating UAC for Administrator Privileges failed
        if ($env:__ARGS__ -eq $uac_error) {
        read-host "$uac_error`r`nRight click on the script and select ""Run as administrator""`r`nPress Enter to exit...";exit}
    #   Restart the script to get Administrator privileges and exit
        Start-Process "$ScriptPath" $uac_error -Verb runAs; exit
    }
    $pswindow = $host.ui.rawui          # create a reference to the console’s UI.RawUI child object
    $pswindow.windowtitle = ([string]($pswindow.windowtitle -split "^.*  ")).trim() ; $ShortTitle=($pswindow.windowtitle -split " @ .*")[0]
    #
    Add-Type -AssemblyName System.Windows.Forms # Load the class System.Windows.Forms
    # Filebrowser dialog object
    $FileBrowser = New-Object System.Windows.Forms.OpenFileDialog -Property @{
        Multiselect = $false # One file can be chosen
        Filter = 'ISO images (*.iso)|*.iso' # Select only iso files
    }
    #
    Function MsgBox {[System.Windows.Forms.MessageBox]::Show($Args[0],$ShortTitle,$Args[1],$Args[2])}
    #
    clear-host
    $USB=$Null
    $Form=New-Object System.Windows.Forms.Form # Create the screen form (window)
    $Form.TopMost = $True
    # Set the title and size of the window:
    $Form.Text=$ShortTitle
    $Form.Font='Consolas,10'
    $Form.Width=420 ; $Form.Height=270
    $Form.StartPosition = "CenterScreen"
    $Form.SizeGripStyle = "Hide"
    [System.Windows.Forms.Application]::EnableVisualStyles();
    
    # Add a Source Win10XPE ISO label on the form
    $SourceISO=New-Object System.Windows.Forms.Label
    $SourceISO.Location=New-Object System.Drawing.Point(20,30)             
    $SourceISO.Size=New-Object System.Drawing.Size(200,20)
    $SourceISO.text="Source Win10XPE ISO"
    $Form.Controls.Add($SourceISO)
    
    # Add the ISO file name on the form
    $ISOFile=New-Object System.Windows.Forms.Label
    $ISOFile.Location=New-Object System.Drawing.Point(20,50)
    $ISOFile.Text=" "
    $ISOFile.Size=New-Object System.Drawing.Size(364,24)
    $ISOFile.Backcolor = [System.Drawing.Color]::White
    $ISOFile.BorderStyle = [System.Windows.Forms.BorderStyle]::FixedSingle
    $Form.Controls.Add($ISOFile)
    
    # Add a Target USB Disk label on the form
    $TargetUSB=New-Object System.Windows.Forms.Label
    $TargetUSB.Location=New-Object System.Drawing.Point(20,100)
    $TargetUSB.Text="Target USB Disk"
    $TargetUSB.Size=New-Object System.Drawing.Size(200,20)
    $Form.Controls.Add($TargetUSB)
    
    # Create a USB Disk drop-down list and fill it
    $USBDiskList=New-Object System.Windows.Forms.ComboBox
    $USBDiskList.DropDownStyle=[System.Windows.Forms.ComboBoxStyle]::DropDownList;
    $USBDiskList.Location=New-Object System.Drawing.Point(20,120)
    $USBDiskList.Size=New-Object System.Drawing.Size(363,22)
    $Form.Controls.Add($SelectUSBDiskList)
    $USBDisks=@() # array with USB disk number
    #
    $Disks=$Null;While (!$Disks){
        If(!($Disks=Get-Disk | Where-Object {($_.BusType -eq "USB") -and ($_.OperationalStatus -eq "Online")})){
        If((MsgBox "Plug in your USB disk first. `n`nClick OK to continue." "OKCancel" "Information") -eq "Cancel") {exit}}}
    
    # Add a Select ISO button on the form
    $SelectISOButton=New-Object System.Windows.Forms.Button
    $SelectISOButton.Location=New-Object System.Drawing.Point(20,185)
    $SelectISOButton.Text="Select ISO"                       
    $SelectISOButton.Size=New-Object System.Drawing.Size(110,26)
    $Form.Controls.Add($SelectISOButton)
    
    # Add a Create Bootdisk button on the form
    $CreateDiskButton=New-Object System.Windows.Forms.Button
    $CreateDiskButton.Location=New-Object System.Drawing.Point(140,185)
    $CreateDiskButton.Text="Create Bootdisk"
    $CreateDiskButton.Size=New-Object System.Drawing.Size(155,26)
    $Form.Controls.Add($CreateDiskButton)
    $CreateDiskButton.Enabled = $false
    $CreateDiskButton.DialogResult = [System.Windows.Forms.DialogResult]::OK
    
    # Add a Cancel button on the form
    $CancelButton=New-Object System.Windows.Forms.Button
    $CancelButton.Location=New-Object System.Drawing.Point(305,185)
    $CancelButton.Text="Cancel"                     
    $CancelButton.Size=New-Object System.Drawing.Size(80,26)
    $Form.Controls.Add($CancelButton)
    $CancelButton.DialogResult = [System.Windows.Forms.DialogResult]::Cancel
    #
    $SelectISOButton.Add_Click({
        If ($FileBrowser.ShowDialog() -ne "Cancel"){ # if Cancel, just ignore
            $Global:ImagePath = $FileBrowser.filename    # return the file name
            $ISOFile.Text= Split-Path -Path $ImagePath -leaf # extract filename and extension (iso)
            if (($ISOFile.Text).length -gt 44) {$ISOFile.Text = $ImagePath.PadRight(100," ").substring(0,43)+"..."}
            $CreateDiskButton.Enabled = $true
            $CreateDiskButton.Focus()}})
    
    Foreach ($USBDisk in $Disks) {
        $FriendlyName=($USBDisk.FriendlyName).PadRight(40," ").substring(0,39)
        $USBDisks+=$USBDisk.DiskNumber
        $USBDiskList.Items.Add(("{0,-39}{1:n2} GB" -f $FriendlyName,($USBDisk.Size/1GB)))|out-null
        If ($Partitions) {
            Foreach ($Partition in $Partitions) {
            If(!$Partition.DriveLetter){$AccessPath="  "} Else {$AccessPath=$Partition.DriveLetter+":"}
            $Volumes=get-volume | Where-Object {$Partition.AccessPaths -contains  $_.path }
                Foreach ($Volume in $Volumes) {
                    $USBDisks+=$USBDisk.DiskNumber
                    $USBDiskList.Items.Add(("{0,0}({1,2}){2,-32}[{3:n2} GB]" -f " ", ($AccessPath), $Volume.FileSystemLabel.PadRight(25," ").substring(0,25), ($Partition.Size/1GB)))|out-null
                }
            }
        }
    }
    $form.Controls.Add($USBDiskList)
    $USBDiskList.SelectedIndex=0
    #
    $Groupbox=New-Object System.Windows.Forms.Groupbox # Add a group box on the form
    $Groupbox.Location=New-Object System.Drawing.Point(7,0)
    $Groupbox.Text=""
    $Groupbox.Size=New-Object System.Drawing.Size(390,225)
    $Form.Controls.Add($Groupbox)
    #
    @"
    1. Select ISO (Source Win10XPE ISO)
    
    2. Select Target USB disk
    
    3. Create Bootdisk
    "@| Write-Host
    #
    if($form.ShowDialog() -eq "Cancel") {MsgBox "The script was cancelled." "OK" "Information"|out-Null;exit}
    #
    # At this point the mounted USB disk and the iso image file path are defined
    #
    $USB=$USBDisks[$USBDiskList.SelectedIndex]
    #
    If((MsgBox "WARNING! `n`nYour USB disk will be converted to MBR scheme, repartitioned and reformatted.`n`nAll partitions and data currently stored in the USB disk will be erased.`r`n`r`nAre you sure you want to continue?" "YESNO" "Warning") -eq "NO"){exit}
    # Mount the image file if not already mounted and get the drive letter
    #
    #   Check if iso already mounted by getting driveletter
    If($ISO=(Get-DiskImage -ImagePath $ImagePath | Get-Volume).DriveLetter){$Mounted=$True}    Else
    #    Mount iso and get drive letter
        {$Mounted=$False; Mount-DiskImage -ImagePath $ImagePath -StorageType ISO |out-null
         If(!($ISO=(Get-DiskImage -ImagePath $ImagePath | Get-Volume).DriveLetter)){Exit}}
    $ISO=$ISO+":"
    #
    Clear-Host
    #    Clear the USB disk
    Clear-Disk $usb -RemoveData -RemoveOEM -Confirm:$false
    set-disk $usb -partitionstyle mbr
    #
    Stop-Service ShellHWDetection -erroraction silentlycontinue|out-null
    #    Create the fat32 boot partition
    $usbfat32=(New-Partition -DiskNumber $usb -UseMaximumSize -AssignDriveLetter -IsActive | Format-Volume -FileSystem FAT32 -NewFileSystemLabel "Win10XPE").DriveLetter + ":"
    robocopy $iso $usbfat32 /e
    Start-Service ShellHWDetection -erroraction silentlycontinue|out-null
    # Eject the mounted iso image if it was loaded by the script
    If(!$Mounted){DisMount-DiskImage -ImagePath $ImagePath |out-null}
    MsgBox (($ShortTitle -split " @.*")[0]+" was created successfully.") "OK" "Information" |Out-Null;exit
    
     
  11. chrisr

    chrisr Win10XPE Developer

    Dec 1, 2009
    54
    220
    0
  12. Atari800XL

    Atari800XL MDL Addicted

    Apr 3, 2011
    960
    1,678
    30
    Hello ChrisR, what a great surprise! Thank you very much for keeping the package up to date.

    I wonder if the German "C't Magazin" is planning another magazine-based release of their "Notfall" (Emergency/ Rescue) Windows project this year, or early next year. Of course, we all know their release is basically just your Win10XPE project, with a few extra tools. But still, nice to see your project getting some extra exposure every year, I just hope they give you enough credit for it. I do remember contacting them to make sure they mentioned your name, and the fact that you accept donations. On the other hand, I also know you never received a lot from them.
    I had a quick look to check the dates of their historical releases (the magazine has 26 issues per year, so if you double the number you know the release week). These are the issue numbers:
    2016-26, 2017-21, 2018-22, 2019-22, 2020-26, 2022-02.

    None of this is of any importance to the project of course, I just saw on their website that they offer a free trial subscribtion, so I was just wondering how I should time that to receive the magazines with *your* project inside :)
    I guess they will make it "Notfall Windows 2023" with a release early next year.

    Again: not very relevant to this thread, just wondered about this magazine, haven't read it in a few years, but I do remember reading about Win7PESE for the first time in C't in 2014. I was so impressed with the nice pictures of the project. Hundreds upon hundreds of check boxes and radio buttons to customize every little setting...

    (If there are any German C't readers around here, anybody know of an archive of PDFs of the issues from the last few years? Might be fun to browse through, I do have all the issues before that time)
     
  13. Magmarock

    Magmarock MDL Member

    Oct 12, 2016
    175
    22
    10
    Hey thanks for the breakdown. I'll have to check these out, yep.
     
  14. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    Anyone knows how to set Explorer folder "details" view as default on this latest Win10XPE_2022-09-22 update project?
     
  15. ericgl

    ericgl MDL Senior Member

    Mar 10, 2011
    251
    189
    10
    Load the WinPE's ntuser.dat as USER_PE and apply the following reg file:
    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_USERS\USER_PE\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams]
    "Settings"=hex:08,00,00,00,04,00,00,00,01,00,00,00,00,77,7e,13,73,35,cf,11,ae,\
      69,08,00,2b,2e,12,62,04,00,00,00,02,00,00,00,43,00,00,00
    
    [HKEY_USERS\USER_PE\Software\Microsoft\Windows\CurrentVersion\Explorer\Streams\Defaults]
    "{5C4F28B5-F869-4E84-8E60-F11DB97C5CC7}"=hex:1c,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,f1,f1,f1,f1,14,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,18,03,00,00,14,03,00,00,31,53,50,53,05,\
      d5,cd,d5,9c,2e,1b,10,93,97,08,00,2b,2c,f9,ae,83,00,00,00,22,00,00,00,00,47,\
      00,72,00,6f,00,75,00,70,00,42,00,79,00,4b,00,65,00,79,00,3a,00,46,00,4d,00,\
      54,00,49,00,44,00,00,00,08,00,00,00,4e,00,00,00,7b,00,30,00,30,00,30,00,30,\
      00,30,00,30,00,30,00,30,00,2d,00,30,00,30,00,30,00,30,00,2d,00,30,00,30,00,\
      30,00,30,00,2d,00,30,00,30,00,30,00,30,00,2d,00,30,00,30,00,30,00,30,00,30,\
      00,30,00,30,00,30,00,30,00,30,00,30,00,30,00,7d,00,00,00,00,00,33,00,00,00,\
      22,00,00,00,00,47,00,72,00,6f,00,75,00,70,00,42,00,79,00,44,00,69,00,72,00,\
      65,00,63,00,74,00,69,00,6f,00,6e,00,00,00,13,00,00,00,01,00,00,00,5b,00,00,\
      00,0a,00,00,00,00,53,00,6f,00,72,00,74,00,00,00,42,00,00,00,1e,00,00,00,70,\
      00,72,00,6f,00,70,00,34,00,32,00,39,00,34,00,39,00,36,00,37,00,32,00,39,00,\
      35,00,00,00,00,00,1c,00,00,00,01,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,\
      60,8c,9e,eb,ac,0a,00,00,00,01,00,00,00,25,00,00,00,14,00,00,00,00,47,00,72,\
      00,6f,00,75,00,70,00,56,00,69,00,65,00,77,00,00,00,0b,00,00,00,00,00,00,00,\
      1b,00,00,00,0a,00,00,00,00,4d,00,6f,00,64,00,65,00,00,00,13,00,00,00,04,00,\
      00,00,23,00,00,00,12,00,00,00,00,49,00,63,00,6f,00,6e,00,53,00,69,00,7a,00,\
      65,00,00,00,13,00,00,00,10,00,00,00,05,01,00,00,10,00,00,00,00,43,00,6f,00,\
      6c,00,49,00,6e,00,66,00,6f,00,00,00,42,00,00,00,1e,00,00,00,70,00,72,00,6f,\
      00,70,00,34,00,32,00,39,00,34,00,39,00,36,00,37,00,32,00,39,00,35,00,00,00,\
      00,00,c0,00,00,00,fd,df,df,fd,10,00,00,00,00,00,00,00,00,00,00,00,07,00,00,\
      00,18,00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0a,00,00,00,\
      4d,02,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0c,00,00,00,50,\
      00,00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,04,00,00,00,78,00,\
      00,00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0f,00,00,00,81,00,00,\
      00,30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0e,00,00,00,82,00,00,00,\
      30,f1,25,b7,ef,47,1a,10,a5,f1,02,60,8c,9e,eb,ac,0d,00,00,00,40,00,00,00,02,\
      d5,cd,d5,9c,2e,1b,10,93,97,08,00,2b,2c,f9,ae,0f,00,00,00,7a,00,00,00,2f,00,\
      00,00,1e,00,00,00,00,47,00,72,00,6f,00,75,00,70,00,42,00,79,00,4b,00,65,00,\
      79,00,3a,00,50,00,49,00,44,00,00,00,13,00,00,00,00,00,00,00,1f,00,00,00,0e,\
      00,00,00,00,46,00,46,00,6c,00,61,00,67,00,73,00,00,00,13,00,00,00,11,00,20,\
      41,31,00,00,00,20,00,00,00,00,4c,00,6f,00,67,00,69,00,63,00,61,00,6c,00,56,\
      00,69,00,65,00,77,00,4d,00,6f,00,64,00,65,00,00,00,13,00,00,00,01,00,00,00,\
      00,00,00,00,00,00,00,00
    
     
  16. Mr.X

    Mr.X MDL Guru

    Jul 14, 2013
    8,575
    15,646
    270
    I was able to load ntuser.dat, merge the reg file and then unload the hive/dat.
    However re-building the project overwrites the edited ntuser.dat.
    I can't manage to integrate ntuser.dat into the project without being overwritten.