Setup encountered an error while trying to set system security.


I was trying to repair XP home on a computer that is having some OS troubles. I accidentally used the wrong Dell winxp disk. The original OS used a dell disk which already had SP2 on it. I used one that had SP1 only. I tried to use the correct disk and have the same problem as follows;

When the repair gets to the point of installing devices at 34 minutes left, it reboots, and restarts the setup again and again. If I take out the CD it will fail and I can then look at the setup log.

The error log gives the error: Setup encountered an error while trying to set system security.

The only way I got these errors was when I was trying to stop the reinstall by taking out the XP disk.

If there is no obvious answer to the errors, then the next question I have is can I just abort the reinstall altogether? There are multiple users set up on this PC with tons of apps and data and I would rather fix this then do a clean install.

Thanks, Dennis.
Who is Participating?
SandeeprajConnect With a Mentor Commented:
I had a solution for your problem but before performing this Ghost your Harddisk image for safety measures as it contains lots of your data, and try this diagnosis.

Press Shift+F10 to get into Command Prompt and type notepad, browse to windows
folder and select setupperr.log.
Read what is written in the log file.If you find the following error message in the
log file
"Setup encountered an error while trying to set system security". An extended error
has occured.
Close the notepad window, go back to the command prompt and type appwiz.cpl and hit
This open up the Add/Remove Programs window.
Select the related antivirus program, uninstall it and continue with the setup.

Sandeep raj
altacomputerAuthor Commented:
Thanks for the tip about Shift+F10 during the setup. While looking at the log as it was running I saw that it was failing during the install of the modem, of all things. I pulled the card and reran the setup and it finished fine. Thanks for saving a lot of time and embarrassment for me with my customer.

Thanks for the tips. However I solved it with the help of MS KB828267. The Setupapi.log file showed me it was crashing during the audio driver installation. I turned it off in the BIOS (it was the built-in audio).
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.

All Courses

From novice to tech pro — start learning today.