- Raport z laboratorium SO
- Ćwiczenie "Instalacja systemu Windows"
- 05.10.2020 Marcin Żmuda gr. 4 SSI
- **********************************
- Odpowiedzi na pytania
- **********************************
- 1. Do czego służy narzędzie WSIM?
- Narzędzie WSIM (Windows System Image Manager) służy do konfiguracji instalacji
- systemu Windows podczas samej instalacji. Tzn. podczas instalacji, gdy jest ona
- zatrzymywana, aby otrzymać jakieś informacje (np. klucz licencji), Można za pomocą
- tego narzędzia przekazać te informacje.
- Za jej pomocą tworzymy pliki odpowiedzi, które pozwalają na instalację systemu w trybie
- nienadzorowanym.
- 2. Co zawiera plik install.wim?
- WIM (Windows Imaging Format) - Format pliku służący do przechowywania obrazów systemów.
- Od systemu Windows Vista, jest to plik który pozwala na zainstalowanie tego systemu na
- komputerze, na podstawie przechowywanego obrazu systemu.
- 3. Jaką postać ma plik odpowiedzi?
- Plik odpowiedzi jest plikiem o rozszerzeniu xml
- 4. Czy można dodać nowy driver do instalacji poprzez plik odpowiedzi?
- Można dodać nowy driver.
- **********************************
- Odpodiedzi do zadania 2
- **********************************
- Sprawdzić jakie drivery są dostępne w obrazie (/get-drivers)
- Zauważyłem np. driver do drukarki z 2006 roku:
- C:Windowssystem32>dism /online /get-drivers
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- Obtaining list of 3rd party drivers from the driver store...
- Driver packages listing:
- Published Name : oem0.inf
- Original File Name : prnms009.inf
- Inbox : No
- Class Name : Printer
- Provider Name : Microsoft
- Date : 21.06.2006
- Version : 10.0.14393.0
- *
- *
- *
- Published Name : oem4.inf
- Original File Name : wdma_int.inf
- Inbox : No
- Class Name : MEDIA
- Provider Name : Microsoft
- Date : 29.07.2008
- Version : 6.0.6001.18000
- The operation completed successfully.
- Czy da się za pomocą narzędzia DISM dodać nowy driver do obrazu instalacyjnego?
- Tak, za pomocą komendy add-driver.
- C:Windowssystem32>dism /online /add-driver /?
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- /Add-Driver {/Driver:<folder_containing_INF> | /Driver:<path_to_driver.inf>}
- [/recurse] [/ForceUnsigned]
- Adds drivers to an offline image. Use /recurse to query all subfolders for
- drivers. Use /ForceUnsigned to add unsigned drivers to X64-based images.
- This command is not supported against an online image.
- Examples:
- DISM.exe /Image:C:testoffline /Add-Driver
- /Driver:D:DriversUsbUsb.inf
- DISM.exe /Image:C:testoffline /Add-Driver /Driver:D:Drivers /recurse
- Dodać do obrazu utworzony wcześniej plik odpowiedzi
- Za pomocą komendy apply-unattend
- C:Windowssystem32>dism /online /apply-unattend /?
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- /Apply-Unattend:<path_to_unattend.xml>
- Applies an unattend.xml file to an offline image or a running operating
- system.
- Examples:
- DISM.exe /Image:C:testoffline /Apply-Unattend:C:unattend.xml
- DISM.exe /Online /Apply-Unattend:C:unattend.xml
- Zmienić strefę czasową dla obrazu instalacyjnego
- Za pomocą komendy set-TimeZone:
- C:Windowssystem32>dism /online /set-TimeZone /?
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- /Set-TimeZone:<timezone_name>
- Sets the default time zone in a Windows image. Before setting the time zone,
- DISM verifies that the specified time zone string is valid for the image.
- This command is not supported against an online image.
- Example:
- DISM.exe /Image:C:testoffline /Set-TimeZone:"W. Europe Standard Time"
- Sprawdzić jakie informacje zawarte są w opisie wybranego pakietu
- Najpierw sprawdziłem jakie są dostępne pakiety:
- C:Windowssystem32>dism /online /get-packages
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- Packages listing:
- Package Identity : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
- State : Installed
- Release Type : Language Pack
- Install Time : 16.07.2016 17:01
- *
- *
- *
- A potem sprawdziłem opis pierwszego pakietu:
- C:Windowssystem32>dism /online /Get-PackageInfo /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- Package information:
- Package Identity : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
- Applicable : Yes
- Copyright : Copyright (c) Microsoft Corporation. All Rights Reserved.
- Company :
- Creation Time :
- Description : Fix for KB2839636
- Install Client : DISM Package Manager Provider
- Install Package Name : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0.mum
- Install Time : 16.07.2016 17:01
- Last Update Time :
- Name :
- Product Name : Microsoft-Windows-Client-LanguagePack-Package
- Product Version :
- Release Type : Language Pack
- Restart Required : Possible
- Support Information : http://support.microsoft.com/?kbid=2839636
- State : Installed
- Completely offline capable : Undetermined
- Self servicing package : No
- Capability Identity :
- Custom Properties:
- LPTargetSPLevel : 0
- LPType : Client
- Features listing for package : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
- (No features found for this package)
- The operation completed successfully.
- Dowiedziałem się, że został zainstalowany w 2016 roku. Prawa zostały zastrzeżone przez Microsoft.
- Czy da się za pomocą narzędzia DISM dodać i usunąć pakiet z obrazu instalacyjnego?
- Tak, za pomocą opcji Add-Package i Remove-Package.
- /Add-Package - Adds packages to the image.
- /Remove-Package - Removes packages from the image.
- Czy da się zapisać w obrazie instalacyjnym klucz produktu za pomocą DISM?
- Tak za pomocą opcji Set-ProductKey:
- C:Windowssystem32>dism /online /Set-ProductKey /?
- Deployment Image Servicing and Management tool
- Version: 10.0.14393.0
- Image Version: 10.0.14393.0
- /Set-ProductKey:<product_key>
- Sets the product key of the offline image.
- Examples:
- DISM.exe /Image:C:testoffline
- /Set-ProductKey:2T3TW-CKKO4-DJSSF-232DP-8RW0P