Difference between revisions of "Damme's windows stuff"
From World Wide Wiegert Wiki - WWWW
(Created page with "== Fixes == * Win 11 explorer https://github.com/valinet/ExplorerPatcher") |
(→DISM) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== DISM == | |||
<syntaxhighlight lang="powershell" line="1"> | |||
# https://www.risual.com/2022/03/adding-surface-drivers-to-windows-image/ | |||
Mount-WindowsImage -Path C:\Temp\surface\mount\ -ImagePath .\boot.wim -Index 1 | |||
Mount-WindowsImage -Path C:\Temp\surface\mount\ -ImagePath .\boot.wim -Index 2 | |||
dism /export-image /SourceImageFile:"install.esd" /SourceIndex:6 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity | |||
Mount-WindowsImage -Path C:\Temp\surface\mount\ -ImagePath .\install.wim -Index 1 | |||
Add-WindowsDriver -Path C:\Temp\surface\mount\ -Driver C:\Temp\surface\unpacked\SurfaceUpdate\ -Recurse | |||
Dismount-WindowsImage -Path C:\Temp\surface\mount\ -Save | |||
DISM /Export-Image /SourceImageFile:install.wim /SourceIndex:1 /DestinationImageFile:install.esd /DestinationName:"Windows 10 Pro - Surface 5 drivers" /Compress:recovery | |||
DISM /Get-WimInfo /WimFile:"install.esd" | |||
dism /Delete-Image /ImageFile:install.esd /Index:3 | |||
DISM /Export-Image /SourceImageFile:install.wim /SourceIndex:1 /DestinationImageFile:new.esd /Compress:recovery | |||
</syntaxhighlight> | |||
== Fixes == | == Fixes == | ||
* windows debloater https://github.com/Sycnex/Windows10Debloater | |||
* Win 11 explorer https://github.com/valinet/ExplorerPatcher | * Win 11 explorer https://github.com/valinet/ExplorerPatcher | ||
== Other == | |||
* https://github.com/integralfx/MemTestHelper |
Latest revision as of 07:02, 26 August 2023
DISM
# https://www.risual.com/2022/03/adding-surface-drivers-to-windows-image/
Mount-WindowsImage -Path C:\Temp\surface\mount\ -ImagePath .\boot.wim -Index 1
Mount-WindowsImage -Path C:\Temp\surface\mount\ -ImagePath .\boot.wim -Index 2
dism /export-image /SourceImageFile:"install.esd" /SourceIndex:6 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
Mount-WindowsImage -Path C:\Temp\surface\mount\ -ImagePath .\install.wim -Index 1
Add-WindowsDriver -Path C:\Temp\surface\mount\ -Driver C:\Temp\surface\unpacked\SurfaceUpdate\ -Recurse
Dismount-WindowsImage -Path C:\Temp\surface\mount\ -Save
DISM /Export-Image /SourceImageFile:install.wim /SourceIndex:1 /DestinationImageFile:install.esd /DestinationName:"Windows 10 Pro - Surface 5 drivers" /Compress:recovery
DISM /Get-WimInfo /WimFile:"install.esd"
dism /Delete-Image /ImageFile:install.esd /Index:3
DISM /Export-Image /SourceImageFile:install.wim /SourceIndex:1 /DestinationImageFile:new.esd /Compress:recovery
Fixes
- windows debloater https://github.com/Sycnex/Windows10Debloater
- Win 11 explorer https://github.com/valinet/ExplorerPatcher