Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

windows xp Sysprep

Posted on 2005-05-16
9
Medium Priority
?
873 Views
Last Modified: 2012-05-05
need help this is very urgent. Every time i use Sysprep using windows xp w/sp 2 the IIS breaks. how would I solve this problem.
0
Comment
Question by:jolivare
  • 4
  • 4
8 Comments
 
LVL 6

Expert Comment

by:mslunecka
ID: 14010860
Describe what you mean by "IIS breaks"

Something you should understand about IIS is that many of the items in the IIS metabase are machine and system specific.  They don't take well to imaging.

What you should do is backup your IIS metabase from within the Information Systems Manager snap-in.

Save this metabase on the system you're imaging.

Then when you image a system, you'll need to restore the the metabase WITHOUT the machine specific variables.  To accomodate this microsoft has included two VBS files called iisback.vbs and iiscnfg.vbs (might be iisconfig.vbs, I can't remember the exact file name)

Read this document for detailed instructions on how to backup and restore an IIS metabase.

http://www.microsoft.com/windowsserver2003/community/articles/art_iismetabak.mspx
0
 
LVL 6

Expert Comment

by:mslunecka
ID: 14010943
Oh, and also remember that the IIS user accounts need to be renamed.  THey are specific to the name of the server.

IUSR_SERVERNAME
and
IWAM_SERVERNAME

it is also important to note that part this sequence can be automated in your sysprep file.  One of the options in the setupmgr.exe tool is commands to run at the end of the installation.  You can run command line actions at the end of your sysprep sequence that will restore your IIS metabase.  Now that the computer has a unique name it will work just fine.

It's also possible to rename the user accounts from the command line.

There is a free tool called renuser that you could put in your image.

I think the command "renuser IUSR_SERVERNAME IUSER_%computername% SERVERNAME" will work, though I've never tried it.

You would then repeat using IWAM_SERVERNAME
0
 

Author Comment

by:jolivare
ID: 14014383
what i mean about IIS("Internet Information Services") breaks is the the subfolders disapear after it runs the sysprep setup. if  I only image the system then i works fine it will not break but if i image the system and do a sysprep ("System Preparation Tool and Answer File Usage") then it will break.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 6

Accepted Solution

by:
mslunecka earned 1000 total points
ID: 14014699
Well that's a bit strange.  So far as I understand, sysprep should only be delete any files contained within the sysprep folder.  It cleans itself up as part of the installation.  If for some reason the folders you're missing are contained in the sysprep folder then that would be the reason.

I can't think of any other reason sysprep would randomly delete IIS directories.

Is this the inetpub directory?
0
 

Author Comment

by:jolivare
ID: 14029235
I sorry I don't know what you mean about inetpub direcitory? you mean the subfolder under the IIS component?

do you know any script that will install a windows component in this case IIS?
0
 

Author Comment

by:jolivare
ID: 14347060
Here is the solution to this problem. I found it on microsoft.com. all you need is to delete a file before you do the sysprep. Here is what you need to do:

To work around this problem, use one of the following methods:• Install the Windows XP SP2 Sysprep image from a Windows XP SP2 integrated source.
• Install Windows XP SP2 before you install IIS.  
• Delete the Iischema-update.md0 file before you run Sysprep. To do this, follow these steps:1. Open Windows Explorer.
2. Locate and then double-click the %SystemRoot%\System32\Inetsrv\MetaBack folder.
3. Right-click iischema-update.md0, and then click Delete.
4. When you are prompted to confirm the deletion, click Yes.
5. Quit Windows Explorer.

here is the site for more info: http://support.microsoft.com/?kbid=889073
 
0
 

Author Comment

by:jolivare
ID: 14347102
I'm going to give the points to someone to close this question. Thank you all for all your answer. I found the correct answer on the microsoft web site. I'll give the points to mslunecka because mslunecka answer first and try to help me.
0
 
LVL 6

Expert Comment

by:mslunecka
ID: 14347677
By inetpub I meant the C:\inetpub  directory.  This is the default location in which IIS stores your WWW documents.  Your default website is usually housed at c:\inetpub\wwwroot

Your solution is actually what I was refering to...though I didn't know Microsoft had an article specifically about it.  The metabase contains machine-specific language that will be different on every computer, even if you reload the same computer twice it will need a new metabase.

You do need to be careful with the IUSR and IWAM accounts, though, because if you don't change the names of those accounts on each server after you image them, you could run into the problem with cross-site security problems.  The same username is being granted access on multiple servers when maybe they shouldn't be.  

Good luck!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

810 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