My XP machine was freezing after bootup and I could not access utilities to detemine the error. Could not access Sys restore, so my only option was to initiate a an XP repair using my Win XP SP3 disk. I messed up the first time as I missed entering the repair option, so when I noticed the disk was creating a separate install I immediately cancelled it. However, upon reboot I now had two XP installs on the same partition - the original and the incomplete one I had attempted to cancel.

At this point I could not edit the boot.ini file to correct that error, so I started the repair on the correct Win XP install and this completed without any errors. Or so I thought until I logged in and found a generic desktop with ALL icons gone AND Start/ All Programs was empty. My documents was also empty, so I navigated to the C drive and found the folders containing my files and programs and it appears everything is there...

So how do I get my start menu/ All Programs back AND restore the desktop icons for each user on this machine? I've heard about 'unhide.exe' to restore icons/ desktop shortcuts and even if that is a proven solution it does nothing to restore the 'All programs' issue. I also found a hotfix - #941248 () - in the Microsoft knowledge base but it was desgned to restore the start menu after a malware attack. I'm not sure this was the case and would appreciate your thoughts on using this. FYI - I tried to perform a Sys restore once the repair was complete but all the restore points are gone. Backup is toast, so I have to work with what I've got!! I need to get this operational ASAP - so your help is requested NOW!

I'm not proud - HELP!!

Thanks!

Dani AI

Generated

Most likely cause: the repair created a new/temporary user profile so Windows is logging into a fresh account (empty Desktop and Start->All Programs) while the original profile folder and shortcuts remain on disk. As noted, this is a profile-mapping problem; the steps below show the standard, non-destructive way to confirm and restore the original profile.

Backup the original profile folder to external media before making changes. Inspect the registry at:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Each S-1-5-21... key has a ProfileImagePath showing which profile folder it points to. If a SID key appears twice (one with a .bak suffix and one without), rename the non-.bak key (append .ba), remove .bak from the original key name, then set the DWORD values RefCount and State to 0 (create them if missing). Close the editor and restart; Windows should reattach the original profile.

If Start->All Programs or Desktop icons remain empty after the profile is restored, manually recover shortcuts by copying .lnk files from the old profile and the All Users Start Menu into the active profile. Useful paths to check:

C:\Documents and Settings\All Users\Start Menu\Programs
C:\Documents and Settings\<old-username>\Start Menu\Programs
C:\Documents and Settings\<old-username>\Desktop

If the original profile is badly damaged or the machine really has two installs on one partition, creating a new administrator account and copying the backed-up data and shortcuts into that account is a safe alternative. Always image or back up the drive before editing the registry or deleting Windows folders; registry edits can fix this reliably but carry risk if performed without a backup.

It's possible that the only problem is that your profile has been trashed. One suggestion is to create another user (an administrator). You can run the user manager by running lusrmgr.msc. Then log on to that user. Locate the folder containing your profile. I don't recall where XP keeps them. Just look for a folder on your C drive with your old username. I think it might be something like

C:\Documents and Settings\John

but I could be mistaken.

Once you locate that folder, rename it. For example, if your username is John, rename it to John.old.

It's been a while since I've had to do this, but now log off and relog on with your old username. I believe XP will rebuild the profile using the default profile. You may have to rebuild some shortcuts if you installed any apps at the user rather than all user level.

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.