User Account Recovery

Hussain

New Member
Recently I accidentally deleted my main user account with
Code:
net user hussain /delete
(don't ask). When I did that, I immedietly, realizing my mistake, recreated it with
Code:
net user hussain /add[/user]. However, thankfully, my old user account folder (c:\users\hussain) was still intact, and vista placed me in the new 'hussain' account, except with a 'c:\users\hussain.hussain-pc' home folder. Since this was folder was unprivelaged, I couldn't do anything in it, and so had to go to safe mode to reactivate the admin account. Anyways, now I'm in the admin account, with my original account's home folder still in tact, but everytime I try to recreate the account, vista will create a new home folder for it, instead of using the preexisting one. Any help on how to only add an entry to the accounts table, without creating a new home folder?

Help is highly appreciated. Thanks in advance!
 

My Computer

System One

  • Manufacturer/Model
    Dell XPS420
    CPU
    Intel Cor2 Quad
    Memory
    3GB
    Hard Drives
    700GB
I had a similar problem and I'm trying to remember how I fixed it. I know I had to edit the registry to do it.

Can you upload screenshots of the:

1. Keys/values in each of HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-xx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxx
2. High level keys in HKEY_USERS
3. Keys/values in each of HKEY_USERS\S-1-5-xx-xxxxxxxxxx-xxxxxxxxxx-xxxxxxxxxx-xxxx\Volatile Environment

Ed
 

My Computer

System One

  • Manufacturer/Model
    Home Grown Desktop
    CPU
    Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
    Motherboard
    ASUS P5B-E
    Memory
    3006 MB
    Graphics Card(s)
    NVIDIA GeForce 8400 GS 512MB
    Sound Card
    Motherboard - SoundMax
    Monitor(s) Displays
    ViewSonic VX2235wm / Dell 17" Generic PnP Anolog
    Screen Resolution
    1680 x 1050 x 4294967296 colors / 1024 x 768
    Hard Drives
    3 x ST3250620AS 250GB SATA IDE
    1 x WDC WD1200JD-00GBB0 120 GB SATA IDE
    PSU
    Enerrmax 535W All-in-one SLI 20/24+6+
    Case
    Antec Sonata
    Cooling
    Antec 12cm SmartCool
    Keyboard
    Logitech LX710
    Mouse
    Logitech MX100 Laser
    Internet Speed
    Bell Canada DSL 12MBps (supposedly)
    Other Info
    2 x HP Pavilion 9700v Laptops
Just fixed it, thanks for suggesting playing around with the registry. For the reccord, I changed:

-HKEY_LOCAL_MACHINE\software\microsoft\windowsNT\current virsion\profile list
-HKEY_CURRENT_USER\Volatil environment (as new user)

All I had to change was the paths of all the keys that refered to "c:\users\hussain.hussain-pc" to "c:\users\hussain". Thanks again!
(note to self: when in doubt, check the registry next time.)
 

My Computer

System One

  • Manufacturer/Model
    Dell XPS420
    CPU
    Intel Cor2 Quad
    Memory
    3GB
    Hard Drives
    700GB
Well, you're OK on Step 1...

In the not too distant future you're going to run into some Permissions problems, as your old ID is almost certainly in the Register as being the owner of various programs/folders.

I had to do a registry search for the old key and change the entries to the new one. Some registry editors have this "search and replace" function. If you don't have one, I'd suggest the freebie[FONT=Segoe UI, Arial] Registrar Register Manager Lite from http://www.resplendence.com/downloads.

Ed
[/FONT]
 

My Computer

System One

  • Manufacturer/Model
    Home Grown Desktop
    CPU
    Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
    Motherboard
    ASUS P5B-E
    Memory
    3006 MB
    Graphics Card(s)
    NVIDIA GeForce 8400 GS 512MB
    Sound Card
    Motherboard - SoundMax
    Monitor(s) Displays
    ViewSonic VX2235wm / Dell 17" Generic PnP Anolog
    Screen Resolution
    1680 x 1050 x 4294967296 colors / 1024 x 768
    Hard Drives
    3 x ST3250620AS 250GB SATA IDE
    1 x WDC WD1200JD-00GBB0 120 GB SATA IDE
    PSU
    Enerrmax 535W All-in-one SLI 20/24+6+
    Case
    Antec Sonata
    Cooling
    Antec 12cm SmartCool
    Keyboard
    Logitech LX710
    Mouse
    Logitech MX100 Laser
    Internet Speed
    Bell Canada DSL 12MBps (supposedly)
    Other Info
    2 x HP Pavilion 9700v Laptops
Back
Top