\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{jandreacola} \pdfinfo{ /Title (dism-deployment-image-servicing-and-management.pdf) /Creator (Cheatography) /Author (jandreacola) /Subject (DISM - Deployment Image Servicing and Management Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{280AA3} \definecolor{LightBackground}{HTML}{F1EFF9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{DISM - Deployment Image Servicing and Management Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{jandreacola} via \textcolor{DarkBackground}{\uline{cheatography.com/30652/cs/9169/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}jandreacola \\ \uline{cheatography.com/jandreacola} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Not Yet Published.\\ Updated 20th September, 2016.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{dism /Mount-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Mount-Image /ImageFile:C:\textbackslash{}test\textbackslash{}images\textbackslash{}myimage.wim /index:1 /MountDir:C:\textbackslash{}test\textbackslash{}offline} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /ImageFile & \textless{}path\_to\_image\_file\textgreater{} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} /Index: & \textless{}image\_index\textgreater{} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} /Name: & \textless{}image\_name\textgreater{} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. \tn % Row Count 9 (+ 4) % Row 5 \SetRowColor{white} /MountDir: & \textless{}path\_to\_mount\_directory\textgreater{} \tn % Row Count 10 (+ 1) % Row 6 \SetRowColor{LightBackground} {[}/ReadOnly{]} & sets the mounted image with read-only permissions. Optional. \tn % Row Count 13 (+ 3) % Row 7 \SetRowColor{white} {[}/Optimize{]} & reduce initial mount time \tn % Row Count 14 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Mounts an image from a .wim, .vhd or .vhdx file to the specified directory so that it is available for servicing.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{dism /Commit-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Commit-Image /MountDir:C:\textbackslash{}test\textbackslash{}offline} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} /MountDir: & \textless{}path\_to\_mount\_directory\textgreater{} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations \tn % Row Count 6 (+ 4) % Row 3 \SetRowColor{white} {[}/Append{]} & adds the modified image to the existing .wim file instead of overwriting the original image \tn % Row Count 10 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Applies the changes that you have made to the mounted image. The image remains mounted until the /Unmount-Image option is used.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism /Cleanup-Mountpoints}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Cleanup-Mountpoints} \tn % Row Count 1 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Deletes all of the resources associated with a mounted image that has been corrupted. This command will not unmount images that are already mounted, nor will it delete images that can be recovered using the /Remount-Image command.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{dism /Delete-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Delete-Image /ImageFile:install.wim /Index:1} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} /ImageFile & \textless{}path\_to\_image\_file\textgreater{} \tn % Row Count 2 (+ 1) % Row 2 \SetRowColor{LightBackground} /Index: & \textless{}image\_index\textgreater{} \tn % Row Count 3 (+ 1) % Row 3 \SetRowColor{white} /Name: & \textless{}image\_name\textgreater{} \tn % Row Count 4 (+ 1) % Row 4 \SetRowColor{LightBackground} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. \tn % Row Count 8 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Deletes the specified volume image from a .wim file that has multiple volume images. This option deletes only the metadata entries and XML entries. It does not delete the stream data and does not optimize the .wim file.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{/Capture-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Capture-Image /ImageFile:install.wim /CaptureDir:D:\textbackslash{} /Name:Drive-D} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /ImageFile & \textless{}path\_to\_image\_file\textgreater{} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} /CaptureDir & \textless{}source\_directory\textgreater{} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} /Name: & \textless{}image\_name\textgreater{} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} /Description: & \textless{}image\_description\textgreater{} \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} /ConfigFile:\textless{}configuration\_file.ini\textgreater{} & specifies the location of a configuration file that lists exclusions for image capture and compress commands \tn % Row Count 12 (+ 6) % Row 6 \SetRowColor{LightBackground} /Compress: & specifies the type of compression used for the initial capture operation. The maximum option provides the best compression, but takes more time to capture the image. The fast option provides faster image compression, but the resulting files are larger than those compressed by using the maximum option. This is also the default compression type that is used if you do not specify the argument. The none option does not compress the captured image at all. \tn % Row Count 34 (+ 22) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{/Capture-Image (cont)}} \tn % Row 7 \SetRowColor{LightBackground} {[}/Bootable{]} & marks a volume image as being a bootable image. This argument is available only for Windows PE images. \tn % Row Count 5 (+ 5) % Row 8 \SetRowColor{white} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. \tn % Row Count 10 (+ 5) % Row 9 \SetRowColor{LightBackground} {[}/Verify{]} & checks for errors and file duplication \tn % Row Count 12 (+ 2) % Row 10 \SetRowColor{white} {[}/NoRpFix{]} & disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system \tn % Row Count 18 (+ 6) % Row 11 \SetRowColor{LightBackground} {[}/WIMBoot{]} & to capture the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 Update images that you want to capture as a WIMBoot file. \tn % Row Count 26 (+ 8) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Captures an image of a drive to a new .wim file. Captured directories include all subfolders and data. You cannot capture an empty directory. A directory must contain at least one file. \newline You can capture the image as a Windows image (.WIM) file or a set of split Windows image (.SWM) files; this option doesn't support capturing a virtual hard disk (VHD) file.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.48 cm} x{5.52 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism /Export-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Export-Image \seqsplit{/SourceImageFile:install.wim} /SourceIndex:1 \seqsplit{/DestinationImageFile:install2}.wim} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \{/SourceImageFile: & \textless{}path\_to\_image\_file\textgreater{} \tn % Row Count 4 (+ 2) % Row 2 \SetRowColor{LightBackground} /SWMFile:\textless{}pattern\textgreater{} & enables you to reference split .wim files. pattern is the naming pattern and location of split files. You can also specify wildcard characters. For example, "E:\textbackslash{}image\textbackslash{}install*.swm" will export the split files in the E:\textbackslash{}image directory named install1.swm, install2.swm, and so on. \tn % Row Count 15 (+ 11) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Exports a copy of the specified image to another file. The source and destination files must use the same compression type. You can also optimize an image by exporting to a new image file. When you modify an image, DISM stores additional resource files that increase the overall size of the image. Exporting the image will remove unnecessary resource files.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{p{0.8 cm} p{0.8 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism /Get-MountedImageInfo}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Get-MountedImageInfo} \tn % Row Count 1 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Lists the images that are currently mounted and information about the mounted image such as whether the image is valid, read/write permissions, mount location, mounted file path, and mounted image index.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.96 cm} x{5.04 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{/Get-ImageInfo}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Get-ImageInfo /ImageFile:C:\textbackslash{}test\textbackslash{}offline\textbackslash{}install.wim} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /ImageFile: & \textless{}path\_to\_image.wim\textgreater{} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} /Index: & \textless{}Image\_index\textgreater{} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} /Name: & \textless{}Image\_name\textgreater{} \tn % Row Count 5 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Displays information about the images that are contained in the .wim, vhd or .vhdx file. When used with the /Index or /Name argument, information about the specified image is displayed, which includes if an image is a WIMBoot image, if the image is Windows 8.1 Update, see Take Inventory of an Image or Component Using DISM. The /Name argument does not apply to VHD files. You must specify /Index:1 for VHD files.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.16 cm} x{5.84 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism /Unmount-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Unmount-Image /MountDir:C:\textbackslash{}test\textbackslash{}offline /commit} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} \seqsplit{/MountDir:} & \textless{}path\_to\_mount\_directory\textgreater{} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} /Commit & You must use either the /commit or /discard argument when you use the /Unmount-Image option. \tn % Row Count 7 (+ 4) % Row 3 \SetRowColor{white} /Discard & You must use either the /commit or /discard argument when you use the /Unmount-Image option. \tn % Row Count 11 (+ 4) % Row 4 \SetRowColor{LightBackground} /Append & adds the modified image to the existing .wim file instead of overwriting the original image. \tn % Row Count 15 (+ 4) % Row 5 \SetRowColor{white} \seqsplit{/CheckIntegrity} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations \tn % Row Count 19 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Unmounts the .wim, .vhd or .vhdx file and either commits or discards the changes that were made when the image was mounted.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism.exe /Append-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Append-Image /ImageFile:install.wim /CaptureDir:D:\textbackslash{} /Name:Drive-D} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /ConfigFile:\textless{}configurtion\_file.ini\textgreater{}{]} & specifies the location of a configuration file that lists exclusions for image capture and compress commands. \tn % Row Count 8 (+ 6) % Row 2 \SetRowColor{LightBackground} /Bootable & marks a volume image as being a bootable image. This argument is available only for Windows PE images \tn % Row Count 13 (+ 5) % Row 3 \SetRowColor{white} /WIMBoot & Use to append the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 Update images that have been captured or exported as a WIMBoot file \tn % Row Count 22 (+ 9) % Row 4 \SetRowColor{LightBackground} /NoRpFix & disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system. \tn % Row Count 28 (+ 6) % Row 5 \SetRowColor{white} /ImageFile: & \textless{}path\_to\_image\_file\textgreater{} path to .wim file to append \tn % Row Count 31 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.76 cm} x{4.24 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism.exe /Append-Image (cont)}} \tn % Row 6 \SetRowColor{LightBackground} /CaptureDir: & \textless{}source\_directory\textgreater{} \tn % Row Count 1 (+ 1) % Row 7 \SetRowColor{white} /Name: & \textless{}image\_name\textgreater{} \tn % Row Count 2 (+ 1) % Row 8 \SetRowColor{LightBackground} /Description: & \textless{}image\_description\textgreater{} \tn % Row Count 3 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Adds an additional image to a .wim file. /AppendImage compares new files to the resources in the existing .wim file specified by the /ImageFile argument, and stores only a single copy of each unique file so that each file is only captured once. The .wim file can have only one assigned compression type. Therefore, you can only append files with the same compression type.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.72 cm} x{5.28 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism.exe /Apply-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /apply-image /imagefile:install.wim /index:1 /ApplyDir:D:\textbackslash{}} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /ImageFile: & \textless{}path\_to\_image\_file\textgreater{} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} /ApplyDir: & \textless{}target\_directory\textgreater{} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} /Index: & \textless{} image\_index\textgreater{} \tn % Row Count 5 (+ 1) % Row 4 \SetRowColor{LightBackground} /Name: & \textless{}image\_name\textgreater{} \tn % Row Count 6 (+ 1) % Row 5 \SetRowColor{white} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. \tn % Row Count 10 (+ 4) % Row 6 \SetRowColor{LightBackground} {[}/Verify{]} & checks for errors and file duplication. \tn % Row Count 12 (+ 2) % Row 7 \SetRowColor{white} {[}/NoRpFix{]} & disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system \tn % Row Count 17 (+ 5) % Row 8 \SetRowColor{LightBackground} {[}/ConfirmTrustedFile{]} & validates the image for Trusted Desktop on a Windows 8 or Windows 8.1. \tn % Row Count 20 (+ 3) % Row 9 \SetRowColor{white} {[}/WIMBoot{]} & apply the image with Windows image file boot (WIMBoot) configuration \tn % Row Count 23 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Applies an image to a specified drive.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.56 cm} x{5.44 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{dism.exe /Capture-CustomImage}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Capture-CustomImage /CaptureDir:D:\textbackslash{}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} \seqsplit{/CaptureDir:} & specifies the directory to which the image was applied and customized. \tn % Row Count 4 (+ 3) % Row 2 \SetRowColor{LightBackground} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. \tn % Row Count 8 (+ 4) % Row 3 \SetRowColor{white} \seqsplit{/ConfirmTrustedFile} & validates the image for Trusted Desktop on a Windows 8 or Windows 8.1 \tn % Row Count 11 (+ 3) % Row 4 \SetRowColor{LightBackground} {[}/Verify{]} & checks for errors and file duplication. \tn % Row Count 13 (+ 2) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Captures the incremental file changes based on the specific install.wim file to a new file, custom.wim for a WIMBoot image. You can't capture an empty directory. The captured files are converted to pointer files. The custom.wim is placed in the same folder next to the install.wim. You can only capture the custom image once. Don't remove or recapture a custom.wim after capturing the incremental file changes.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.32 cm} x{5.68 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism /Remount-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Remount-Image /MountDir:C:\textbackslash{}test\textbackslash{}offline} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} /MountDir: & \textless{}path\_to\_mount\_directory\textgreater{} \tn % Row Count 2 (+ 1) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Remounts a mounted image that has become inaccessible and makes it available for servicing.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{2.4 cm} x{5.6 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Dism /Split-Image}} \tn % Row 0 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Dism /Split-Image /ImageFile:install.wim /SWMFile:split.swm /FileSize:650} \tn % Row Count 2 (+ 2) % Row 1 \SetRowColor{white} /ImageFile: & \textless{}path\_to\_image\_file\textgreater{} \tn % Row Count 3 (+ 1) % Row 2 \SetRowColor{LightBackground} /SWMFile: & \textless{}path\_to\_swm\textgreater{} \tn % Row Count 4 (+ 1) % Row 3 \SetRowColor{white} /FileSize: & specifies the maximum size in megabytes (MB) for each created file. \tn % Row Count 7 (+ 3) % Row 4 \SetRowColor{LightBackground} {[}/CheckIntegrity{]} & detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. \tn % Row Count 11 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{Splits an existing .wim file into multiple read-only split .wim files. This option creates the .swm files in the specified directory, naming each file the same as the specified path\_to\_swm, but with an appended number. For example, if you set path\_to\_swm as c:\textbackslash{}Data.swm, this option creates a Data.swm file, a Data2.swm file, a Data3.swm file, and so on, defining each portion of the split .wim file and saving it to the C:\textbackslash{} directory.} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{X} \SetRowColor{DarkBackground} \mymulticolumn{1}{x{8.4cm}}{\bf\textcolor{white}{Capture Images of Paritions w/ DISM}} \tn \SetRowColor{LightBackground} \mymulticolumn{1}{x{8.4cm}}{Determine Partition to capture \newline Use diskpart to assign drive letter \newline Dism /Capture-Image /ImageFile:c:\textbackslash{}my-windows-partition.wim /CaptureDir:C:\textbackslash{} /Name:"My Windows partition" \newline net use n: \textbackslash{}\textbackslash{}Server\textbackslash{}Share \newline md N:\textbackslash{}Images\textbackslash{} \newline copy C:\textbackslash{}my-windows-partition.wim N:\textbackslash{}Images\textbackslash{}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}-} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}