Configuración de Microsoft Deployment Tolkit (MDT) – Automatización de la instalación de Windows

Configuración de Microsoft Deployment Toolkit (MDT)

  1. Abra el «Deployment Workbench» y navegue hasta el «Deployment Share» que creó anteriormente.
  2. Seleccione «Operating System» y, a continuación, haga clic con el botón derecho del ratón y seleccione «Import Operating System». En la ventana del Asistente para importar sistemas operativos, seleccione «Custom image file. A continuación, importe el archivo «install.wim» que creó anteriormente.
mdt os
  1. En la opción «Applications», puede añadir aplicaciones que se instalarán automáticamente. Puedes añadir aplicaciones como Office, Google Chrome, Acrobat Reader, etc. A continuación, también tienes que añadir el script «Silent Install» de la aplicación.
mdt app
  1. A continuación en «Task Sequences», en esta sección, está la secuencia de tareas utilizadas para implementar su referencia de Imagen de Windows de producción.

Automatización de reglas

En el Microsoft Deployment Toolkit (MDT) puede establecer las Reglas que se utilizarán en el proceso de instalación. Creando las Reglas adecuadas, podrás automatizar todos los procesos.

mdt rule

Para crear una regla, haga clic con el botón derecho del ratón en el «Deployment Share» que ha creado y seleccione «Properties. A continuación, seleccione la pestaña «Rule» y haga clic en el botón «Aplicar» para aplicarla. Puede utilizar uno de los siguientes ejemplos de Reglas creadas por Sam Schoeller.

MDT customsettings.ini for one touch image deployment
by Sam Schoeller <https://github.com/samuelschoe>

[Settings]
Priority=Default
Properties=MyCustomProperty

[Default]

'sets the default install type
OSInstall=Y
DeploymentType=NEWCOMPUTER

'skips the capture wizard pane. 
SkipCapture=YES
DoCapture=YES
ComputerBackupLocation=NETWORK
BackupShare=\\server\DeploymentShare$
BackupDir=Captures
BackupFile=%TaskSequenceID%.wim

'skips setting local admin pass, product key and deployment type wizard panes
SkipAdminPassword=YES
AdminPassword=xxxxxx
SkipDeploymentType=YES
SkipProductKey=YES

'skips the domain join pane, and sets OU and account details to autojoin to the xxx computer OU. Uses limited domain join only delegated account
SkipDomainMembership=YES
MachineObjectOU=OU=xxxxx,OU=xxxxxxxxxx,DC=xxxx,DC=com
JoinDomain=xxxxxxx.com
DomainAdmin=xxxxxxxx
DomainAdminDomain=xxxxxxxxxxxxxx
DomainAdminPassword=xxxxxxxxxxxxxxxxxxxxx

'skips collect user data pane as this is for clean installs
SkipUserData=YES

'auto selects task xxx, the golden image in the xxx server. set to NO or comment out to bring this pane up to select a different task
SkipTaskSequence=YES
TaskSequenceID=xxx

'enables a default value with location and PC serial for xxx, but also enables computer name pane for user input
SkipComputerName=NO
OSDComputerName=XXXNEW-%SerialNumber%

'skips the package display pane
SkipPackageDisplay=YES

'Sets the language and keyboard panes
SkipLocaleSelection=YES
UILanguage=en-us
UserLocale=en-us
KeyboardLocale=en-us

'sets the timezone to pacific.
SkipTimeZone=YES
TimeZoneName=Pacific Standard Time
TimeZone=004

'sets our homepage. It was defined in task, but this is a better, global place to define it, as it does change occasionally.
Home_page=http://xxxxxxxx.com

'skips the application wizard. May want to enable
SkipApplications=NO
'skips apps on upgrade actions. This is redundant, as we are doing new installs, but I left it in to not forget it exists.
SkipAppsOnUpgrade=YES
'installs default themepack
Applications001={xxxxxxxxxxxxxxxxxxxxxxx}
'xxxxxxxxxxxxxxxxxxxx
Applications002={xxxxxxxxxxxxxxxxxxxxxxx}
'installs xxxxxxxxxxxxxxxx
Applications003={xxxxxxxxxxxxxxxxxxxxxxx}
'installs xxxxxxxxxxxxxxxxxxxx
Applications004={xxxxxxxxxxxxxxxxxxxxxxx}
'remove Libaries folder from Desktop
Applications005={xxxxxxxxxxxxxxxxxxxxxxx}

'points at our WSUS server to pull updates
WSUSServer=https://update.xxxxxx.com:8531

'skips the preamble and post amble summary. Will still display post summary in red if there are errors.
SkipSummary=YES
SkipFinalSummary=YES

'sets default screen resolution so low, windows is forced to auto adjust to the correct resolution.
BitsPerPel=32
VRefresh=60
XResolution=1
YResolution=1

'Sets a share location for the logs file
SLShareDynamicLogging=\\server\deploymentshare$\DeploymentLogs

'This is used by the MDT monitoring service for something or other
EventService=http://server:9800

También puede agregar el usuario y la contraseña de inicio de sesión predeterminados a «Editar Botstrap.ini». Al añadir esta Regla, MDT ya no pedirá el usuario y la contraseña y utilizará estas credenciales para acceder.

[Settings]
Priority=Default

[Default]
DeployRoot=\\MDT\DeploymentShare$
UserDomain=myDomain.local
UserID=myID
UserPassword=myPassword
SkipBDDWelcome=YES
mdt rule all

Artículos más recientes