2014-10-24

MDT 筆記

研究中筆記
非常亂, 還沒整理

WDS Properties
Open Active Directory Users and Computers.
2.    Click View, and then click Advanced Features (if it is not already enabled).
3.    Right click the computer account for you Windows Deployment Services server, and click Properties.
4.    On the Remote Install tab, select Advanced Settings… (Remote Install tab will show up only from remote management)
5.    Select the Security tab, and click Add…
6.    Select your account, and then select Full Control on this object.
To grant permissions to approve a pending computer

Open Active Directory Users and Computers.
Right-click the OU where you are creating prestaged computer accounts, and then select Delegate Control.
On the first screen of the wizard, click Next.
Change the object type to include computers.
Add the computer object of the Windows Deployment Services server, and then click Next.
Select Create a Custom task to delegate.
Select Only the following objects in the folder. Then select the Computer Objects check box, select Create selected objects in this folder, and click Next.
In the Permissions box, select the Write all Properties check box, and click Finish.

Office add languagepack , install let setup choose
language pack split out , seperate to a folder to add
use config.xml , not choose any language

msiexec /i "AcroRead.msi" /update "AdbeRdrUpd11009_MUI.msp"  <-- Fail
7-Zip 7z use reg to make file association

Rules: ( = CustomSettings.ini)
TimeZoneName=Taipei Standard Time
WSUSServer=http://WSUS

更換作業系統 + USMT 必須先登入後以 Lite Touch 方式執行否則會因為沒有 Administrator 權限導致失敗
MDT (Microsoft Deployment Toolkit) with ADK (Assessment and Deployment Kit)、WDS (Windows Deployment Services) 自動部署用戶端、升級用戶端環境研究, 安裝於 Hyper-V-004050
  Unattend.xml 應答檔在 Sysprep & Capture 的時候給予沒有用, 要在 Deploy 的時候給予
Set TS Variable : DeploySXS -> %DEPLOYROOT%\Operating Systems\Windows 8.1 Enterprise x64 ENG Original\sources\sxs
dism /online /enable-feature /featurename:NetFX3 /all /NoRestart /Source:%DeploySXS% /LimitAccess
Install Roles and Features -> Install .NET Framework 3.5
Windows Update Package import , Make a profile for update packages with OS Version and modify Preinstall -> Apply Patches for the right OS Version
MDT Update DeploymentShare WinPE should include Drivers (Network / Storage) and Language Packs
Rules: ( = CustomSettings.ini)
MachineObjectOU="OU=Contoso-Computers,DC=contoso,DC=com"
SkipRoles=YES
task sequence execution failed error code 80004005 / http://support.microsoft.com/kb/2797676
加入 Language 選項要 Preinstall -> Apply Patches Enable 才行, 無論 Profile 是選 All Packages 或設定含有 Language Packages 的都可以, 名稱一定要是 Apply Patches
檢查 MDT 原始碼在 Scripts\DeployWiz_Definition_ENU.xml 裡面找到 "Apply Patches" 關鍵字, "//step[@type='BDD_InstallUpdatesOffline' and @name='Apply Patches']"
M$ 竟然寫 Hard Code 在裡面... 所以一定要用這個名字才會啟動語言選擇, 改成 "//step[@type='BDD_InstallUpdatesOffline']" 就可以了
http://support.microsoft.com/kb/2797676
MDT Sysprep and Capture task sequence fails when it tries to capture a Windows 8 or Windows 8.1 image that was installed from a media. Additionally, you may receive the following errors:
ZTI ERROR - Unhandled error returned by LTIApply: Not found (-2147217406 0x80041002) / Litetouch deployment failed, Return Code = -2147467259 0x80004005
Failed to run the action: Apply Windows PE.
To work around this problem, edit the following files: %DeployRoot%\Scripts\LTIApply.wsf
Locate the "Copy bootmgr" section in LTIApply.wsf, and then add the following code above the existing code under the "Copy bootmgr" section:
If not oFSO.FolderExists(sBootDrive & "\Boot") then
 oFSO.CreateFolder(sBootDrive & "\Boot")
End if
MDT 有三個原始碼要改:1. Sysprep & Capture -> LTIApply.wsf / 2. Select Language -> Scripts\DeployWiz_Definition_ENU.xml / 3. USMTX for XP 升級 -> ZTIUserState.wsf & bootsect.exe
http://blogs.technet.com/b/mniehaus/archive/2014/01/09/migrating-from-windows-xp-to-windows-8-1-using-mdt-2013.aspx

沒有留言:

張貼留言