{"id":3,"date":"2017-08-13T16:27:15","date_gmt":"2017-08-13T15:27:15","guid":{"rendered":"http:\/\/ec2-34-213-122-33.us-west-2.compute.amazonaws.com\/?p=3"},"modified":"2018-06-29T16:50:21","modified_gmt":"2018-06-29T15:50:21","slug":"configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem","status":"publish","type":"post","link":"https:\/\/techtodd.co.uk\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/","title":{"rendered":"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem"},"content":{"rendered":"<p>Recently I saw a ConfigMgr client machine that failed half way through the Task Sequence with the following errors in the SMSTS.log file:<\/p>\n<p>&#8211; unknown host (gethostbyname failed) ApplyOperatingSystem<br \/>\n&#8211; sending with winhttp failed; 80072ee7<\/p>\n<p>In this case the DHCP lease time was so short that the machine lost it&#8217;s lease before the build finished. Increasing the DHCP lease time resolved the issue.<\/p>\n<p>I believe there may be a few different reasons for this particular error message. If I find any more I will update this blog post. Similarly, if you are aware of any other causes of this issue please comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I saw a ConfigMgr client machine that failed half way through the Task Sequence with the following errors in the SMSTS.log file: &#8211; unknown host (gethostbyname failed) ApplyOperatingSystem &#8211; sending with winhttp failed; 80072ee7 In this case the DHCP lease time was so short that the machine lost it&#8217;s lease before the build finished. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-3","post","type-post","status-publish","format-standard","hentry","category-sccm"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem | Tech Todd<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem | Tech Todd\" \/>\n<meta property=\"og:description\" content=\"Recently I saw a ConfigMgr client machine that failed half way through the Task Sequence with the following errors in the SMSTS.log file: &#8211; unknown host (gethostbyname failed) ApplyOperatingSystem &#8211; sending with winhttp failed; 80072ee7 In this case the DHCP lease time was so short that the machine lost it&#8217;s lease before the build finished. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/\" \/>\n<meta property=\"og:site_name\" content=\"Tech Todd\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-13T15:27:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2018-06-29T15:50:21+00:00\" \/>\n<meta name=\"author\" content=\"TC\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"TC\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/\"},\"author\":{\"name\":\"TC\",\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/#\\\/schema\\\/person\\\/12f10ae88eec753067405d37c00f9103\"},\"headline\":\"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem\",\"datePublished\":\"2017-08-13T15:27:15+00:00\",\"dateModified\":\"2018-06-29T15:50:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/\"},\"wordCount\":111,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/#\\\/schema\\\/person\\\/12f10ae88eec753067405d37c00f9103\"},\"articleSection\":[\"SCCM\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/\",\"url\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/\",\"name\":\"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem | Tech Todd\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/#website\"},\"datePublished\":\"2017-08-13T15:27:15+00:00\",\"dateModified\":\"2018-06-29T15:50:21+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/index.php\\\/2017\\\/08\\\/13\\\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/#website\",\"url\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/\",\"name\":\"Tech Todd\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/#\\\/schema\\\/person\\\/12f10ae88eec753067405d37c00f9103\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/project1-v4xcrw2sui.live-website.com\\\/#\\\/schema\\\/person\\\/12f10ae88eec753067405d37c00f9103\",\"name\":\"TC\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g\",\"caption\":\"TC\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem | Tech Todd","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/","og_locale":"en_GB","og_type":"article","og_title":"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem | Tech Todd","og_description":"Recently I saw a ConfigMgr client machine that failed half way through the Task Sequence with the following errors in the SMSTS.log file: &#8211; unknown host (gethostbyname failed) ApplyOperatingSystem &#8211; sending with winhttp failed; 80072ee7 In this case the DHCP lease time was so short that the machine lost it&#8217;s lease before the build finished. [&hellip;]","og_url":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/","og_site_name":"Tech Todd","article_published_time":"2017-08-13T15:27:15+00:00","article_modified_time":"2018-06-29T15:50:21+00:00","author":"TC","twitter_card":"summary_large_image","twitter_misc":{"Written by":"TC","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/#article","isPartOf":{"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/"},"author":{"name":"TC","@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/#\/schema\/person\/12f10ae88eec753067405d37c00f9103"},"headline":"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem","datePublished":"2017-08-13T15:27:15+00:00","dateModified":"2018-06-29T15:50:21+00:00","mainEntityOfPage":{"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/"},"wordCount":111,"commentCount":0,"publisher":{"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/#\/schema\/person\/12f10ae88eec753067405d37c00f9103"},"articleSection":["SCCM"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/","url":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/","name":"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem | Tech Todd","isPartOf":{"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/#website"},"datePublished":"2017-08-13T15:27:15+00:00","dateModified":"2018-06-29T15:50:21+00:00","breadcrumb":{"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/index.php\/2017\/08\/13\/configmgr-unknown-host-gethostbyname-failed-applyoperatingsystem\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/project1-v4xcrw2sui.live-website.com\/"},{"@type":"ListItem","position":2,"name":"ConfigMgr: Unknown Host (gethostbyname failed) ApplyOperatingSystem"}]},{"@type":"WebSite","@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/#website","url":"https:\/\/project1-v4xcrw2sui.live-website.com\/","name":"Tech Todd","description":"","publisher":{"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/#\/schema\/person\/12f10ae88eec753067405d37c00f9103"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/project1-v4xcrw2sui.live-website.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/project1-v4xcrw2sui.live-website.com\/#\/schema\/person\/12f10ae88eec753067405d37c00f9103","name":"TC","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g","caption":"TC"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/b3a6951f4b1a2876b9cb71e98dda385477183f62e689405514ba93c705bf95d7?s=96&d=mm&r=g"}}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pfa3Hp-3","_links":{"self":[{"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/3","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=3"}],"version-history":[{"count":5,"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/3\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/3\/revisions\/199"}],"wp:attachment":[{"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=3"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=3"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/techtodd.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=3"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}