IIS 7.5 to 8.0

Posted on 2016-11-11
Medium Priority
Last Modified: 2016-11-23
Hey guys

We have an SBS 2011 server with IIS 7.5 i believe. We are moving services to a new server 2012 R2 server, which i believe is 8.0

Is there a way to full export the settings from the old server to the new one?
Question by:Cobra25
LVL 18

Accepted Solution

Emmanuel Adebayo earned 2000 total points
ID: 41884036
You will need to export the application pool and the site from IIS 7.5 and Import these on to IIS8.0. Following the simple procedure below

To Export the Application Pools on IIS 7.5
Run the command below from the command prompt using the account with admin privilege

%windir%\system32\inetsrv\appcmd list apppool /config /xml > c:\apppools.xml

To Export all your website:
%windir%\system32\inetsrv\appcmd list site /config /xml > c:\sites.xml

On IIS8.0
Import the Application Pools:
%windir%\system32\inetsrv\appcmd add apppool /in < c:\apppools.xml

Import the website:
%windir%\system32\inetsrv\appcmd add site /in < c:\sites.xml

Hope this helps

Author Comment

ID: 41884099
Is there a non comand line way of doing this?

Author Comment

ID: 41884101
Also, will this get everything?
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

LVL 35

Expert Comment

by:Cris Hanna
ID: 41884606
Maybe it would be helpful to tell us what sites/app pool's you want to move?   Is there just a custom built site you want to move?
LVL 29

Expert Comment

by:Dan McFadden
ID: 41884788
I would check out the Web Deploy tools from Microsoft.  You can do a IIS/site migration 2 ways.

1.  Install Web Deploy on both the old and the new server and do a direct migration.  This works best if there is an AD Domain in yoru infrastructure.

2. Install Web Deploy on both servers.  On the old server, you export each site.  The site/code/config all ends up in a ZIP file.  On the new server, you import the sites.  There is an import/export function in Web Deploy.

Reference links:
1. Web Deploy overview:  https://www.iis.net/learn/publish/using-web-deploy/use-the-web-deployment-tool
2. Download:  https://www.iis.net/downloads/microsoft/web-deploy
3. Installing Web Deploy:  https://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later
4. Synchronizing IIS instances:  https://www.iis.net/learn/publish/using-web-deploy/synchronize-iis
5. Export a site: https://www.iis.net/learn/publish/using-web-deploy/export-a-package-through-iis-manager


Author Closing Comment

ID: 41899390
Perfect, thanks!

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Preparing an email is something we should all take special care with – especially when the email is for somebody you may not know very well. The pressures of everyday working life stacked with a hectic office environment can make this a real challen…
Let us take a look at the scenario, you have a database that is corrupt and you run the ESEUTIL command only to find you are unable to repair it. How do you now get the data back?
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

621 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question