Fail to add unknown computer using MDT
We're trying to use MDT to add unknown computer to the database for imaging purpose. We use boot media created with MDT for PE boot. We can get to the to the point where we can enter the computer name on the "add computer wizard" so that it can be added to CCM database. The collection that we want to add the unknown computer to looks right on the wizard since we specified it in the Deploy_SCCM_Definition_ENU.xml. After this step, we press "finish" - it takes probably a few minutes trying to retrieving the policy for the computer (shouldn't take this long since we specify on 3 seconds in the ztimediahook.vbs), but then it fails with no assign task sequence. I wonder what could be wrong? Is something else need to be changed in the script or the web service not setup correctly? I checked the OS collection on CCM console (this is the collection we specify in the Deploy_SCCM_Definition_ENU.xml), but don't see the name is added to this collection either.
May 14th, 2009 3:40am

ComputerName=Computername [GetSCCMAssignedSite]WebService=http://YourWebServer/Deployment/AD.asmx/GetSCCMAssignedSite [HasOSDAdvertisement]WebService=http://YourWebServer/Deployment/SCCM.asmx/HasOSDAdvertisementParameters=MACAddress,UUID,AssignedSiteAssignedSite=siteCodeMACAddress=macAddressUUID=UUID I am thinking that I probably need to change the webservice line to match my environment. The other lines I think will probably be populated when the ztimediahook.wsf run. Is this correct assumption?
Free Windows Admin Tool Kit Click here and download it now
May 14th, 2009 9:25am

I think It was permission issue because network service account does not have permission to write to the sccm collections - we got that fixed and test the web services and it all works fine - meaning return "true" on iscomputerknown, getassignedsite.... So we recreated the boot media with MDT, but we run into another problem as indicated in the smsts.log below: The request has succeeded. 200 OK TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Decompressing reply body. TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) ::DecompressBuffer(65536) TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Decompression (zlib) succeeded: original size 402, uncompressed size 2436. TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Client identity reply: <ClientIDReply RequestReceivedTimeHigh="30004424" RequestReceivedTimeLow="3853923116" ReplySentTimeHigh="30004424" ReplySentTimeLow="3853923116" ReplyServerTimeZoneBias="480" ReplyServerTimezoneStandardTimeHigh="31623616" ReplyServerTimezoneStandardTimeLow="31676272" ReplyServerTimeZoneStandardBias="0" ReplyServerTimezoneDaylightTimeHigh="31623616" ReplyServerTimezoneDaylightTimeLow="31676272" ReplyServerTimeZoneDaylightBias="-60" ReplyServerTimezoneStandardTimeYear="0" ReplyServerTimezoneStandardTimeMonth="11" ReplyServerTimezoneStandardTimeDayOfWeek="0" ReplyServerTimezoneStandardTimeDay="1" ReplyServerTimezoneStandardTimeHour="2" ReplyServerTimezoneStandardTimeMinute="0" ReplyServerTimezoneStandardTimeSecond="0" ReplyServerTimezoneStandardTimeMilliSeconds="0" ReplyServerTimezoneDaylightDateYear="0" ReplyServerTimezoneDaylightDateMonth="3" ReplyServerTimezoneDaylightDateDayOfWeek="0" ReplyServerTimezoneDaylightDateDay="2" ReplyServerTimezoneDaylightDateHour="2" ReplyServerTimezoneDaylightDateMinute="0" ReplyServerTimezoneDaylightDateSecond="0" ReplyServerTimezoneDaylightDateMilliSeconds="0" Unknown="0"><Identification><Machine><ClientID/><NetbiosName/></Machine></Identification></ClientIDReply> TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) -60 -60 TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Server time zone info: 480, , [0 11 0 1 2 0 0 0], 0, , [0 3 0 2 2 0 0 0], -60 TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Client Identity: TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Netbios name: TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Client GUID = , Netbios name = , State = Known TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Is 64-bit capable: 1 TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Using unknown machine GUID: TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) FALSE, HRESULT=80040001 (e:\nts_sms_fre\sms\framework\tscore\tspolicy.cpp,833) TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Client does not have an ID. Please ensure you have created a record for this client in the SMS database.Invalid advise flags (Error: 80040001; Source: Windows) TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) m_pPolicyManager->init( sMP, ulMpPort, sSiteCode, lstrcmpW(sUseSSL.c_str(),L"true")==0, lstrcmpW(sUseCRL.c_str(),L"true")==0, L"", sMediaPfx, sMediaGuid, sEnterpriseCert, sServerCerts, sSiteSigningCert, sAuthenticator), HRESULT=80040001 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawizardcontrol.cpp,940) TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Exiting TSMediaWizardControl::GetPolicy. TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) pWelcomePage->m_pTSMediaWizardControl->GetPolicy(), HRESULT=80040001 (e:\nts_sms_fre\sms\client\tasksequence\tsmbootstrap\tsmediawelcomepage.cpp,280) TSMBootstrap 5/14/2009 12:19:26 PM 1384 (0x0568) Setting wizard error: This computer is not registered with the Configuration Manager site. For more information, please contact your system administrator or helpdesk operator. TSMBootstrap 5/14/2009 12:19:26 PM 1320 (0x0528) WelcomePage::OnWizardNext() TSMBootstrap 5/14/2009 12:19:26 PM 1320 (0x0528) It looks like the ztimediahook doesn't even run because if it runs, we should be able to enter a computer name for it to be imported to the specified collection. This is strange, we tested the web services and all returned "true".
May 14th, 2009 10:58pm

I was having an issue using the unknowncomputer.asmx web page and it was returning false for me. I found that I had to edit web.config and specify the correct SCCM server name as well as credentials in the commented out section.-Rich
Free Windows Admin Tool Kit Click here and download it now
June 2nd, 2011 11:43am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics