NEED BEST GEEK HELP to solve this problem - Windows 7 Registry overwrite

Discussion in 'Software' started by Sanxer, Mar 11, 2011.

  1. Sanxer

    Sanxer Private E-2

    Hi guys I need help to recover a registry problem due to some hacking i did to make other stuff functional.

    I recently had problems with installing PostgresSQL on my Win 7 x64 computer I tried many ways and in the end I was able to install the x64 version which didn't give me any access problem, but all the previous installations didn't install correctly and also didn't create any correct uninstall of the postgres, so I did some manual hacking to the registry to remove traces of previous installations and finally got Postgress Working only the latest version x64 worked. Anyway I wrongly deleted a few registry User Profiles under HK LOCAL MACHINE/Windows NT/Current Version/ProfileList.

    This because the the previous PostgresSQL installers were creating multiple accounts as I did see also under C:\Users.

    I also deleted those Postgres Account directories under C:\Users.
    Restarted my computer and found out my desktop was not there anymore. The system created a new default Profile for my Administrator account called Administrator.NAMEOFMYCOMPUTER (It didn't delete the correct one though luckily), didn't like that so I decided to make a System Restore and recovered anything as it was before. :major
    I manually deleted the extra (recovered) accounts under C:\Users and left only Administrator and the default Accounts. Installed postgres which created a default account postgres and now everything was fine beacuse I did manual registry hacking of only the things pertaining to postgres but excluding the ProfileList to avoid the error of generating a new default profile due to NTUser.dat inconsistency. :)

    Now everything as I said was perfect but there was a but. Yesterday I had a hardware HD minor fail which led to a BSOD, the HD had surface errors. When I rebooted the PC I got asked if I wanted to repair Windows Startup or boot normally. I chose to boot normally and got a new bsod and the HD click sound. This time I got a bad System Config Blue Screen of Death.

    I decided to repair startup, but during loading I got another HD click sound and BSOD. :(
    I chose to shut down the PC, I switched all the power supply cables inside the PC Case and left the computer to rest for a night.

    This morning I restarted the PC and did the repair, the system asked If I wanted to restore to a previous restore point, which I did. But It ended UP in restoring to the point where I was when the system created the new default profile Administrator.NAMEOFMYCOMPUTER for my Admin account.

    So again the desktop was replaced and the Administrator account is simply pointing to the BAD c:\Users account dir. :mad

    I tried to make a system restore as I did earlier but it didn't work I got a 0x800149a (if I do remember that well) error. And so I'm stuck to the Administrator.NAMEOFMYCOMPUTER default profile. :crap

    The only way to make this correctly working is to Make the registry USERS, LOCAL MACHINE and CURRENT USER(probably not needed due to the fact it is a subset of USERS) registry hives with their references to point to my C:\Users\Administrator dir which maintains his integrity (still) instead of C:\Users\Administrator.NAMEOFMYCOMPUTER.

    I created a new System Restore Point to avoid any problem after I hack the registry again

    Now I tried this:
    1)I exported as .REG files each of the hives
    2)Using NOTEPAD++ I replaced every Path reference to C:\Users\Administrator.NAMEOFMYCOMPUTER to C:\Users\Administrator
    3)I tried merging the REGS to the registry


    Result: Didn't work cause I could not modify registry keys that were already under usage. :banghead

    What I need then:
    -I would need to merge the new registry informations from an outside OS to avoid this problem.
    -I don't know how to do this !!! :confused

    I can export the current registry hives from regedit as binary images, but how do I modify them from outside the OS ?
    I also can create backup of them using: ERUNT - The Emergency Recovery Utility NT

    What I would need then is a tool to load up these registry hives in a virtual registry sandboxed environment which is fully writable, then I could patch this registry using the REGs I created or using another technique and then exporting back the hives as files so I can replace the files from another Operating System.

    Any help to solve this is really appreciated,
    Thanks.

    :grouphug

    P.S: In the meanwhile I ordered a new HD for backup to avoid any problem due to major HD Fail.
     
  2. tgell

    tgell Major Geek Extraordinaire

  3. Sanxer

    Sanxer Private E-2

    -BartPE seems limited to Windows 2000/XP/2003. I need a solution working for Windows 7 x64.

    So I will evaluate the others to see If I can get any progress and report back.

    thanks.
     
  4. Sanxer

    Sanxer Private E-2

    Solved using Registrar Manager, the only modification needed was to ProfilePath under SOFTWARE Hive, then everything went fine.

    See ya.
     
  5. tgell

    tgell Major Geek Extraordinaire

    Good to see you solved your problem and thanks for the feedback.
     
  6. Sanxer

    Sanxer Private E-2

    I had a few errors probably due to the restore. Chrome wasn't loading.

    - I uninstalled it and installed back again. No problem anymore
    - I had different problems with Firefox. The tools panel was rendering incorrectly and not all menus were visible, also firebug disappeared from the taskbar, so I uninstalled Firefox, I saw everything was still bad, then I launched it back in Firefox Safe mode disabling every addon, and manually re-enable them in blocks of three, there was a buggy addon which I disabled even though it was not the cause. An now almost everything seems to be like it was as if that never happened.

    Still there is a mystery: Even though I can see hidden files and folders, the NTUser.dat inside C:\Users\Administrator is invisible but it's there !!!
    In fact if I try to move the one under C:\Users\Administrator.NAMEOFMYCOMPUTER there it asks me if I want to replace that ;)

    That is another mystery, the important thing Is I was able to backup that the same even if that is invisible^2.

    Cya.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds