Ejemplo de montaje de imagen offline:
C:\>DISM /mount-wim /wimfile:C:\imagenes\Windows1.wim /index:1 /mountdir:C:\DirectorioMontaje C:\>DISM /get-mountedwiminfo
Ejemplo de como ver que drivers tiene la imagen:
C:\>DISM /image:"C:\DirectorioMontaje" /get-drivers
Ejemplo de añadir y quitar Drivers:
C:\>DISM /image:"C:\DirectorioMontaje" /add-driver /driver:<ruta a archivo inf> C:\>DISM /image:"C:\DirectorioMontaje" /add-driver /driver:<directorio de Driver> /recurse C:\>DISM /image:"C:\DirectorioMontaje" /get-drivers C:\>DISM /image:"C:\DirectorioMontaje" /remove-driver /driver:<publishedname>
Ejemplo de como ver que Características tiene la imagen:
C:\>DISM /image:"C:\DirectorioMontaje" /get-features
Ejemplo de como habilitar una característica:
C:\>DISM /image:"C:\DirectorioMontaje" /enable-feature /Featurename:WindowsMediaPlayer
Otras opciones:
/Add-Package - Adds packages to the image. /Remove-Package – Removes packages from the image. /Enable-Feature – Enables a specific feature in the image. /Disable-Feature – Disables a specific feature in the image. /Get-Packages - Displays information about all packages in the image. /Get-PackageInfo – Displays information about a specific package. /Get-Features – Displays information about all features in a package. /Get-FeatureInfo - Displays information about a specific feature. /Cleanup-Image - Performs cleanup and recovery operations on the image.
Desmontar Imagen WIM:
DISM /Unmount-wim /mountdir:C:\DirectorioMontaje /commit
Ejemplo de Desactivación de Característica con el sistema operativo arrancado (modo online) del que luego capturaremos la imagen .wim:
C:\>DISM /online /enable-feature /Featurename:WindowsMediaPlayer