Sysprepped image will not complete setup

3

I'm having a problem installing/setting up an image.

Background: I've created a Windows 7 Enterprise image (i.e. installed OS, installed applications, configured settings, etc.). Then I sysprepped it and captured/applied it with imagex (onto a computer with identical hardware as the original). When I boot up the new machine, windows starts and runs setup. After the machine displays "Setup is starting services" I get an error that says "Windows could not complete the installation. To install Windows on this computer, restart the computer." Restarting the machine does no good.

Diagnoses and Troubleshooting: These are the steps that I've tried so far:
1) Disabled Windows Media Player Network Sharing service

2) Set skip rearm in answer file

3) Looked for registry key problems:

  • Ran tracerpt setup.etl -o logfile.csv
  • Found (c0000022): Failed to open child key: [Symantec.Norton.Antivirus.IEContextMenu] error
  • Deleted key
  • (Recreated key when solution didn't work)

4) Set the Registry Size Limit to "unlimited":

  • Created RegistrySizeLimit at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control with Type: REG_DWORD and value: 0xffffffff (4294967295)
  • Rebooted
  • Ran SFC /SCANNOW
  • Ran WinRE startup repair

That's as much as I could figure out. There are supposed to be hotfixes related to KB articles 981542 and 977392, but according to Microsoft, they are already included in Service Pack 1, which is a part of the image.

Does anyone have any ideas on how I could get setup to complete?

graf_ignotiev

Posted 2012-05-26T00:26:54.947

Reputation: 221

Never include antivirus in a custom image, above is the result. – None – 2014-09-25T10:14:15.967

have you checked to make sure that all the hardware of the machine you are attempting to install the image on is working properly? Good Ram, good HDD, etc? I know it's a simple thing, but even a stick of Ram that needs to be reseated could be the issue. – Bon Gart – 2012-05-26T02:17:22.660

I'm having the issue on multiple machines. – graf_ignotiev – 2012-05-26T05:56:11.640

Have you checked the log files? Windows setup puts log files in the C:\windows\panther directory and a few other places: Setup log file locations.

Hope this helps, (Signature for disclosure) David Windows Outreach Team - IT Pro

– dwolters – 2012-05-29T16:57:53.260

Thanks @WinOutreach4, that's a good reference that I will probably need in the future. Unfortunately, the log files don't tell me anything that the setup event trace log doesn't. Step 3 above is followed from this post (3rd entry), but I'm unsure of what to do with that information.

– graf_ignotiev – 2012-05-29T20:23:00.270

@graf_ignotiev If you remove Norton from your machine, then capture and re-deploy the image, does it work? – dwolters – 2012-05-30T15:17:46.380

Unfortunately, the original machine has been sysprepped and is having the same problem. Since that machine cannot complete setup, I cannot run the Programs and Features control panel to remove the program. Is there another way to remove Norton or otherwise disable the processing of that registry key? – graf_ignotiev – 2012-05-30T20:17:48.807

@graf_ignotiev can you boot into safe mode or safe mode with command prompt? – dwolters – 2012-05-31T17:55:34.367

No, unfortunately not. I was able to get Norton's Software Removal tool to work and on the advice of a Symantec agent, I deleted every key and value that had Norton or Symantec in the name or data field, effectively removing the product. Unfortunately, this did not solve the problem. – graf_ignotiev – 2012-05-31T19:13:08.683

If Symantec is in your image, that may be part of the problem. Never, Never, Never put the AV in the image. Use MDT to push that at deploy time. – MDT Guy – 2013-05-14T17:20:39.763

Answers

1

If you're still building reference images on physical hardware, you're doing it wrong. Use a Virtual Machine to build your reference image. Always, always, ALWAYS!

Build your images in a VM using MDT. Don't use AIK tools (WISM & ImageX) by themselves. MDT will build the image for you. If you use the ltisuspend script right away in the image builder task sequence you will save lots and lots of time if you build the image in a VM.

MDT Guy

Posted 2012-05-26T00:26:54.947

Reputation: 3 683

0

I had the same problem with windows 7 RTM last year and the hotfixes you mentioned did fix the problem then. I am now doing the same for windows 7 sp1 (and getting the same problem) and am hoping the hotfixes do the job again. One other thing I think I had to do was enable the local administrator account. Unfortunately I never found a way to fix a machine that already got into that state.

Update: I just tried it then and the hotfixes say they are not applicable, which makes sense. Enabling the admin account did the trick for me though, at least with a fresh machine. I think if you can find a way to get in and change enable the admin account you can be good.

I think you should be able to press shift+f10 to bring up a command prompt and then type mmc. You should then be able to add the local users and computers snap in get access to the users. You'll need to reset the password before enabling it as by default it doesn't meet complexity requirements.

It's a lot easier walking on previous trodden ground!

Yoshiwaan

Posted 2012-05-26T00:26:54.947

Reputation: 1