MDT 2012 Issues
-
Friday, August 03, 2012 10:57 AM
Hello,
I am very new on this forum. I have some questions about MDT 2012. I'm preparing a solution with MDT 2012 and WDS with the purpose to deploy an image of Windows Server 2008 R2 to several machines. I have captured the image with imagex and that image have some settings, like the portuguese (european) keyboard, the time zone, the computer name... But when I deploy the image, the computer looses all this settings. The keyboard is set to english, the timezone is set to Canada, and the computer name is still the same when should be changed to a different one. I change a lot of times the file CustomSettings.ini but still doesn't work.
Now, when I deploy the image, the system doesn't clean the drive. I find the MININT folder with all the temporary files that should be removed.
I also tried to create the database with all the computers' names and identified with their MAC Addresses, and all settings for each computer, but still doesn't work.
Here's my CustomSettings.ini file:
[Settings]
Priority=Default
Properties=MyCustomProperty[Default]
OSInstall=YES
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerBackup=YES
SkipBitLocker=YES
SkipApplications=YES
SkipAppsOnUpgrade=YES
SkipBDDWelcome=YES
SkipComputerName=YES
SkipDeploymentType=YES
DeploymentType=NEWCOMPUTER
SkipDomainMembership=YESDomainAdmin=Administrator
DomainAdminDomain=xxxxxxxxDomainAdminPassword=xxxxxxxx
SkipFinalSummary=YES
SkipLocaleSelection=YES
KeyboardLocale=0816:00000816
UserLocale=pt-PT
UILanguage=en-US
SkipPackageDisplay=YES
SkipSummary=YES
SkipTaskSequence=YES
TaskSequenceID=01
SkipTimeZone=YES
TimeZoneName=Coordinated Universal Time
SkipUserData=Yes
Please helpe me. What am I doing wrong?
Thanks in advance.
Regards,
João
All Replies
-
Friday, August 03, 2012 1:36 PM
Hi Joao,
First of all, for the language issue, take a look at the unattend.xml file associated to you Task Sequence, by default MDT uses a template TS with english regional settings ... modify the unattend.xml and voila :)
for the database, as far as i see, you haven't configured database rules in your Customsettings.ini, there's an option to do so in the workbench, it will launch a wizard where you will be able to choose which queries are made. you have to authorize in the database, the credentials you set in bootstrap.ini or the one you typed before the wizard started. and you have to activate named pipes (don't forget to restart the database service)
for the MININT leftover ... I have no clue, it should be cleaned at the end, maybe your Task Sequence doesn't go through entirely ?
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
- Edited by David SebbanMVP Friday, August 03, 2012 1:36 PM
-
Friday, August 03, 2012 2:16 PM
Hi David,
Thanks a lot for your reply. I'll check my unattend.xml file and post what I have later. The server is making some windows updates right now and I can't access the file.
The computer name can be also specified on the unattend.xml right?
About the MININT folder, yes, you are right. In some searched that I made, the inturruption of the TS can originate this type of problem. But I don't stop the TS. It finishes normally and boot to the OS. I think it's probably a MDT bug.
Sometimes MDT drives me mad :\
-
Tuesday, August 07, 2012 1:35 PM
Hey David,
Here's my unattend.xml file. I still can't change the computer name and the keyboard.
Can you help me out?
<?xml version="1.0" encoding="utf-8"?>
< unattend xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<ImageInstall>
<OSImage>
<WillShowUI>OnError</WillShowUI>
<InstallTo>
<DiskID>0</DiskID>
<PartitionID>1</PartitionID>
</InstallTo>
<InstallFrom>
<Path>.\Operating Systems\winsrv2008r2\winsrv2008r2.wim</Path>
<MetaData>
<Key>/IMAGE/INDEX</Key>
<Value>1</Value>
</MetaData>
</InstallFrom>
</OSImage>
</ImageInstall>
<Display>
<ColorDepth>16</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<ComplianceCheck>
<DisplayReport>OnError</DisplayReport>
</ComplianceCheck>
<UserData>
<AcceptEula>true</AcceptEula>
<ProductKey>
<Key></Key>
</ProductKey>
</UserData>
</component>
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass="generalize">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
</component>
</settings>
<settings pass="specialize">
<component name="Microsoft-Windows-UnattendedJoin" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<Identification>
<Credentials>
<Username></Username>
<Domain></Domain>
<Password></Password>
</Credentials>
<JoinDomain></JoinDomain>
<JoinWorkgroup></JoinWorkgroup>
<MachineObjectOU></MachineObjectOU>
</Identification>
</component>
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<ComputerName></ComputerName>
<ProductKey></ProductKey>
<RegisteredOrganization>Test</RegisteredOrganization>
<RegisteredOwner>Administrator</RegisteredOwner>
<DoNotCleanTaskBar>true</DoNotCleanTaskBar>
<TimeZone>Pacific Standard Time</TimeZone>
</component>
<component name="Microsoft-Windows-IE-InternetExplorer" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Home_Page>www.actualtraining.pt</Home_Page>
<IEWelcomeMsg>false</IEWelcomeMsg>
</component>
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Description>EnableAdmin</Description>
<Order>1</Order>
<Path>cmd /c net user Administrator /active:yes</Path>
</RunSynchronousCommand>
<RunSynchronousCommand wcm:action="add">
<Description>UnfilterAdministratorToken</Description>
<Order>2</Order>
<Path>cmd /c reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v FilterAdministratorToken /t REG_DWORD /d 0 /f</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
<component name="Microsoft-Windows-TapiSetup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<TapiConfigured>0</TapiConfigured>
<TapiUnattendLocation>
<AreaCode>""</AreaCode>
<CountryOrRegion>1</CountryOrRegion>
<LongDistanceAccess>9</LongDistanceAccess>
<OutsideAccess>9</OutsideAccess>
<PulseOrToneDialing>1</PulseOrToneDialing>
<DisableCallWaiting>""</DisableCallWaiting>
<InternationalCarrierCode>""</InternationalCarrierCode>
<LongDistanceCarrierCode>""</LongDistanceCarrierCode>
<Name>Default</Name>
</TapiUnattendLocation>
</component>
<component name="Microsoft-Windows-SystemRestore-Main" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DisableSR>1</DisableSR>
</component>
</settings>
<settings pass="oobeSystem">
<component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State">
<UserAccounts>
<AdministratorPassword>
<Value>12345</Value>
<PlainText>true</PlainText>
</AdministratorPassword>
<LocalAccounts>
<LocalAccount wcm:action="add">
<Description>Temp account</Description>
<DisplayName>Temp account</DisplayName>
<Group>Users</Group>
<Name>TempAccount</Name>
</LocalAccount>
</LocalAccounts>
</UserAccounts>
<AutoLogon>
<Enabled>true</Enabled>
<Username>Administrator</Username>
<Domain>.</Domain>
<Password>
<Value>12345</Value>
<PlainText>true</PlainText>
</Password>
<LogonCount>999</LogonCount>
</AutoLogon>
<Display>
<ColorDepth>32</ColorDepth>
<HorizontalResolution>1024</HorizontalResolution>
<RefreshRate>60</RefreshRate>
<VerticalResolution>768</VerticalResolution>
</Display>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>wscript.exe %SystemDrive%\LTIBootstrap.vbs</CommandLine>
<Description>Lite Touch new OS</Description>
<Order>1</Order>
</SynchronousCommand>
</FirstLogonCommands>
<OOBE>
<HideEULAPage>true</HideEULAPage>
<NetworkLocation>Work</NetworkLocation>
<ProtectYourPC>1</ProtectYourPC>
</OOBE>
<RegisteredOrganization>Actual Training</RegisteredOrganization>
<RegisteredOwner>Administrator</RegisteredOwner>
<TimeZone></TimeZone>
</component>
<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>0409:00000409</InputLocale>
<SystemLocale>en-US</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-US</UserLocale>
</component>
</settings>
<settings pass="offlineServicing">
<component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DriverPaths>
<PathAndCredentials wcm:keyValue="1" wcm:action="add">
<Path>\Drivers</Path>
</PathAndCredentials>
</DriverPaths>
</component>
</settings>
< /unattend>Sorry for the dummies questions.
Regards,
João
-
Tuesday, August 07, 2012 7:35 PM
Joao, everything is still using english settings :
replace
<InputLocale>0409:00000409</InputLocale> <SystemLocale>en-US</SystemLocale> <UILanguage>en-US</UILanguage> <UserLocale>en-US</UserLocale> </component>with
<InputLocale>0816:00000816</InputLocale> <SystemLocale>pt-PT</SystemLocale> <UILanguage>pt-PT</UILanguage> <UserLocale>pt-PT</UserLocale> </component>David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Wednesday, August 08, 2012 8:39 AM
Thanks David. I changed that and it worked. But now I'm trying to change the computer name. Still no effect.
Can you explain me how to put the new name on the PC? I have implemented the mdt database. I know about some variables like %ComputerName%, %OSDComputerName%, %AssetTag%... but don't know how to do. Can you explain me better this, please?
Regards,
João
-
Wednesday, August 08, 2012 1:08 PM
Joao,
to use the database you first have to
- Create the database with the wizard (make sure to enable named pipes and to restart SQLServer service)
- configure database rules in the workbench (this will add new sections in you CS.ini)
- then you need to identify your computer using either its serialnumber/mac address/asset tag/UUID
- assign variables to it in the "details" tab or create preconfigured roles that you will assign to your computer
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Wednesday, August 08, 2012 1:16 PM
David,
1. Done;
2. Done;
3. Done;
4. I think it's in fault. Can you explain how to do in this step, please?
Regards,
João
-
Wednesday, August 08, 2012 1:31 PM
When you go to the database node in the workbench
- click on "computers"
- then click "new"
- It will open a window where you need to enter one of the identification methods (serialnumber, etc)
- once done, click on the "details" tab and there you have access to all variables and you can configure them.
if it doesn't work, search for database errors in your bdd.log
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Wednesday, August 08, 2012 1:55 PM
Yes, I have done that, but still doesn't work. I put the mac adress, and on details, in OSDComputerName, I put the computer's name. But nothing.
In witch directory I can find the log file?
-
Wednesday, August 08, 2012 5:13 PM
c:\minint\smsosd\osdlogs during the deployment
c:\windows\temp after the deployment
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Thursday, August 09, 2012 10:02 AM
David,
I've checked the BDD.log file and it's passing the computer's name correctly. I can't understand why doesn't appers the computer's name after deployment.
-
Thursday, August 09, 2012 1:00 PMcould you upload the bdd.log file somewhere ?
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Thursday, August 09, 2012 1:09 PM
Sure, wait a moment please.
-
Thursday, August 09, 2012 1:40 PM
-
Thursday, August 09, 2012 3:02 PM
Joao,
few things
COMPUTERNAME and OSDCOMPUTERNAME have different values
Obtained COMPUTERNAME value from SQL: COMPUTERNAME = Vortus_Teste
Obtained OSDCOMPUTERNAME value from SQL: OSDCOMPUTERNAME = Vortus_TesteOSD
OSDCOMPUTERNAME is used to update unattend.xml
Updated C:\MININT\Unattend.xml with OSDComputerName=Vortus_TesteOSD (value was )
Everything looks ok, but the computername is applied during Windows Minisetup after reboot, and I don't see any reboots after OS apply in your log
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Thursday, August 09, 2012 3:39 PM
So, what I am doing wrong? The TS doan't finish the deployment?
-
Thursday, August 09, 2012 4:10 PMI don't know, actually I do see a reboot request at the very end, the name change should take place after that ...
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Thursday, August 09, 2012 4:13 PMThis image wasn't syspreped. Is that the problem?
-
Thursday, August 09, 2012 5:02 PM
Oh it might be !
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Thursday, August 09, 2012 5:03 PMCan you confirm that?
-
Thursday, August 09, 2012 7:17 PM
every image has to be syspreped before deployment, deploying a non syspreped image to multiple computers is not supported
David Sebban | Nelite North America | http://www.nelite.com/community/b/dsebban/default.aspx
-
Friday, August 10, 2012 9:05 AM
Ok thanks for your help.
João

