{"id":333,"date":"2009-11-11T04:10:44","date_gmt":"2009-11-11T13:10:44","guid":{"rendered":"http:\/\/www.insidethe.com\/blog\/?p=333"},"modified":"2009-11-11T04:10:44","modified_gmt":"2009-11-11T13:10:44","slug":"iis-7-appcmd-example-changin-default-isapi-settings","status":"publish","type":"post","link":"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/","title":{"rendered":"IIS 7 AppCmd Example &#8211; Changing Default ISAPI Settings"},"content":{"rendered":"<p>The default ISAPI settings in IIS 7 and later reference %windir% in the path. Changing these settings with a script using AppCmd requires special handling of the % character because it is a reserved character in the AppCmd utility. The % character is and operator to indicate the start of a Unicode character value.<\/p>\n<p>To set values with extended characters using the IIS 7 AppCmd utility you must specify the Unicode value.<\/p>\n<p>For example, to change the value of an ISAPI restriction from true to false on a setting with a relative path issue the command:<\/p>\n<blockquote><p>appcmd set config \/section:system.webServer\/security\/isapiCgiRestriction \/[path=&#8217;%u0025windir%u0025\\Microsoft.NET\\Framework64\\v2.0.50727\\aspnet_isapi.dll&#8221;&#8216;].allowed:false<\/p><\/blockquote>\n<p>The sequence %u0025 is the Unicode value of the % character.<\/p>\n<div id=\"_mcePaste\" style=\"position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;\">r%u0025\\Microsoft.NET\\Framework64\\v2.0.50727\\aspnet_isapi.dll&#8221;&#8216;].allowed:true<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The default ISAPI settings in IIS 7 and later reference %windir% in the path. Changing these settings with a script using AppCmd requires special handling of the % character because it is a reserved character in the AppCmd utility. The % character is and operator to indicate the start of a Unicode character value. To [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[17],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v22.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>IIS 7 AppCmd Example - Changing Default ISAPI Settings - Insidethe.com<\/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:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"IIS 7 AppCmd Example - Changing Default ISAPI Settings - Insidethe.com\" \/>\n<meta property=\"og:description\" content=\"The default ISAPI settings in IIS 7 and later reference %windir% in the path. Changing these settings with a script using AppCmd requires special handling of the % character because it is a reserved character in the AppCmd utility. The % character is and operator to indicate the start of a Unicode character value. To [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/\" \/>\n<meta property=\"og:site_name\" content=\"Insidethe.com\" \/>\n<meta property=\"article:published_time\" content=\"2009-11-11T13:10:44+00:00\" \/>\n<meta name=\"author\" content=\"Jared\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jared\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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\":\"WebPage\",\"@id\":\"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/\",\"url\":\"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/\",\"name\":\"IIS 7 AppCmd Example - Changing Default ISAPI Settings - Insidethe.com\",\"isPartOf\":{\"@id\":\"https:\/\/insidethe.com\/blog\/#website\"},\"datePublished\":\"2009-11-11T13:10:44+00:00\",\"dateModified\":\"2009-11-11T13:10:44+00:00\",\"author\":{\"@id\":\"https:\/\/insidethe.com\/blog\/#\/schema\/person\/c18d4380c3bf0a5b931cc79af34e61cd\"},\"breadcrumb\":{\"@id\":\"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/insidethe.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"IIS 7 AppCmd Example &#8211; Changing Default ISAPI Settings\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/insidethe.com\/blog\/#website\",\"url\":\"https:\/\/insidethe.com\/blog\/\",\"name\":\"Insidethe.com\",\"description\":\"It is my space, but better than myspace\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/insidethe.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/insidethe.com\/blog\/#\/schema\/person\/c18d4380c3bf0a5b931cc79af34e61cd\",\"name\":\"Jared\",\"url\":\"https:\/\/insidethe.com\/blog\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"IIS 7 AppCmd Example - Changing Default ISAPI Settings - Insidethe.com","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:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/","og_locale":"en_US","og_type":"article","og_title":"IIS 7 AppCmd Example - Changing Default ISAPI Settings - Insidethe.com","og_description":"The default ISAPI settings in IIS 7 and later reference %windir% in the path. Changing these settings with a script using AppCmd requires special handling of the % character because it is a reserved character in the AppCmd utility. The % character is and operator to indicate the start of a Unicode character value. To [&hellip;]","og_url":"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/","og_site_name":"Insidethe.com","article_published_time":"2009-11-11T13:10:44+00:00","author":"Jared","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Jared","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/","url":"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/","name":"IIS 7 AppCmd Example - Changing Default ISAPI Settings - Insidethe.com","isPartOf":{"@id":"https:\/\/insidethe.com\/blog\/#website"},"datePublished":"2009-11-11T13:10:44+00:00","dateModified":"2009-11-11T13:10:44+00:00","author":{"@id":"https:\/\/insidethe.com\/blog\/#\/schema\/person\/c18d4380c3bf0a5b931cc79af34e61cd"},"breadcrumb":{"@id":"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/insidethe.com\/blog\/2009\/11\/iis-7-appcmd-example-changin-default-isapi-settings\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/insidethe.com\/blog\/"},{"@type":"ListItem","position":2,"name":"IIS 7 AppCmd Example &#8211; Changing Default ISAPI Settings"}]},{"@type":"WebSite","@id":"https:\/\/insidethe.com\/blog\/#website","url":"https:\/\/insidethe.com\/blog\/","name":"Insidethe.com","description":"It is my space, but better than myspace","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/insidethe.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/insidethe.com\/blog\/#\/schema\/person\/c18d4380c3bf0a5b931cc79af34e61cd","name":"Jared","url":"https:\/\/insidethe.com\/blog\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts\/333"}],"collection":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/comments?post=333"}],"version-history":[{"count":1,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions"}],"predecessor-version":[{"id":334,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/posts\/333\/revisions\/334"}],"wp:attachment":[{"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/media?parent=333"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/categories?post=333"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/insidethe.com\/blog\/wp-json\/wp\/v2\/tags?post=333"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}