Deploying and Maintaining Server Images Flashcards
How do you install WDS via PowerShell?
Install-WindowsFeature -Name “WDS” -IncludeAllSubFeature -IncludeManagementTools
What is needed to install WDS?
- WDS is installed on a DC or Member Server
- There is an active DHCP Server on the Network
- There is an Active DNS Server on your Network
- NTFS File System Partition
- What is an Install Image?
- What is a Boot Image?
- What is a Capture Image
- What is a Discover Boot Image?
- 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)
- 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
- They’re are custom images.
- 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.
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
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:
- Where the Computer is placed in the Directory
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
- The behavior for Known Clients
- Default Boot image based on Architecture
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
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
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 )
What does the PowerShell CmdLet Do?
Add-AppxProvisionedPackage
Adds an app package (.appx) that will install for each new user to a Windows image.
What does the PowerShell CmdLet Do?
Add-WindowsDriver
What does the following Switches do:
- -Recurse
- -ForceUnsiged
Adds a driver to an offline Windows image.
- Includes all subfolders when searching for drivers to add.
- Adds unsigned drivers to an x64 image
What does the PowerShell CmdLet Do?
Add-WindowsImage
Adds an additional image to an existing image (.wim) file.
What does the PowerShell CmdLet Do?
Add-WindowsPackage
What do the following Switches do:
- -Online
- -PreventPending
- -IgnoreCheck
Adds a single .cab or .msu file to a Windows image.
- Specifies that the action is to be taken on the operating system that is currently running on the local computer.
- Skips the installation of the package if the package or Windows image has pending online actions (i.e. a Restart)
- Skips the applicability check for each package
What does the PowerShell CmdLet Do?
Clear-WindowsCorruptMountPoint
Deletes all of the resources associated with a mounted image that has been corrupted.
What does the PowerShell CmdLet Do?
Disable-WindowsOptionalFeature
Disables a feature in a Windows image.
What does the PowerShell CmdLet Do?
Dismount-WindowsImage
Dismounts a Windows image from the directory it is mapped to.
What does the PowerShell CmdLet Do?
Enable-WindowsOptionalFeature
Enables a feature in a Windows image.
What does the PowerShell CmdLet Do?
Expand-WindowsImage
Applies an image to a specified location.
What does the PowerShell CmdLet Do?
Export-WindowsImage
Exports a copy of the specified image to another image file.
What does the PowerShell CmdLet Do?
Get-AppxProvisionedPackage
Gets information about app packages (.appx) in an image that will be installed for each new user.
What does the PowerShell CmdLet Do?
Get-WindowsDriver
Displays information about drivers in a Windows image.
What does the PowerShell CmdLet Do?
Get-WindowsEdition
Gets edition information about a Windows image.
What does the PowerShell CmdLet Do?
Get-WindowsImage
Gets information about a Windows image in a WIM or VHD file.
What does the PowerShell CmdLet Do?
Get-WindowsImageContent
Displays a list of the files and folders in a specified image.
What does the PowerShell CmdLet Do?
Get-WindowsOptionalFeature
Gets information about optional features in a Windows image.
What does the PowerShell CmdLet Do?
Get-WindowsPackage
Gets information about packages in a Windows image.
What does the PowerShell CmdLet Do?
Mount-WindowsImage
Mounts a Windows image in a WIM or VHD file to a directory on the local computer.
What does the PowerShell CmdLet Do?
New-WindowsImage
Captures an image of a drive to a new WIM file.
What does the PowerShell CmdLet Do?
Remove-AppxProvisionedPackage
Removes an app package (.appx) from a Windows image.
What does the PowerShell CmdLet Do?
Remove-WindowsDriver
Removes a driver from an offline Windows image.
What does the PowerShell CmdLet Do?
Remove-WindowsImage
Deletes the specified volume image from a WIM file that has multiple volume images.
What does the PowerShell CmdLet Do?
Remove-WindowsPackage
Removes a package from a Windows image.
What does the PowerShell CmdLet Do?
Repair-WindowsImage
Repairs a Windows image in a WIM or VHD file.
What does the PowerShell CmdLet Do?
Save-WindowsImage
Applies changes made to a mounted image to its WIM or VHD file.
What does the PowerShell CmdLet Do?
Set-AppXProvisionedDataFile
Adds custom data into the specified app (.appx) package that has been provisioned in a Windows image.
What does the PowerShell CmdLet Do?
Set-WindowsEdition
Changes a Windows image to a higher edition.
What does the PowerShell CmdLet Do?
Set-WindowsProductKey
Sets the product key for the Windows image.
What does the PowerShell CmdLet Do?
Split-WindowsImage
Splits an existing .wim file into multiple read-only split .wim files.
What does the PowerShell CmdLet Do?
Use-WindowsUnattend
Applies an unattended answer file to a Windows image.
How do you mount and add drivers to an image using DISM?
- Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:”Windows Drive” /MountDir:C:\test\offline
- Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
- Dism /Unmount-Image /MountDir:C:\test\offline /Commit
How do you update a image with patches or hotfixes:
- via PowerShell?
- Run the following cmdlets:
- Mount-WindowsImage -ImagePath “c:\imagestore\install.wim” -Index 1 -Path “c:\offline”
- Add-WindowsPackage -Path “c:\offline” -PackagePath “c:\packages\demo_package.msu”
- Dismount-WindowsImage -Path “c:\offline” -Save
How do you add Drives to an Image offline:
- via PowerShell?
- Run the following cmdlets:
- Mount-WindowsImage -ImagePath “c:\imagestore\install.wim” -Index 1 -Path “c:\offline”
- Add-WindowsDriver -Path “c:\offline” -Driver “c:\test\drivers”
- Dismount-WindowsImage -Path “c:\offline” -Save
How do you install features (TFTP) for an offline image:
- PowerShell
- Run the following cmdlets:
- Mount-WindowsImage -ImagePath “c:\imagestore\install.wim” -Index 1 -Path “c:\offline”
- Enable-WindowsOptionalFeature -Path “c:\offline” -FeatureName “TFTP”
- Dismount-WindowsImage -Path “c:\offline” -Save
What does the following PowerShell CmdLet Do?
Add-WdsDriverPackage
Adds an existing driver package to a driver group or injects it into a boot image.
What does the following PowerShell CmdLet Do?
Approve-WdsClient
Approves clients.
What does the following PowerShell CmdLet Do?
Copy-WdsInstallImage
Copies install images within an image group.
What does the following PowerShell CmdLet Do?
Deny-WdsClient
Denies approval for clients.
What does the following PowerShell CmdLet Do?
Disable-WdsBootImage
Disables a boot image.
What does the following PowerShell CmdLet Do?
Disable-WdsDriverPackage
Disables a driver package in the Windows Deployment Services driver store.
What does the following PowerShell CmdLet Do?
Disable-WdsInstallImage
Disables an install image.
What does the following PowerShell CmdLet Do?
Disconnect-WdsMulticastClient
Disconnects a multicast client from a transmission or namespace.
What does the following PowerShell CmdLet Do?
Enable-WdsBootImage
Enables a boot image.
What does the following PowerShell CmdLet Do?
Enable-WdsDriverPackage
Enables a driver package in the Windows Deployment Services driver store.
What does the following PowerShell CmdLet Do?
Enable-WdsInstallImage
Enables an install image.
What does the following PowerShell CmdLet Do?
Export-WdsBootImage
Exports an existing boot image from an image store.
What does the following PowerShell CmdLet Do?
Export-WdsInstallImage
Exports an existing install image from an image store.
What does the following PowerShell CmdLet Do?
Get-WdsBootImage
Gets properties of boot images from the image store.
What does the following PowerShell CmdLet Do?
Get-WdsClient
Gets client devices from the pending device database, or pre-staged devices from Active Directory or the standalone server device database.
What does the following PowerShell CmdLet Do?
Get-WdsDriverPackage
Gets properties of driver packages from the Windows Deployment Services driver store.
What does the following PowerShell CmdLet Do?
Get-WdsInstallImage
Gets properties of install images from an image store.
What does the following PowerShell CmdLet Do?
Get-WdsInstallImageGroup
Gets properties of install image groups.
What does the following PowerShell CmdLet Do?
Get-WdsMulticastClient
Gets a list of clients connected to a multicast transmission or namespace.
What does the following PowerShell CmdLet Do?
Import-WdsBootImage
Imports a boot image to the image store.
What does the following PowerShell CmdLet Do?
Import-WdsDriverPackage
Imports a driver package into the Windows Deployment Services driver store.
What does the following PowerShell CmdLet Do?
Import-WdsInstallImage
Imports an install image to an image store.
What does the following PowerShell CmdLet Do?
New-WdsClient
Creates a pre-staged client.
What does the following PowerShell CmdLet Do?
New-WdsInstallImageGroup
Creates an install image group.
What does the following PowerShell CmdLet Do?
Remove-WdsBootImage
Removes a boot image from the image store.
What does the following PowerShell CmdLet Do?
Remove-WdsClient
Removes a pre-staged client from AD DS or the stand-alone server device database, or clears the Pending Devices database.
What does the following PowerShell CmdLet Do?
Remove-WdsDriverPackage
Removes a driver package from a driver group or removes it from all driver groups and deletes it.
What does the following PowerShell CmdLet Do?
Remove-WdsInstallImage
Removes an install image from an image store.
What does the following PowerShell CmdLet Do?
Remove-WdsInstallImageGroup
Removes an install image group.
What does the following PowerShell CmdLet Do?
Set-WdsBootImage
Modifies settings of a boot image.
What does the following PowerShell CmdLet Do?
Set-WdsClient
Modifies a pre-staged client device.
What does the following PowerShell CmdLet Do?
Set-WdsInstallImage
Modifies the properties of an install image.
What does the following PowerShell CmdLet Do?
Set-WdsInstallImageGroup
Modifies the name and access permissions of an install image group.
How do you add a Message for the Auto Add Policy:
- PowerShell
- CMD
- WDSUTIL /Set-Server /AutoAddPolicy /Message:“The Adatum administrator is authorizing this request. Please wait.”
How do you add a Drive Package to WDS?
- Import-WdsDriverPackage -path C:\windows\Driver.inf
How do you update a image with patches or hotfixes via CMD?
- Run the following:
- Dism /Mount-Image /ImageFile:”C:\Images\install.wim” /Index:1 /MountDir:C:\mount\Windows
- Dism /Add-Package /Image:C:\mount\Windows /PackagePath:C:\MSU\Windows8.1-KBxxxxxxx-x64.msu /LogPath:AddPackage.log
- Dism /Unmount-Image /MountDir:C:\mount\Windows /Commit
How do you add Drives to an Image offline: via CMD?
- Run the following cmds:
- Dism /Mount-Image /ImageFile:C:\test\images\install.wim /Name:”Windows Drive” /MountDir:C:\test\offline
- Dism /Image:C:\test\offline /Add-Driver /Driver:C:\drivers\mydriver.inf
- Dism /Unmount-Image /MountDir:C:\test\offline /Commit
How do you install features (TFTP) for an offline image using CMD
- Run the following cmds
- DISM /Mount-Image /ImageFile:C:\RemoteInstall\Install.wim /MountDir:C:\Temp /Index:1
- DISM /Image:C:\Temp /Get-Features
- DISM /Image:C:\Temp /FeatureName:TFTP /All
- Dism /Unmount-Image /MountDir:C:\Temp /Commit