Thursday 15 May 2014

PXE Boot Problems Because of Support for unknown devices Option

I was having problems getting PXE to work I have read all the different things and tried them a few times but still no joy. DHCP is on a separate server to the management server the PXE role is installed images uploaded WDS is running but was configured through the config console. When I try and PXE it see's the MP server gets a dhcp address but then I get the bcd error 0xc000000f, below is from the smspxelog. 
Below was the error in Smspxelog :
Policy Provider settings flushed due to registry change
 smspxe 28/04/2014 14:32:42 165640 (0x28708)
Reloading PXE Provider Settings. cached=0 smspxe 28/04/2014 14:32:42 165640 (0x28708)
Loaded PXE settings from reg key HKLM\Software\Microsoft\SMS\Identification:
SMS Site Settings:
 Server: RWSCCM2A
 SiteCode: SCN
 Parent SiteCode: <empty>
 smspxe 28/04/2014 14:32:42 165640 (0x28708)
Cannot read the registry value of MACIgnoreListFile (80070002) smspxe 28/04/2014 14:32:42 165640 (0x28708)
Loaded PXE settings from reg key HKLM\Software\Microsoft\SMS\PXE:
PXE Settings:
    IsActive: Yes
    SupportUnknownMachines: No
    MACIgnoreListFile: <empty>
    ResponseDelay: 0
    CacheExpire: 3600
    HTTP Port: 80
    HTTPS Port: 443
    IISSSLState: 0x0
    BindPolicy: Exclude <empty>
    TRK: <non empty>
    SiteSignCert: <empty>
    Root CA Certs: <empty>
    PXE GUID: e216fc6e-139d-487c-8d5f-553bcb890462
    PXEPassword: <non empty>
 smspxe 28/04/2014 14:32:42 165640 (0x28708)
Loaded TFTP settings from reg key HKLM\System\CurrentControlSet\Services\WDSSERVER\Providers\WDSTFTP:
TFTP Settings:
 Directory: E:\RemoteInstall
 smspxe 28/04/2014 14:32:42 165640 (0x28708)
MAC Ignore List Filename in registry is empty smspxe 28/04/2014 14:32:42 165640 (0x28708)
Loaded Database settings from reg key HKLM\Software\Microsoft\SMS\PXE:
Database Settings:
 Server: RWSCCM2B
 Database: SMS_SCN
 User: xrwh\amitl
 Password: <hidden>
 Use Integrated Security: Yes
 Impersonation Required: Yes
 smspxe 28/04/2014 14:32:42 165640 (0x28708)
PXE Provider Settings Changed smspxe 28/04/2014 14:32:42 165640 (0x28708)
Querying Database for Cert with GUID: e216fc6e-139d-487c-8d5f-553bcb890462 smspxe 28/04/2014 14:32:42 165640 (0x28708)
inside GetPxeCert SmsPXE 28/04/2014 14:32:42 165640 (0x28708)
Executing PxeGetCert(e216fc6e-139d-487c-8d5f-553bcb890462) SmsPXE 28/04/2014 14:32:42 165640 (0x28708)
CDatabaseProxy :: GetPxeCert succeeded: e216fc6e-139d-487c-8d5f-553bcb890462 <swervername> <non empty> SmsPXE 28/04/2014 14:32:42 165640 (0x28708)
Loaded PXE settings from DB: PXE Cert: <non empty>
 smspxe 28/04/2014 14:32:42 165640 (0x28708)
Site Code: , Parent Site Code:  smspxe 28/04/2014 14:32:42 165640 (0x28708)
Executing PXE_GetSiteTypeAndDefaultMP(SCN) smspxe 28/04/2014 14:32:42 165640 (0x28708)
GetSiteTypeAndDefaultMP: SiteType=2 DefaultMP=RWSCCM2A.XRWH.NHS.UK  smspxe 28/04/2014 14:32:42 165640 (0x28708)
Site Type: 2 smspxe 28/04/2014 14:32:42 165640 (0x28708)
GetUnknownMachineResource (SCN,x86): smspxe 28/04/2014 14:32:42 165640 (0x28708)
GetUnknownMachineResource: 90f3d7dd-d2de-4b6e-adfd-9c5ca96e422b, 2 smspxe 28/04/2014 14:32:42 165640 (0x28708)
GetUnknownMachineResource (SCN,x64): smspxe 28/04/2014 14:32:42 165640 (0x28708)
GetUnknownMachineResource: 57a39306-8e24-45ee-85e0-697027fff964, 3 smspxe 28/04/2014 14:32:42 165640 (0x28708)
Loaded PXE settings from DB: Unknown machine GUIDs: (x86) 90f3d7dd-d2de-4b6e-adfd-9c5ca96e422b, (x64) 57a39306-8e24-45ee-85e0-697027fff964 smspxe 28/04/2014 14:32:42 165640 (0x28708)
No need to check cert smspxe 28/04/2014 14:32:42 165640 (0x28708)
[010.227.002.101:4011] Recv From:[010.227.002.101:9000] Len:274 172feb0 smspxe 28/04/2014 14:34:12 15036 (0x3ABC)
[010.227.002.101:4011] Recv From:[010.227.005.105:68] Len:1024 19a2c30 smspxe 28/04/2014 14:38:14 1988 (0x07C4)


Finally After long hunting below msg gave me the answer : 

Have I enabled support for unknown devices???? :)
Executing LookupDevice(46746E94-D140-497A-8C46-5463A8F006FD, FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF) smspxe 28/04/2014 14:54:13 11244 (0x2BEC)
CDatabaseProxy :: LookupDevice succeeded: 0 0 0 0 smspxe 28/04/2014 14:54:13 11244 (0x2BEC)
MAC=FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF:FF SMBIOS GUID=46746E94-D140-497A-8C46-5463A8F006FD > Device not found in the database. smspxe 28/04/2014 14:54:13 11244 (0x2BEC)
Loaded PXE settings from reg key HKLM\Software\Microsoft\SMS\PXE:
PXE Settings:
    IsActive: Yes
    SupportUnknownMachines: No
    MACIgnoreListFile: <empty>
    
Seems like i was trying PXE boot on unknown device as per the settings i have specified.
Enable unknown computer support also make sure that i  have the required boot images available on the DP.

Hope This Will Work!!!!!