Sida loo dejiyo ama looga tuuro WIM-da fashilantay ee nidaamka Windows

WIM ama Sawirka Windows(Windows Image) waa qaab sawir diskeedka ku salaysan faylka kaas oo ay samaysay Microsoft si loo geeyo Windows . Si loo fahmo si ka sii wanaagsan, ISO ama VHD waa qaabab ku saleysan waax, halka WIM ay tahay qaab fayl ku saleysan oo saxan ah . Haddii aad ku hirgelinayso faylal badan oo WIM ah kombiyuutaro badan, oo qaarkoodna ay guuldarraystaan, halkan waxaa ah sida bulk loo dejiyo ama loo tuuro WIM-yada(WIMs) fashilmay .

Sababta ay WIM faa'iido u leedahay waa iyada oo qalabkeeda ku tiirsan yahay, waxaad ka dhigi kartaa bootable isticmaalaya WIMBoot . Maadaama bootloader -ka Windows uu taageersan yahay ka-bixitaanka (Windows)Windows -ka gudaha faylka WIM , way fududahay in la geeyo.

Sida loo dejiyo ama loo tuuro WIM-ga fashilmay

Waxaa jira saddex dariiqo oo lagu tuuro ama lagu tuuro WIM-yada guuldarraystay ee bul(WIMs) ahaan nidaamka Windows :

  1. Habka Diiwaanka PowerShell
  2. Isticmaalka habka Dismount-WindowsImage
  3. (Windows PowerShell 7) Habka isbarbardhigga ee (Parallel)Windows PowerShell 7

Waxaad isticmaali kartaa mid ka mid ah hababkan, laakiin kan ugu dambeeya wuxuu la shaqeeyaa PowerShell 7 kaliya.

1] Habka Diiwaanka Powershell

Adam Gross, Microsoft MVP, ayaa dhejiyay habkan(posted this method) . Waxaad isticmaali kartaa habkan si aad u heshid goobta dhammaan sawirada la rakibay, ka soo saar heerka la tuuray, ka dibna ka soo dejiso mid kasta oo iyaga ka mid ah.

Get-ChildItem -Path "HKLM:\SOFTWARE\Microsoft\WIMMount\Mounted Images" | Get-ItemProperty | Select -ExpandProperty "Mount Path" | ForEach-Object {Dismount-WindowsImage -Path $_ -Discard}

Si kastaba ha ahaatee, tani waxay si weyn u tuuri doontaa WIM-yada guuldarraystay mid(WIMs one) mid oo isku xiga waxayna qaadanaysaa ku dhawaad ​​25 sekan.

2] Habka Dismount-WindowsImage

Waa amarka PowerShell kaas oo loo isticmaali karo in lagu tuuro ama lagu keydiyo isbeddelada sawirka Windows , ka dibna laga saaro. Marka ma aha oo kaliya kuwa ku guuldareystay, laakiin sidoo kale waxay u shaqeysaa dhammaan. Qaybta ugu fiican ayaa ah in ay badbaadin karto gobolka haddii aad qorshaynayso inaad si ku meel gaar ah u dejiso WIM .

Si loo tuuro oo loo dejiyo(To Discard and dismount)

Dismount-WindowsImage
-Path <String>
[-Discard]
[-LogPath <String>]
[-ScratchDirectory <String>]
[-LogLevel <LogLevel>]
[<CommonParameters>]

Si loo badbaadiyo oo loo dejiyo(To Save and Dismount)

Dismount-WindowsImage
-Path <String>
[-Save]
[-CheckIntegrity]
[-Append]
[-LogPath <String>]
[-ScratchDirectory <String>]
[-LogLevel <LogLevel>]
[<CommonParameters>]

Tusaalaha Taliska(Sample Command)

Dismount-WindowsImage -Path "c:\offline" -Discard
  • Jidka: waxay qeexdaa meesha sawirka (Path:)Windows  -ku ku rakiban yahay .
  • Lifaaqa:(Append: )  Goobta faylka .wim ee jira si loogu daro sawirka Windows marka aad soo dejiso halkii aad ka beddeli lahayd sawirka jira.
  • Hubinta daacadnimada(CheckIntegrity) waxay ogaataa oo raadisaa musuqmaasuqa faylka wim

Markaa amarka kama dambaysta ahi hadda wuxuu u ekaan doonaa ( Thanks Manel ) -

Get-WindowsImage -Mounted | ForEach {Measure-Command {Dismount-WindowsImage -Discard -Path $_.Path}}

3] Burk (Bulk)tuurista WIM-yada(WIMs) guul-darreystay iyadoo la adeegsanayo Windows PowerShell 7 Habka Isbarbardhigga(Parallel)

Sida Looga Daro ama Loo Tuuro WIM-yada fashilmay

Waxaa lagu heli karaa horudhac waxaana lagu heli doonaa PowerShell 7Sida laga soo xigtay Merlin(According to Merlin) , habkan cusub ayaa saddex sawir ka soo saaray wax ka yar 10 ilbiriqsi halkii uu ka ahaa ku dhawaad ​​25 ilbiriqsi markii uu si isdaba joog ah u socday.

Get-WindowsImage -Mounted | foreach -Parallel {Measure-Command {Dismount-WindowsImage -Discard -Path $_.Path}}

Kuwani waa qaar ka mid ah hababka ugu fiican ee aad isticmaali karto si aad bul-xadhigto ama u tuurto WIM(WIMs) -yada guuldarraystay hal mar.

Iyadoo furitaanku aysan qaadan waqti badan, laakiin tani waxay noqon kartaa mid aad u weyn geynta Ganacsiga . (Enterprise)Isbeddelka barbar socda wuxuu u noqon doonaa badbaadiyaha nolosha dad badan, maadaama uu boqolkiiba konton ka dhaqso badan yahay habka isku xigxiga.



About the author

Waxaan ahay horumariye mareegaha iyo injineer maqal ah oo leh khibrad 10 sano ka badan. Waxaan ku takhasusay horumarinta barnaamijyada Chrome/Web Audio, iyo sidoo kale codsiyada Discord. Xirfadayda labada dhinacba waxay ii ogolaataa inaan abuuro alaab tayo leh oo ay fududahay in la isticmaalo lana ilaaliyo. Intaa waxaa dheer, waxaan ahay isticmaale khibrad leh oo Discord waxaanan ka shaqaynayay abka in ka badan laba sano hadda.



Related posts