Had to migrate a few sites today from Server 2000 to Server 2003 IIS6. Microsoft has a tool called iismt that will assist in migrating.
First thing I had to do on the Server 2000 server was enable DCOM so I could remotely transfer the files. Access DCOM configuration in 2000 from Start -> Run -> dcomcnfg. Here’s a screenshot of what the settings were.
After enabling DCOM, I rebooted the Windows 2000 server after I experienced some errors trying to remotely access it. Once rebooted, I was able to successfully migrate sites.
Here’s a quick batch script I made to copy multiple sites over. Pretty generic. Main point is that there were multiple sites so I needed a loop to do this. I only copied the configuration over. Next step after copying configuration over I then copied all data and made adjustments through IIS Administration tool for each individual site ensuring I had the document home directories properly setup post-migration.
@echo off FOR %%s IN (13 17 18 20 21 23 25 29 32 34 36 39 8) DO iismt.exe OLDSERVER w3svc/%%s /user OLDSERVER\administrator /password s3cr3tpass /configonly
I determined which w3svc files I needed by browsing to C:\WINNT\system32\logfiles.
Hope this helps anyone with similar needs.
If you’ve ever modified your boot partition information before in a Vista+ computer, you’ve realized Microsoft does not store this in boot.ini. Instead, it’s edited via a command called bcdedit which is a command line tool.
I ran across a tool called EasyBCD which is a GUI front-end essentially. This tool is endorsed by Microsoft, PC Magazine and other organizations. Visit EasyBCD website to download it for free!
Note: This does not work on Windows XP, 2000, ME/98/95. This is for Windows Vista, 7, and Server 2008.
Microsoft released their own hardware assisted virtualization (HAV) tool. Previously, I used Steve Gibson’s tool over at http://www.grc.com/.
You can grab Microsoft’s tool it’s about 173KB.
Note: For Microsoft’s tool, XP Professional SP2 and SP3 is supported along with Vista SP1 and SP2 Home Basic, Home Premium, Business, Enterprise and Ultimate. Grab Steve Gibson’s tool at GRC called SecurAble if your OS isn’t supported.
A blocking tool is available for organizations that would like to temporarily prevent installation of Service Pack updates through Windows Update. This tool can be used with:
Windows XP Service Pack 3 (valid until May 19th, 2009)
Windows Vista Service Pack 1 (valid until April 28th, 2009)
Windows Vista Service Pack 2 (valid for 12 months following general availability)
Windows Server 2008 Service Pack 2 (valid for 12 months following general availability)
I’m sure when you look at your running processes in Task Manager you see a few svchost.exe processes running. I’m also sure that you’d like to know what is running inside the wrapper. Here are a few methods to help you find this information out.
First, the easiest/quickest, is to use a built-in Windows tool called tasklist. I’m not going into detail about everything tasklist can do, but here’s how to briefly find out what’s in svchost.exe.
tasklist /svc /FI "IMAGENAME eq svchost.exe"
Another method would be to use Sys Internal’s ProcessExplorer tool. You can view the svchost.exe contents using that tool also as shown below.