Deploying and Maintaining Server Images Flashcards Preview

MCSA 70-411 - Global Knowledge > Deploying and Maintaining Server Images > Flashcards

Flashcards in Deploying and Maintaining Server Images Deck (81):
1

How do you install WDS via PowerShell?

Install-WindowsFeature -Name "WDS" -IncludeAllSubFeature                                         -IncludeManagementTools

2

What is needed to install WDS?

  1. WDS is installed on a DC or Member Server
  2. There is an active DHCP Server on the Network
  3. There is an Active DNS Server on your Network 
  4. NTFS File System Partition 

 

3

  1. What is an Install Image? 
  2. What is a Boot Image? 
  3. What is a Capture Image 
  4. What is a Discover Boot Image? 

  1. This is a boot.WIM file that contains all the different Editions of a Windows OS (i.e. 2012R2 - Server Standard Core, Server Standard, Server Data Center Core, Server Data Center)
  2. Boot images are used to boot computers before the install image is loaged. It holds the minimal operating system (Windows PE that is sent to the client when it first connects tot he WDS server
  3. They're are custom images. 
  4. Discover image can be used for computers that are not PXE compliant. That means that those computer cannot boot off the network. Discover image first has to be manually created on the WDS server, after which we can transfer it to external media such as CD, DVD or USB drive. Then we can use that media to boot up the computer into the discover image, which will then allow us to connect to the WDS server over the network.

4

What properties can you configure from PXE Response tab? 

 

  • The PXE Response Policy 
    • Do not response to any client computers 
    • Respond only to know client computers 
    • Respond to all client computers (Known  and unknow) 
      • Option to Require Administrator approval for unknown computers 
  • PXE Response Delay 
    • How quickly this server responds to clients 

5

What properties can you configure from the AD DS Tab? 

 

  • The format for the client Name
    • You can create a custom formating so that all computers join the network with a specified naming schema
  • Computer Account Location 
    • Where the Computer is placed in the Directory
      • Same Domain as the WDS Server 
      • Same Domain as the user performing the install 
      • Same OU as the user performing the install
      • The following location: 

6

What properties can you configure from the Boot Tab? 

 

  • PXE Boot Policy 
    • The behavior for Known Clients 
      • Require the user to press F12
      • Always continue the PXE Boot 
      • Continue the PXE Boot unless the user presses the ESC key 
      • Never Continue the PXE Boot 
    • The behavior for unknown Clients
      • Require the user to press F12
      • Always continue the PXE Boot 
      • Continue the PXE Boot unless the user presses the ESC key \
      • Never Continue the PXE Boot 
  • Default Boot image based on Architecture 

7

What properties can you configure from the Client Tab? 

 

  • Unattend file isntallation based on architecture 
  • Do not join the client to a domain after install 
  • Enable Client Logging 
    • Select a logging level 

8

What properties can you configure from the DHCP Tab? 

 

This is for if WDS is also on a DHCP Server 

  • Do Not listen on DHCP Ports 
  • Configure DHCP options to indicate that this is also a PXE Server

9

What properties can you configure from the Multicast Tab? 

 

  • You can specifiy the IP Address obtainment 
    • Option IP Address from DHCP 
    • Use addresses from the following range: 
  • Transfer Settings 
    • Keep all multicast clients in a session at the same speed 
    • Separate clients into three sessions (slow, medium, fast)
    • Separate clients into two sessions (slow and fast)
    • Automatically disconnect clients below the defined speed: (Default 256 )

10

Add-AppxProvisionedPackage

Adds an app package (.appx) that will install for each new user to a Windows image.

11

Add-WindowsDriver

 

What does the following Switches do: 

  1. -Recurse
  2. -ForceUnsiged

Adds a driver to an offline Windows image.

 

  1. Includes all subfolders when searching for drivers to add.
  2. Adds unsigned drivers to an x64 image

12

Add-WindowsImage

Adds an additional image to an existing image (.wim) file.

13

Add-WindowsPackage

 

What do the following Switches do:

  1. -Online
  2. -PreventPending
  3. -IgnoreCheck

Adds a single .cab or .msu file to a Windows image.

 

  1. Specifies that the action is to be taken on the operating system that is currently running on the local computer.
  2.  Skips the installation of the package if the package or Windows image has pending online actions (i.e. a Restart)
  3. Skips the applicability check for each package

14

Clear-WindowsCorruptMountPoint

Deletes all of the resources associated with a mounted image that has been corrupted.

15

Disable-WindowsOptionalFeature

Disables a feature in a Windows image.

16

Dismount-WindowsImage

Dismounts a Windows image from the directory it is mapped to.

17

Enable-WindowsOptionalFeature

Enables a feature in a Windows image.

18

Expand-WindowsImage

Applies an image to a specified location.

19

Export-WindowsImage

Exports a copy of the specified image to another image file.

20

Get-AppxProvisionedPackage

Gets information about app packages (.appx) in an image that will be installed for each new user.

21

Get-WindowsDriver

Displays information about drivers in a Windows image.

22

Get-WindowsEdition

Gets edition information about a Windows image.

23

Get-WindowsImage

Gets information about a Windows image in a WIM or VHD file.

24

Get-WindowsImageContent

Displays a list of the files and folders in a specified image.

25

Get-WindowsOptionalFeature

Gets information about optional features in a Windows image.

26

Get-WindowsPackage

Gets information about packages in a Windows image.

27

Mount-WindowsImage

Mounts a Windows image in a WIM or VHD file to a directory on the local computer.

28

New-WindowsImage

Captures an image of a drive to a new WIM file.

29

Remove-AppxProvisionedPackage

Removes an app package (.appx) from a Windows image.

30

Remove-WindowsDriver

Removes a driver from an offline Windows image.

31

Remove-WindowsImage

Deletes the specified volume image from a WIM file that has multiple volume images.

32

Remove-WindowsPackage

Removes a package from a Windows image.

33

Repair-WindowsImage

Repairs a Windows image in a WIM or VHD file.

34

Save-WindowsImage

Applies changes made to a mounted image to its WIM or VHD file.

35

Set-AppXProvisionedDataFile

Adds custom data into the specified app (.appx) package that has been provisioned in a Windows image.

36

Set-WindowsEdition

Changes a Windows image to a higher edition.

37

Set-WindowsProductKey

Sets the product key for the Windows image.

38

Split-WindowsImage

Splits an existing .wim file into multiple read-only split .wim files.

39

Use-WindowsUnattend

Applies an unattended answer file to a Windows image.

40

How do you mount and add drivers to an image using DISM?

  1. Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:"Windows Drive" /MountDir:C:\test\offline
  2. Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
  3. Dism /Unmount-Image /MountDir:C:\test\offline /Commit

41

How do you update a image with patches or hotfixes: 

  1. via PowerShell?

  1.  Run the following cmdlets:
    1. Mount-WindowsImage -ImagePath "c:\imagestore\install.wim" -Index 1     -Path "c:\offline"
    2. Add-WindowsPackage -Path "c:\offline" -PackagePath "c:\packages\demo_package.msu"
    3. Dismount-WindowsImage -Path "c:\offline" -Save

42

How do you add Drives to an Image offline: 

  1. via PowerShell?

  1.  Run the following cmdlets: 
    1. Mount-WindowsImage -ImagePath "c:\imagestore\install.wim" -Index 1     -Path "c:\offline"

    2. Add-WindowsDriver -Path "c:\offline" -Driver "c:\test\drivers"

    3. Dismount-WindowsImage -Path "c:\offline" -Save

43

How do you install features (TFTP) for an offline image: 

  1. PowerShell

  1. Run the following cmdlets: 
    1. Mount-WindowsImage -ImagePath "c:\imagestore\install.wim" -Index 1     -Path "c:\offline"

    2. Enable-WindowsOptionalFeature -Path "c:\offline" -FeatureName "TFTP"

    3. Dismount-WindowsImage -Path "c:\offline" -Save

44

Add-WdsDriverPackage

Adds an existing driver package to a driver group or injects it into a boot image.

45

Approve-WdsClient

Approves clients.

46

Copy-WdsInstallImage

Copies install images within an image group.

47

Deny-WdsClient

Denies approval for clients.

48

Disable-WdsBootImage

Disables a boot image.

49

Disable-WdsDriverPackage

Disables a driver package in the Windows Deployment Services driver store.

50

Disable-WdsInstallImage

Disables an install image.

51

Disconnect-WdsMulticastClient

Disconnects a multicast client from a transmission or namespace.

52

Enable-WdsBootImage

Enables a boot image.

53

Enable-WdsDriverPackage

Enables a driver package in the Windows Deployment Services driver store.

54

Enable-WdsInstallImage

Enables an install image.

55

Export-WdsBootImage

Exports an existing boot image from an image store.

56

Export-WdsInstallImage

Exports an existing install image from an image store.

57

Get-WdsBootImage

Gets properties of boot images from the image store.

58

Get-WdsClient

Gets client devices from the pending device database, or pre-staged devices from Active Directory or the standalone server device database.

59

Get-WdsDriverPackage

Gets properties of driver packages from the Windows Deployment Services driver store.

60

Get-WdsInstallImage

Gets properties of install images from an image store.

61

Get-WdsInstallImageGroup

Gets properties of install image groups.

62

Get-WdsMulticastClient

Gets a list of clients connected to a multicast transmission or namespace.

63

Import-WdsBootImage

Imports a boot image to the image store.

64

Import-WdsDriverPackage

Imports a driver package into the Windows Deployment Services driver store.

65

Import-WdsInstallImage

Imports an install image to an image store.

66

New-WdsClient

Creates a pre-staged client.

67

New-WdsInstallImageGroup

Creates an install image group.

68

Remove-WdsBootImage

Removes a boot image from the image store.

69

Remove-WdsClient

Removes a pre-staged client from AD DS or the stand-alone server device database, or clears the Pending Devices database.

70

Remove-WdsDriverPackage

Removes a driver package from a driver group or removes it from all driver groups and deletes it.

71

Remove-WdsInstallImage

Removes an install image from an image store.

72

Remove-WdsInstallImageGroup

Removes an install image group.

73

Set-WdsBootImage

Modifies settings of a boot image.

74

Set-WdsClient

Modifies a pre-staged client device.

75

Set-WdsInstallImage

Modifies the properties of an install image.

76

Set-WdsInstallImageGroup

Modifies the name and access permissions of an install image group.

77

How do you add a Message for the Auto Add Policy:

  1. PowerShell
  2. CMD

  1.  
  2. WDSUTIL /Set-Server /AutoAddPolicy /Message:“The Adatum administrator is authorizing this request. Please wait.”

78

How do you add a Drive Package to WDS?

  1. Import-WdsDriverPackage -path C:\windows\Driver.inf 

79

How do you update a image with patches or hotfixes via CMD?

  1. Run the following: 
    1. Dism /Mount-Image /ImageFile:"C:\Images\install.wim" /Index:1 /MountDir:C:\mount\Windows
    2. Dism /Add-Package /Image:C:\mount\Windows /PackagePath:C:\MSU\Windows8.1-KBxxxxxxx-x64.msu /LogPath:AddPackage.log
    3. Dism /Unmount-Image /MountDir:C:\mount\Windows /Commit

80

How do you add Drives to an Image offline: via CMD?

  1.  Run the following cmds: 
    1. Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:"Windows Drive" /MountDir:C:\test\offline
    2. Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
    3. Dism /Unmount-Image /MountDir:C:\test\offline /Commit

81

How do you install features (TFTP) for an offline image using CMD

  1. Run the following cmds
    1. DISM /Mount-Image /ImageFile:C:\RemoteInstall\Install.wim /MountDir:C:\Temp /Index:1 
    2. DISM /Image:C:\Temp /Get-Features
    3. DISM /Image:C:\Temp /FeatureName:TFTP /All
    4. Dism /Unmount-Image /MountDir:C:\Temp /Commit