I am getting an error message while installing Widows XP.
This is the message i get
'An unexpected error (768) occurred at line 5118 in <drive letter>\xpclient\base\boot\setup\setup.c Press any key to continue."
Once you press any key, the system then starts to load Windows, after which the following message comes:
A problem has been detected and windows has been shutdown to prevent damage to your computer. PROCESS1_INITIALIZATION_FAILED
Does anyone have an idea what is wrong with my windows?

Dani AI

Generated

described two clear symptoms: the installer aborts with "An unexpected error (768) ... setup.c" and, after continuing, Windows crashes with a PROCESS1_INITIALIZATION_FAILED blue screen. 's pointer to official support is a good start and / are right that a clean install often solves this — but try these targeted checks first so you don't wipe data unnecessarily.

Basic, high‑value checks

  • Verify the XP media and drive: try a different install CD or reburn at a slower speed, and test the CD in another machine or drive. Read errors from the installer usually point to bad media/drive reads.
  • Test RAM: run Memtest86+ (bootable) for several passes. Faulty RAM commonly causes setup failures and early BSODs.
  • Disconnect extras: remove nonessential peripherals and extra drives; leave only the target HDD, keyboard and video.

Repair attempts before reinstall

  • Boot the XP CD, press R for Recovery Console, then run:
    chkdsk /r
    fixboot
    fixmbr
    exit

    These check/repair disk errors and basic boot problems. If the registry hives are corrupt you may still need a repair install or full reinstall, but chkdsk often uncovers failing sectors that explain both errors.

If errors continue

  • Check BIOS SATA/IDE mode. If the machine uses SATA/AHCI, switch to IDE/compatibility (or supply drivers with F6 during setup). XP commonly fails on modern controllers without the vendor driver.
  • Run the HDD vendor's diagnostic utility (bootable) — repeated read errors mean replace the drive. If Memtest fails, replace RAM sticks one at a time and retry setup.

If after these steps the install still fails, back up data and proceed with a clean install as suggested by and . This sequence prioritizes non‑destructive checks first and isolates hardware problems that commonly produce the exact errors you reported.

Recommended Answers

All 8 Replies

Google is your friend, ask it for help:

yeah thanks anyway.Google is the greatest source of knowledge anyone can have.

Are you doing a clean install if thats the case then just try formatting your hard drive and start again and see if that error occurs again. There could be a possibility of your XP Boot CD to be corrupted.
I know it is a painstaking process but if you get it right in the end it ll be worth it.

Regards
Raj

I am installing Windows XP with an already existing version of Windows 98 in my system.I have heard about compatibility problems between XP and 98,and his may be due to it.

Do you want to keep Win98? Why not just do a clean install?

I'd sya just back up all your data and do a clean install. It might also save a u a lot of trouble man and hopefully might avoid any future issues due to compatibility issues.

Regards
Raj

Im going to throw out Windows 98 and install XP fresh.

Good Call!

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.