vividly nonsensical
it just makes nonsense
Black Green Blue Red Gold
RSS
  • Home PageHome
  • About
  • Pix
  • Useful Stuff
  • VMWare Sites

Migrate IIS from one server to another

Last edited by mvarre on June,18 2009microsoft, tech Add comments

Last week I had the unfortunate and immediate need to migrate IIS 6.0 from one Windows Server 2003 to another. I thought this process was going to be very painful, when in fact it was quite simple and straightforward. It’s hard to believe that after all these years I’ve never had to do this. There really is a first time for everything!

Luckily I run everything within VMware ESX Environment, so no data needed to be copied from one machine to another. I simply provisioned a new Windows Server 2003 guest and added the old server’s VMDK disk to the new machine.

  • The first thing you need to do is backup your old IIS configuration. In IIS Manager, right click in IIS Manager > All Tasks > Backup/Restore Configuration.
  • Probably the most imporant part of the whole process is to make sure you “Encrypt the backup using password”. This makes th e IIS config “portable”. If you don’t encrypt it, you won’t be able to import it on a different system as there are sessions keys stored withing the IIS metabase.
  • By default the configuration backup goes to C:\WINDOWS\system32\inetsrv\MetaBack. So you will need to grab both files it has created and move them on over to the new server. Place them in the same location on the new server because IIS doesn’t give you a choice to browse for a backup – it looks in that directory each time.
  • Now you’ll restore that configuration from within IIS Manager, right click in IIS Manager > All Tasks > Backup/Restore Configuration. Choose the one you want to restore and restore. It will ask for the encryptin password.
  • Now we need to restart IIS. This will actually re-create the IUSR account in the Local User Manager, which kind of impressed me. The password will be wrong for this account so you need to set it to something manually by the normal Reset Password function.
  • Now you need to need to tell the metabase about that new password. Microsoft has a nice article outlining how this is done.
    http://support.microsoft.com/kb/297989
  • Restart IIS and for the most part you should be good to go.

I opted to simply reset the password for the IUSR account that the metabase created automatically for me. The name was wrong (hence IUSR_computer), however this meant I wouldnt need to change all of the special IUSR permissions set for special files such as MDB and other special case files. You can easily tell the metabase to use a new user account as the IUSR account using the metabase explorer, but I’m not going to go into that right now.

  • Share/Save

June 18th, 2009  
Tags: ESX, IIS, IUSR, microsoft, Windows

Leave a Reply

You must be logged in to post a comment.



  • Recent Tweets

    • Clonezilla, I have two words for you: Thank you. #win 2 days ago
    • the craigslist captcha can be really damn difficult to read. i guess that's a #win 2 days ago
    • Cisco + Skype could make things interesting 3 days ago
    • Putting vasquez in with guys on base is like giving him a loaded gun with a broken safety #yankees 3 days ago
    • RT @djWHEAT: This shit needs to seriously stop: http://exm.nr/dwBuvO - MICHAEL J FOX FOR LIFE BITCHES! < true dat 3 days ago
    • we should all pay homage to ted williams' frozen head today. 3 days ago
    • how does one make a deal, shake hands, promise to come through on deal one hour later, and never be seen ever again? #peoplesuck 4 days ago
    • these pretzels are making me thirsty 5 days ago
    • Precious little time left to get my apartment rented out :/ 5 days ago
    • seriously, please have a bidding war on me! #dell #3par 6 days ago
    • Looking for some good things to happen. Need some good things to happen, Please good things, happen. 6 days ago
    • I was multi-billion dollar companies would have a bidding war for me :/ #dell #3par 1 week ago
    • More updates...
  • My Links

    • asigraforums.com
    • kishmish.com
    • robibanerjee.com
    • webdevmatt.com
  • Recent Posts

    • Exchange 2010 SP1 Install – Setup previously failed while performing the action “Install”
    • Asigra DS-Client on Ubuntu 10.04 LTS
    • Thanks for screwing us Sirius / XM
    • 4 must have Firefox Add-ons for the Sys Admin
    • Running 32bit applications on a 64bit IIS7.5 platform
    • Where did all the ODBC Drivers go from Windows Server 2008 64bit
    • Digsby and Ubertwitter – People just love to complain about free stuff
    • Outlook 2007 Active Directory account lockout (resolved)
    • The painful irony that is a Twitter outage
    • Office 2010 Technical Preview – Outlook: Day 1
  • Tag Cloud

    32bit windows appliance Asigra bes blackberry calendar CallLogger Cymphonix DS-Client DSN dsuser ESX firewall firmware update firmware upgrade FreeBSD gcc Hardy Heron Ibex IIS linux microsoft ODBC Outlook patches professional server rim rsyslog Shuttleworth snapshot Social syslog Televaulting Twitter Ubuntu VI virtual infrastructure vmdisk vmdk vmware web edition web servers Windows Windows Server 2008
  • Categories

    • backup (1)
    • blackberry (3)
    • linux (4)
    • microsoft (7)
    • ramblings (11)
    • tech (26)
    • vmware (10)
  • Archives

    • August 2010
    • June 2010
    • February 2010
    • January 2010
    • December 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • April 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • User Stuff

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Avatars by Sterling Adventures
Categories
  • backup
  • ramblings
  • tech
    • blackberry
    • linux
    • microsoft
    • vmware
About Me

My name is Michael Varre and I'm a Systems Administrator for a small company in Syracuse, NY.

You'll find a variety of Technology related rants, raves, how-to's and general thoughts here at jirc.com.Read more

Copyright © 2010 vividly nonsensical All Rights Reserved XHTML CSS THEME by I SOFTWARE REVIEWS