{"id":102,"date":"2012-06-27T15:11:40","date_gmt":"2012-06-27T13:11:40","guid":{"rendered":"http:\/\/exchangetimes.wordpress.com\/?p=102"},"modified":"2012-06-27T15:11:40","modified_gmt":"2012-06-27T13:11:40","slug":"how-to-reset-iis-folders-on-an-exchange-2003-server","status":"publish","type":"post","link":"https:\/\/exchangetimes.net\/?p=102","title":{"rendered":"How to reset IIS folders on an Exchange 2003 server"},"content":{"rendered":"<p>Sometimes IIS or IIS permissions go corrupt or just leave the planet for different reasons. When you need to delete and recreate these folders do the following&#8230;<\/p>\n<ul>\n<li>Back up\u00a0the IIS Metabase on your Exchange Server:<\/li>\n<li>Start IIS Manager.<\/li>\n<li>Right click\u00a0the <strong>Default Website<\/strong>, choose <strong>All Tasks<\/strong>, and click <strong>Save Configuration to a File<\/strong>.\u00a0<\/li>\n<\/ul>\n<p>Now delete the OWA virtual directories:<br \/>\n\u00a0Right click <strong>Exadmin<\/strong>\u00a0and\u00a0click <strong>Delete<\/strong>. When prompted if you are sure click <strong>Yes.<\/strong><\/p>\n<p>Now delete the below listed virtual directories:<\/p>\n<ul>\n<li>\n<ul>\n<li>Exchange<\/li>\n<li>ExchWeb<\/li>\n<li>Microsoft-Server-ActiveSync<\/li>\n<li>OMA<\/li>\n<li>Public<\/li>\n<\/ul>\n<\/li>\n<li>Close the\u00a0IIS Manager.<\/li>\n<li>Open the command prompt.<\/li>\n<li>Change to (<strong>driveletter<\/strong>:)inetpubadminscripts<\/li>\n<li>Type <strong>adsutil<\/strong>, and hit Enter.<\/li>\n<li>Click <strong>Yes<\/strong>\u00a0when prompted to register CScript\u00a0as your default host for VBscript and then\u00a0click <strong>OK<\/strong>.<\/li>\n<li>\u00a0Click start, then run and type <strong>services.msc<\/strong>. Hit enter.<\/li>\n<li>Right click on <strong>Microsoft Exchange System Attendant<\/strong> and choose restart.<\/li>\n<li>Note that the <strong>MS Information Store<\/strong> and <strong>MTA Stacks<\/strong>\u00a0will also restart. This will cause users to lose temporary connection to Exchange.<\/li>\n<li>Make sure that all services (<strong>Microsoft System Attendant, Microsoft Information Store, MTA Stacks<\/strong>) have started.<\/li>\n<li><span style=\"color:#ff0000;\">I have found that a few times that restarting the System Attendant did not create the virtual directories but a server reboot did.<\/span><\/li>\n<li><span style=\"color:#000000;\">Now start the IIS Manager, right click on the <strong>ExchWeb <\/strong>virtual directory, click on properties and click on Directory Security.<\/span><\/li>\n<li><span style=\"color:#000000;\">Click on\u00a0<strong>Authentication and Access Control<\/strong> then click <strong>Edit <\/strong>and then verify that\u00a0<strong>Enable anonymous access<\/strong>\u00a0is checked.<\/span><\/li>\n<li><span style=\"color:#000000;\">Check\u00a0<strong>Integrated Windows Authentication, <\/strong>click OK, click Apply.<\/span><\/li>\n<li><span style=\"color:#000000;\">When the Permission\u00a0Inheritance box appears, click on select all and then OK.<\/span><\/li>\n<li><span style=\"color:#000000;\">Now open Authentication and Access Control again. Click <strong>Edit <\/strong>and uncheck Integrated Windows Authentication.<\/span><\/li>\n<li><span style=\"color:#000000;\">Click OK twice.<\/span><\/li>\n<\/ul>\n<p><span style=\"color:#000000;\">Now your IIS Virtual Directories have been recreated. Test OWA. If OWA\u00a0does not work reboot the server and after you logged in try OWA again as it should work like expected.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes IIS or IIS permissions go corrupt or just leave the planet for different reasons. When you need to delete and recreate these folders do the following&#8230; Back up\u00a0the IIS Metabase on your Exchange Server: Start IIS Manager. Right click\u00a0the Default Website, choose All Tasks, and click Save Configuration to a File.\u00a0 Now delete the OWA virtual directories: \u00a0Right click Exadmin\u00a0and\u00a0click Delete. When prompted if you are sure click Yes. Now delete the below listed virtual directories: Exchange ExchWeb Microsoft-Server-ActiveSync OMA Public Close the\u00a0IIS Manager. Open the command prompt. Change to (driveletter:)inetpubadminscripts Type adsutil, and hit Enter. Click Yes\u00a0when prompted to register CScript\u00a0as your default host for VBscript and then\u00a0click OK. \u00a0Click start, then run and type services.msc. Hit enter. Right click on Microsoft Exchange System Attendant and choose restart. Note that the MS Information Store and MTA Stacks\u00a0will also restart. This will cause users to lose temporary connection to Exchange. Make sure that all services (Microsoft System Attendant, Microsoft Information Store, MTA Stacks) have started. I have found that a few times that restarting the System Attendant did not create the virtual directories but a server reboot did. Now start the IIS Manager, right click on the ExchWeb virtual directory, click on properties and click on Directory Security. Click on\u00a0Authentication and Access Control then click Edit and then verify that\u00a0Enable anonymous access\u00a0is checked. Check\u00a0Integrated Windows Authentication, click OK, click Apply. When the Permission\u00a0Inheritance box appears, click on select all and then OK. Now open Authentication and Access Control again. Click Edit and uncheck Integrated Windows Authentication. Click OK twice. Now your IIS Virtual Directories have been recreated. Test OWA. If OWA\u00a0does not work reboot the server and after you logged in try OWA again as it should work like expected.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,32],"tags":[47,110,115,119],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-exchange-2003","category-owa","tag-delete-and-recreate-owa-virtual-directories","tag-owa-not-working-on-backend-server-as-it-displays-a-blank-page","tag-recreate-iis-virtual-folders","tag-reset-iis-virtual-folders"],"_links":{"self":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=102"}],"version-history":[{"count":0,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/exchangetimes.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}