Facebook
From Ample Meerkat, 3 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 75
  1. Raport z laboratorium SO
  2. Ćwiczenie "Instalacja systemu Windows"
  3. 05.10.2020 Marcin Żmuda gr. 4 SSI
  4.  
  5.  
  6. **********************************
  7. Odpowiedzi na pytania
  8. **********************************
  9.  
  10. 1. Do czego służy narzędzie WSIM?
  11.  
  12.         Narzędzie WSIM (Windows System Image Manager) służy do konfiguracji instalacji
  13.         systemu Windows podczas samej instalacji. Tzn. podczas instalacji, gdy jest ona
  14.         zatrzymywana, aby otrzymać jakieś informacje (np. klucz licencji), Można za pomocą
  15.         tego narzędzia przekazać te informacje.
  16.  
  17.         Za jej pomocą tworzymy pliki odpowiedzi, które pozwalają na instalację systemu w trybie
  18.         nienadzorowanym.
  19.  
  20. 2. Co zawiera plik install.wim?
  21.  
  22.         WIM (Windows Imaging Format) - Format pliku służący do przechowywania obrazów systemów.
  23.         Od systemu Windows Vista, jest to plik który pozwala na zainstalowanie tego systemu na
  24.         komputerze, na podstawie przechowywanego obrazu systemu.
  25.  
  26. 3. Jaką postać ma plik odpowiedzi?
  27.  
  28.         Plik odpowiedzi jest plikiem o rozszerzeniu xml
  29.  
  30. 4. Czy można dodać nowy driver do instalacji poprzez plik odpowiedzi?
  31.  
  32.         Można dodać nowy driver.
  33.  
  34. **********************************
  35. Odpodiedzi do zadania 2
  36. **********************************
  37.  
  38.  
  39. ­ Sprawdzić jakie drivery są dostępne w obrazie (/get-drivers)
  40.  
  41.         Zauważyłem np. driver do drukarki z 2006 roku:
  42.  
  43.         C:Windowssystem32>dism /online /get-drivers
  44.  
  45.         Deployment Image Servicing and Management tool
  46.         Version: 10.0.14393.0
  47.  
  48.         Image Version: 10.0.14393.0
  49.  
  50.         Obtaining list of 3rd party drivers from the driver store...
  51.  
  52.         Driver packages listing:
  53.  
  54.         Published Name : oem0.inf
  55.         Original File Name : prnms009.inf
  56.         Inbox : No
  57.         Class Name : Printer
  58.         Provider Name : Microsoft
  59.         Date : 21.06.2006
  60.         Version : 10.0.14393.0
  61.        
  62.         *
  63.         *
  64.         *
  65.        
  66.         Published Name : oem4.inf
  67.         Original File Name : wdma_int.inf
  68.         Inbox : No
  69.         Class Name : MEDIA
  70.         Provider Name : Microsoft
  71.         Date : 29.07.2008
  72.         Version : 6.0.6001.18000
  73.  
  74.         The operation completed successfully.
  75.  
  76.        
  77. ­ Czy da się za pomocą narzędzia DISM dodać nowy driver do obrazu instalacyjnego?
  78.  
  79.         Tak, za pomocą komendy add-driver.
  80.  
  81.         C:Windowssystem32>dism /online /add-driver /?
  82.  
  83.         Deployment Image Servicing and Management tool
  84.         Version: 10.0.14393.0
  85.  
  86.         Image Version: 10.0.14393.0
  87.  
  88.  
  89.         /Add-Driver {/Driver:<folder_containing_INF> | /Driver:<path_to_driver.inf>}
  90.                                 [/recurse] [/ForceUnsigned]
  91.  
  92.           Adds drivers to an offline image. Use /recurse to query all subfolders for
  93.           drivers. Use /ForceUnsigned to add unsigned drivers to X64-based images.
  94.           This command is not supported against an online image.
  95.  
  96.                 Examples:
  97.                   DISM.exe /Image:C:testoffline /Add-Driver
  98.                         /Driver:D:DriversUsbUsb.inf
  99.  
  100.                   DISM.exe /Image:C:testoffline /Add-Driver /Driver:D:Drivers /recurse
  101.  
  102.  
  103. ­ Dodać do obrazu utworzony wcześniej plik odpowiedzi
  104.  
  105.         Za pomocą komendy apply-unattend
  106.        
  107.         C:Windowssystem32>dism /online /apply-unattend /?
  108.  
  109.         Deployment Image Servicing and Management tool
  110.         Version: 10.0.14393.0
  111.  
  112.         Image Version: 10.0.14393.0
  113.  
  114.  
  115.         /Apply-Unattend:<path_to_unattend.xml>
  116.  
  117.           Applies an unattend.xml file to an offline image or a running operating
  118.           system.
  119.  
  120.                 Examples:
  121.                   DISM.exe /Image:C:testoffline /Apply-Unattend:C:unattend.xml
  122.                   DISM.exe /Online /Apply-Unattend:C:unattend.xml
  123.  
  124.  
  125. ­ Zmienić strefę czasową dla obrazu instalacyjnego
  126.  
  127.         Za pomocą komendy set-TimeZone:
  128.        
  129.         C:Windowssystem32>dism /online /set-TimeZone /?
  130.                 Deployment Image Servicing and Management tool
  131.         Version: 10.0.14393.0
  132.  
  133.         Image Version: 10.0.14393.0
  134.  
  135.  
  136.         /Set-TimeZone:<timezone_name>
  137.  
  138.           Sets the default time zone in a Windows image. Before setting the time zone,
  139.           DISM verifies that the specified time zone string is valid for the image.
  140.           This command is not supported against an online image.
  141.  
  142.                 Example:
  143.                   DISM.exe /Image:C:testoffline /Set-TimeZone:"W. Europe Standard Time"
  144.                  
  145.  
  146. ­ Sprawdzić jakie informacje zawarte są w opisie wybranego pakietu
  147.  
  148.         Najpierw sprawdziłem jakie są dostępne pakiety:
  149.  
  150.         C:Windowssystem32>dism /online /get-packages
  151.  
  152.         Deployment Image Servicing and Management tool
  153.         Version: 10.0.14393.0
  154.  
  155.         Image Version: 10.0.14393.0
  156.  
  157.         Packages listing:
  158.  
  159.         Package Identity : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
  160.         State : Installed
  161.         Release Type : Language Pack
  162.         Install Time : 16.07.2016 17:01
  163.  
  164.         *
  165.         *
  166.         *
  167.  
  168.         A potem sprawdziłem opis pierwszego pakietu:
  169.  
  170.         C:Windowssystem32>dism /online /Get-PackageInfo /PackageName:Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
  171.  
  172.         Deployment Image Servicing and Management tool
  173.         Version: 10.0.14393.0
  174.  
  175.         Image Version: 10.0.14393.0
  176.  
  177.         Package information:
  178.  
  179.         Package Identity : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
  180.         Applicable : Yes
  181.         Copyright : Copyright (c) Microsoft Corporation. All Rights Reserved.
  182.         Company :
  183.         Creation Time :
  184.         Description : Fix for KB2839636
  185.         Install Client : DISM Package Manager Provider
  186.         Install Package Name : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0.mum
  187.         Install Time : 16.07.2016 17:01
  188.         Last Update Time :
  189.         Name :
  190.         Product Name : Microsoft-Windows-Client-LanguagePack-Package
  191.         Product Version :
  192.         Release Type : Language Pack
  193.         Restart Required : Possible
  194.         Support Information : http://support.microsoft.com/?kbid=2839636
  195.         State : Installed
  196.         Completely offline capable : Undetermined
  197.         Self servicing package : No
  198.         Capability Identity :
  199.  
  200.         Custom Properties:
  201.  
  202.         LPTargetSPLevel : 0
  203.         LPType : Client
  204.  
  205.         Features listing for package : Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~x86~pl-PL~10.0.14393.0
  206.  
  207.         (No features found for this package)
  208.  
  209.         The operation completed successfully.
  210.        
  211.  
  212.         Dowiedziałem się, że został zainstalowany w 2016 roku. Prawa zostały zastrzeżone przez Microsoft.
  213.  
  214. ­ Czy da się za pomocą narzędzia DISM dodać i usunąć pakiet z obrazu instalacyjnego?
  215.  
  216.         Tak, za pomocą opcji Add-Package i Remove-Package.
  217.  
  218.         /Add-Package            - Adds packages to the image.
  219.         /Remove-Package         - Removes packages from the image.
  220.        
  221. ­ Czy da się zapisać w obrazie instalacyjnym klucz produktu za pomocą DISM?
  222.  
  223.         Tak za pomocą opcji Set-ProductKey:
  224.        
  225.         C:Windowssystem32>dism /online /Set-ProductKey /?
  226.  
  227.         Deployment Image Servicing and Management tool
  228.         Version: 10.0.14393.0
  229.  
  230.         Image Version: 10.0.14393.0
  231.  
  232.  
  233.         /Set-ProductKey:<product_key>
  234.  
  235.           Sets the product key of the offline image.
  236.  
  237.                 Examples:
  238.                   DISM.exe /Image:C:testoffline
  239.                         /Set-ProductKey:2T3TW-CKKO4-DJSSF-232DP-8RW0P
  240.  
  241.