0% found this document useful (0 votes)
81 views

CMD MOUNT Image USE DISM

Uploaded by

pipob00000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views

CMD MOUNT Image USE DISM

Uploaded by

pipob00000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 10

https://terabox.

link/s/1BmTJlru5bG2gPhVDs-VB1g

%temp%

del /q/f/s %TEMP%\

0972705496

zfs8888007

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

Viwe Key Windows 11= wmic path softwareLicensingService get OA3xOriginalProductKey

ipconfig /release

productkey VK7JG-NPHTM-C97JM-9MPGT-3V66T

productkey GWHNB-VWJ4F-933DJ-P3YCF-JHV22

https://g.co/verifyaccount

https://uup.rg-adguard.net/#google_vignette

https://download2266.mediafire.com/
e24mxvp5vrfgnSTDOMDlLUbfW2Fi7tqN5PibjcqDgtD85ksOAZ2VXiiqHB2hM9boqpl_p-
EY9vzu2BeLTIc5fPGkh5FYRJTBQXMcqbkMEFlMxDyh3qNjknGJ90hLQmS-
33SarhngjTXH5drzj9V0Dd_VyXGVnFw7m8728NwfRKcRim2v/di5wlnda0dpwxbp/
Anhdv_Boot_Free_24.3.7z

Disk Cleanup

+++ PowerISO Y9N78-YR4PD-NF45C-N162S-5WU8S +++

+++ UltraISO 9.6.5.3237 Serial Keys +++

Registration name: Home


Registration code: 4BA9-0D54-214A-C938

Registration name: Heinzdieter Beckmann Jr


Registration code: 641D-D430-88E6-A656

Registration name: Steve Olson


Registration code: 2BEC-ED28-82BB-95D7

Registration name: Christopher Wydler


Registration code: 424F-ED23-7C0A-D75B +++

pnputil.exe -e

pnputil.exe -d oem##.inf

wusa.exe

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

bcdedit /set nointegritychecks off

bcdedit /set nointegritychecks on


irm https://massgrave.dev/get | iex

attrib -h -a -s M:\sources\boot.wim

attrib -h -a -s M:\bootmgr

[email protected]

Pipob1639800015127

OSCDIMG -n -d -m H:\ D:\RecoveryISO.ISO

oscdimg.exe -m -o -u2 -udfver102 -bootdata:2#p0,e,b d:\iso_files \boot\


etfsboot.com#pEF,e, b d:\iso_files \efi\microsoft\boot\efisys.bin d:\iso_files d:\
14986PROx64.iso

ftp://192.168.1.40:2121

ftp://192.168.1.49:8080

ftp://192.168.1.40:8080

ftp://192.168.1.42:8080

ftp://192.168.1.195:8080

ftp://192.168.1.195:8181

DISM.exe /Image=K:\ /Get-ProvisioningPackageInfo /PackagePath:E:\Customizations\


usmt.ppkg

DISM.exe /Apply-CustomDataImage /CustomDataImage:E:\Customizations\usmt.ppkg


/ImagePath:K:\ /SingleInstance

Dism /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk0\partition5\Recovery\


WindowsRE\winre.wim /index:1

Dism /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk1\partition4\Recovery\


WindowsRE\winre.wim /index:1

Dism /online /Enable-Feature /FeatureName:"NetFx3"

DISM /Image:F:\Mount/offline /Enable-Feature /FeatureName:NetFx3 /All


/LimitAccess /Source:F:\Windows_11_24H2_Thai_x64v2\sources\sxs

DISM /Image:C:\Mount/offline /Enable-Feature /FeatureName:NetFx3 /All


/LimitAccess /Source:L:\sources\sxs

ndp48-x86-x64-allos-enu.exe /q /norestart

powershell -executionpolicy remotesigned -File fido.ps1

shutdown /r

shutdown /r /o /f /t 00

assign letter=s
remove letter=s

EXPORT WIM SWM FILE

Dism.exe /Get-ImageInfo /ImageFile:install.swm

Dism /export-image /sourceimagefile:ASUS.swm /swmfile:ASUS.swm /sourceindex:1


/destinationimag
efile:C:\install.wim /CheckIntegrity

Dism.exe /export-image /sourceimagefile:ASUS.swm /swmfile:ASUS.swm


/sourceindex:1 /destinationimagefile:install.wim /CheckIntegrity

Dism.exe /export-image /sourceimagefile:ASUS.swm /swmfile:ASUS.swm


/sourceindex:1 /destinationimagefile:E:\install.wim /CheckIntegrity

Dism /Split-Image /ImageFile:H:\Recovery\RecoveryImage\ASUS.swm /SWMFile:E:\


sources\install.swm /FileSize:3900

Dism /Split-Image /ImageFile:C:\install.wim /SWMFile:F:\Windows_11_24H2_Thai_x64v2\


sources\install.swm /FileSize:3800

Dism /Split-Image /ImageFile:G:\install.wim /SWMFile:L:\sources\install.swm


/FileSize:3800

Dism /export-image /SourceImageFile:I:\sources\install.esd /SourceIndex:11


/DestinationImageFile:D:\EXPORT\install.wim /Compress:max /CheckIntegrity

BACKUP DRIVER
DISM /online /export-driver /destination:C:\DriverBackup

DISM /Export-Image /SourceImageFile:C:\install.wim /SourceIndex:1


/DestinationImageFile:C:\install.e
sd /Compress:recovery /CheckIntegrity

diskpart /s D:\GPTConfig.txt

Mount = dism /Mount-Wim /wimfile:d:\sources\install.wim /index:4 /mountdir:d:\temp\


wimmount

Umount = dism /Unmount-Wim /mountdir:d:\temp\wimmount /commit

Mount = dism /Mount-Wim /wimfile:G:\install.wim /index:1 /mountdir:E:\wimmount

Split the file = Dism /Split-Image /ImageFile:I:\sources\install.wim /SWMFile:H:\


sources\install.swm /FileSize:3700

Apply-Image = Dism /Apply-Image /ImageFile:F:\sources\install.wim /Index:1


/ApplyDir:C:\

Dism /Apply-Image /ImageFile:D:\ESD2WIM-WIM2ESD\


install.wim /Index:1 /ApplyDir:C:\
Dism /Apply-Image /ImageFile:H:\Recovery\RecoveryImage\
ASUS.swm /Index:1 /ApplyDir:I:\Mount\offline\

Apply-Image-SWM = Dism /Apply-Image /ImageFile:D:\sourecs\install.swm /SWMFile:D:\


sourecs\install*.swm /Index:1 /ApplyDir:C:\

InputLocale: 0409:00000409;041e: 0000041e


https://tb.rg-adguard.net/public.php

https://dw.uptodown.net/dwn/oRAIxyGvkGly74OTR730vnR0DO-
ht2S3_jg6OnhJ99nJSyr27yYR_whrp0M6bhqhatyPcTMbrNjq7nUiJ7I9UQL1uMWd-
3d25iEgD1EaMyRSni3mvKrYusXWztpyruoF3Rg3CrZ/
WYEm58bEcFuh7VZ_33U2_lVUPJw8dg9ma0Qc5iG8NY0ejCLK8DUq4oO3tXLqt78RIWJhdvM1U93k-
0Bz1tvrD7yW2LfQ6JgsQalKB_5wETndG1p9Yw93SO_SAk3Mx_VB/
bRAcnieI5XGCec2FkzaSBQvHQ9bmaZoz03wEJ05GlRVw_9JJJSEbUYYvs41QHOvjMTbTD2_UUFyj_dAsxFa
Ht2YTUB4uQWPjpJ52Onvt3Jo=/google-chrome-123-0-6312-59.exe

https://dl.google.com/tag/s/appguid%3D%7B8A69D345-D564-463C-AFF1-A69D9E530F96%7D
%26iid%3D%7B8429FDA2-0CC3-7738-95A1-8FA7BE080465%7D%26lang%3Dth%26browser
%3D4%26usagestats%3D1%26appname%3DGoogle%2520Chrome%26needsadmin%3Dprefers%26ap
%3Dx64-stable-statsdef_1%26installdataindex%3Ddefaultbrowser/chrome/install/
ChromeStandaloneSetup64.exe

Image Version: 10.0.22000.194

Feature Information:

Feature Name : NetFx3


Display Name : .NET Framework 3.5 (includes .NET 2.0 and 3.0)
Description : .NET Framework 3.5 (includes .NET 2.0 and 3.0)
Restart Required : Possible
State : Disabled with Payload Removed

Custom Properties:

FWLink : http://go.microsoft.com/fwlink/?LinkId=296822

Dism /Capture-Image /ImageFile:C:\install.wim /CaptureDir:H:\ /Name:My-Windows-


partition

Dism /Capture-Image /ImageFile:C:\install.wim /CaptureDir:I:\Mount\offline\


/Name:Windows11-Pro

Dism /Capture-Image /ImageFile:C:\install.wim /CaptureDir:D:\ /Name:My-Windows-


partition /ConfigFile:C:\WimScript.ini

Dism /Capture-Image /ImageFile:C:\MyASUS_WinRE.wim /CaptureDir:M:\


/Name:MyASUS_WinRE /ConfigFile:D:\Bootice\WimScript.ini

diskpart /s CreatePartitions-UEFI.txt

DISM /image:C:\ /optimize-image /boot

Dism /Capture-Image /ImageFile:C:\my-windows-partition.wim /CaptureDir:C:\


/Name:My-Windows-partition
Dism /Capture-Image /ImageFile:C:\my-system-partition.wim /CaptureDir:S:\ /Name:My
system partition
Dism /Capture-Image /ImageFile:C:\install.wim /CaptureDir:C:\Mount\offline\
/Name:ASUS /ConfigFile:D:\WimScript.ini

Dism /Apply-Image /ImageFile:I:\sources\install.wim /Index:1 /ApplyDir:C:\


Dism /Apply-Image /ImageFile:N:\Images\my-windows-partition.wim /Index:1
/ApplyDir:W:\

W:\Windows\System32\bcdboot W:\Windows /s S:
dism /Apply-Image /ImageFile:N:\Images\my-system-partition.wim /Index:1
/ApplyDir:S:\

W:\Windows\System32\reagentc /setreimage /path R:\Recovery\WindowsRE /target W:\


Windows

++ reagentc /enable /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\


WindowsRE /target C:\Windows ++

reagentc /setreimage /path \\?\GLOBALROOT\device\harddisk0\partition4\Recovery\


WindowsRE /target C:\Windows

Reagentc /setosimage /path \\?\GLOBALROOT\device\harddisk0\partition6\Recovery\


RecoveryImage /index 1 /target C:\Windows

Dism /Get-ImageInfo /ImageFile:\\?\GLOBALROOT\device\harddisk1\partition6\Recovery\


RecoveryImage\ASU
S.swm /index:1

https://u.pcloud.link/publink/show?code=XZyXwaVZQv7rGe6mgfRr7TOkycLf0SBGw3uy

###MOUNT WIM ADD PROGRAMFILE###

1= Dism /Mount-Image /ImageFile:F:\Windows_11_24H2_Thai_x64v2\sources\


install.wim /Index:1 /MountDir:F:\Mount\offline
Dism /Mount-Image /ImageFile:C:\install.wim /Index:1 /MountDir:D:\Mount\
offline
Dism /Mount-Image /ImageFile:C:\ASUS.swm /Index:1 /MountDir:C:\Mount\offline
Dism /Mount-Image /ImageFile:E:\ASUS.swm /Index:1 /MountDir:C:\Mount\offline
Dism /Mount-Image /ImageFile:E:\ASUS.esd /Index:1 /MountDir:C:\Mount\offline
Dism /Mount-Image /ImageFile:E:\install.wim /Index:1 /MountDir:E:\Mount\
offline
Dism /Mount-Image /ImageFile:H:\Recovery\RecoveryImage\ASUS.swm /Index:1
/MountDir:E:\Mount\offline
Dism /Mount-Image /ImageFile:H:\sources\install.wim /Index:1 /MountDir:C:\
Mount\offline
Dism /Append-Image /ImageFile:C:\ASUS.swm /CaptureDir:Z:\ /Name:Windows_11_Pro
Dism /Append-Image /ImageFile:C:\installx64.esd /CaptureDir:C:\Mount\
offline\ /Name:Windows_11_Pro

Dism /Image:C:\Mount\offline /cleanup-image /StartComponentCleanup /ResetBase


Dism /Unmount-Image /MountDir:C:\Mount\offline /Commit
Dism /Export-Image /SourceImageFile:C:\install.wim /SourceIndex:1
/DestinationImageFile:C:\install_cleaned.wim

Dism /Image:F:\ /Add-Package /PackagePath:"C:\UUPs\Windows11.0-KB5041585-


x64.msu"

Dism /Online /Add-ProvisionedAppxPackage /PackagePath:C:\Users\พิภพ กลัด


ภิรมย์\Downloads\Microsoft.UI.Xaml.2.8_8.2310.30001.0_x64__8wekyb3d8bbwe.Appx
/Region:"all" /SkipLicense

2= Dism /Image:E:\Mount\offline /Add-ProvisionedAppxPackage /PackagePath:E:\Apps\


apps.Msix /DependencyPackagePath:E:\Apps\apps.appx /Region:"all" /SkipLicense

3= Dism /Image:c:\test\offline /Add-ProvisionedAppxPackage /PackagePath:c:\


downloads\
PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0.Msix
/DependencyPackagePath:c:\downloads\dependency2.appx /Region:"all" /SkipLicense

Dism /Image:C:\Mount\offline /LogPath:AddPackage.log /Add-Package


/PackagePath:C:\11.21H2.x64\windows10.0-kb5037770-
x64655322ebb711b6d14cd4497b019847b850096550.msu

4= Dism /Image:E:\Mount\offline /Get-ProvisionedAppxPackages

4.1= Dism /Image:E:\Mount\offline /Remove-ProvisionedAppxPackage


/PackageName:microsoft.devx.appx.app1_1.0.0.0_neutral_ac4zc6fex2zjp

5= Dism /Unmount-Image /MountDir:E:\Mount\offline /Commit

Dism /Unmount-Image /MountDir:C:\Mount\offline /Commit

6= Dism /Unmount-Image /MountDir:E:\Mount\offline /Discard

6.1=Dism /Image:F:\Mount\offline /Add-Driver /Driver:F:\DRIVERS /Recurse


Dism /Image:C:\Mount\offline /Add-Driver /Driver:E:\DRIVERS /Recurse

7= Dism /Image:E:\Mount\offline /Get-TargetEditions

7= Dism /Image:E:\Mount\offline /Set-Edition:Professional

Dism /Image:C:\Mount\offline /Get-CurrentEdition

Dism /Image:F:\Mount\offline /Get-Features

Dism /Online /Get-Packages

Dism /Image:C:\Mount\offline /Get-Drivers

Dism /image:C:\Mount\offline /Apply-Unattend:H:\26100.560.240510-


1633.GE_RELEASE_SVC_PROD1_CLIENTPRO_OEMRET_X64FRE_TH-TH\Panther\unattend.xml

Dism /image:C:\Mount\offline /Apply-Unattend:C:\unattend.xml

8=

winget upgrade --all

winget upgrade --accept-source-agreements

winget upgrade --accept-package-agreements

Microsoft.DesktopAppInstaller
Microsoft.DesktopAppInstaller_1.22.11261.0_x64__8wekyb3d8bbwe

winget install Microsoft.VisualStudioCode (--skip-dependencies)

winget install --id=Microsoft.VisualStudio.2022.Professional.Preview -e

winget install 9NKSQGP7F2NH -s msstore

winget install Microsoft.PowerToys -s winget

winget install --scope machine Microsoft.PowerToys -s winget


winget search Microsoft.DotNet

winget install CentStudio.CentBrowser

winget install Google.Chrome.EXE

winget install --id=SomePythonThings.WingetUIStore -e

winget install Google.PlatformTools

winget install ViGEm.ViGEmBus

winget install daynix.UsbDk

winget install Google.ChromeRemoteDesktopHost

winget install Tonec.InternetDownloadManager

winget install --id=SoftDeluxe.FreeDownloadManager -e

winget install Microsoft.PowerShell

winget install CentStudio.CentBrowser

winget install Microsoft.DotNet.Runtime.Preview

winget upgrade

winget install wingetcreate

winget install Asus.ArmouryCrate

winget install Google.Chrome

winget install --id=Google.ChromeRemoteDesktop -e

winget install Baidu.TeraBox

winget install Notepad++.Notepad++

winget install RARLab.WinRAR

winget install 7zip.7zip

winget install Tonec.InternetDownloadManager

winget install Nvidia.GeForceExperience

winget install MiniTool.PartitionWizard.Free

winget install Nlitesoft.NTLite

winget install Microsoft.DotNet.Runtime.6

winget install Microsoft.VCRedist.2015+.x86

winget install Microsoft.VCRedist.2015+.x64

winget install Microsoft.DotNet.Runtime.6


winget install Microsoft.PowerShell

winget install Valve.Steam

winget install PowerSoftware.PowerISO

winget install Oracle.VirtualBox

winget install winaero.tweaker

winget install vmware.workstationpro

winget list --name vmware

winget install Git.Git --source winget

winget install --id Git.Git -e --source winget

winget list --name vmware

https://www.poweriso.net/PowerISO8-x64.exe

choco install powershell.portable --version 7.1.3 -y

choco install powershell.portable

https://www.microsoft.com/store/productId/9NB9M5KZ8SLX?ocid=pdpshare

https://www.microsoft.com/store/productId/9MXWSC5753XL?ocid=pdpshare

https://www.microsoft.com/store/productId/9MZNG5HZWZ1T?ocid=pdpshare

https://www.microsoft.com/store/productId/9P7QFQMJRFP7?ocid=pdpshare

https://www.microsoft.com/store/productId/9NT1ZBBV6WH6?ocid=pdpshare

https://www.microsoft.com/store/productId/9P23CGTPVNLB?ocid=pdpshare

https://www.microsoft.com/store/productId/9NCVDN91XZQP?ocid=pdpshare

https://www.microsoft.com/store/productId/9NMBWGHTQMPD?ocid=pdpshare

winget install
https://dl.google.com/dl/edgedl/chrome-remote-desktop/chromeremotedesktophost.msi
winget install
https://dl.google.com/release2/chrome/achddwdytcc5oxkg573oe6vcctqq_124.0.6367.119/1
24.0.6367.119_chrome_installer.exe

###POWERSHELL INSTALL GOOGLE CHROME

$LocalTempDir = $env:TEMP; $ChromeInstaller = "ChromeInstaller.exe"; (new#object


System.Net.WebClient).DownloadFile('http://dl.google.com/chrome/install/375.
126/chrome_installer.exe', "$LocalTempDir\$ChromeInstaller"); &
"$LocalTempDir\$ChromeInstaller" /silent /install; $Process2Monitor =
"ChromeInstaller"; Do { $ProcessesFound = Get-Process | ?{$Process2Monitor -
contains $_.Name} | Select-Object -ExpandProperty Name; If ($ProcessesFound)
{ "Still running: $($ProcessesFound -join ', ')" | Write-Host; Start-Sleep -
Seconds 2 } else { rm "$LocalTempDir\$ChromeInstaller" -ErrorAction
SilentlyContinue -Verbose } } Until (!$ProcessesFound)

###Powershell Install GIT

winget install --id Git.Git -e --source winget

### REPIAR WINDOWS 11 ####

DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth

DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\install.wim

DISM /Online /Cleanup-Image /RestoreHealth /Source:D:\install.wim /LimitAccess

SFC /scannow

###Install the Windows ADK offline Using the command line###

###USE POWER SHELL###

Download-AppxPackage "https://apps.microsoft.com/detail/9NKSQGP7F2NH"
"$ENV:USERPROFILE\Desktop"

PowerShell cmdlet ยังสามารถใช้เพื่อติดตั้งแอปพลิเคชัน APPX และการขึ้นต่อกันของ


แอปพลิเคชัน สามารถติดตั้งแพ็คเกจ APPX/MSIX แยกต่างหากจากไฟล์ได้โดยใช้คำสั่งต่อไป
นี้

add-appxpackage –path "C:\Distr\WhatsApp\


5319275A.WhatsAppDesktop_2.2401.5.0_neutral_~_cv1g1gvanyjgm.Msixbundle"

คุณสามารถใช้ PowerShell เพื่อติดตั้งไฟล์ appx/appxbundle หลายไฟล์และการขึ้นต่อกัน


ของไฟล์เหล่านั้นจากไดเรกทอรีต้นทางพร้อมกัน

$Path = 'C:\distr\WhatsApp\
Get-Childitem $Path -filter *.appx| %{Add-AppxPackage -Path $_.FullName}
Get-Childitem $Path -filter *.appxbundle | %{Add-AppxPackage -Path $_.FullName}

ตรวจสอบเวอร์ชัน winget ที่ติดตั้งโดยใช้คำสั่งนี้:

winget --version

ต่อไปนี้เป็นคำสั่งพื้นฐาน winget:

winget install <package> — ติดตั้งแพ็คเกจ


winget uninstall <package> - ถอดแพ็คเกจออก
winget upgrade– อัพเดตแพ็คเกจซอฟต์แวร์
winget list– แสดงรายการแอพที่ติดตั้งบน Windows
winget show <package>— แสดงข้อมูลแพ็คเกจ
winget source <options> - จัดการที่เก็บข้อมูล
winget search <search_string> — ค้นหาแพ็คเกจในที่เก็บ
winget export– ส่งออกรายการโปรแกรมที่ติดตั้งเป็นไฟล์
winget import– การติดตั้งโปรแกรม (แพ็คเกจ) ตามรายการในไฟล์
winget hash <package>— รับแฮชตัวติดตั้งแพ็คเกจ
winget validate <package> — เพื่อตรวจสอบไฟล์รายการ
winget import -i C:\installedapps.json --ignore-versions

You might also like