Go Back   PCMech Forums > Windows Support > Windows Legacy Support (XP and earlier)

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 02-27-2003, 04:55 AM   #1
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
Question Accessing Registry

I recently had some trouble with XP. So i decided to format.
So far so good. Then something happened and I cannot load windows. So to temporarily gather personal files and stuff. I installed a fresh copy of XP on my second HD (e:\)

I was sucessfully able to save my files and folders which were on the desktop and my documents of the original XP instalation. (c:\)

The problem is I wanna access c:\ registry. Coz i want to get a serial number of Counter-Strike. It is available in the registry and I dont have it written down anywhere.

Any suggestions?
__________________
AMD Athlon 64 X2 Dual @ 6000+
Zalman CNPS9700 NT Heat Sink
Asus M2N-Plus SLI Vista Edition motherboard
Corsair XMS2 DHX twin pack - 2x2gb @ 800mhz
Windows XP Pro SP2 32 bit
GigaByte Nvidia 8600GT 512 video card
Seagate 100 GB Sata 8mb HD
Seagate 320 GB Sata 8mb HD

1394B (aka Firewire 800) PCI card

-[ et tu Brutus ? ]-
CorruptedSanitY is offline   Reply With Quote
Old 02-27-2003, 07:43 AM   #2
Telcom Tech
 
ktkendall's Avatar
 
Join Date: Feb 2002
Location: Western, Pa.
Posts: 5,409
Did you try
run>regedit
or
run>regedt32
That should get you in but where to find that number you want could actually be a little more of a task... There is the find feature under edit on the top menu...
__________________
If it ain't broke, "TWEAK IT"
ktkendall is offline   Reply With Quote
Old 02-27-2003, 09:43 AM   #3
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Running regedit is only going to open the current registry on E. It will not allow access to the old registry on C.
I think you'll find what you need in c:\documents and settings\username\ntuser.dat
__________________
Black holes are where God divided by zero...
Cheers, Jim

Jims Modems
reboot is offline   Reply With Quote
Old 02-27-2003, 10:15 AM   #4
Telcom Tech
 
ktkendall's Avatar
 
Join Date: Feb 2002
Location: Western, Pa.
Posts: 5,409
Yes, thats right, Sorry I didn't study the post enough to understand the problem, I knew I was probably missing something. Problem is that those .dat files are not just text though are they??? Mine look like some kind of machine code or something when I open one of them for another user that is not currently loggod on...

Last edited by ktkendall; 02-27-2003 at 10:18 AM.
ktkendall is offline   Reply With Quote
Old 02-27-2003, 10:24 AM   #5
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
Yah thats the problem I have. It obivously only opens my current registry.

Ill try reboot's way later when im home...

but thanks you two !
CorruptedSanitY is offline   Reply With Quote
Old 02-27-2003, 10:32 AM   #6
Telcom Tech
 
ktkendall's Avatar
 
Join Date: Feb 2002
Location: Western, Pa.
Posts: 5,409
I even find a file called ntuser.dat.log which says it's a text file but at least with using notepad to open them, this one and the ntuser.dat are not in plain text. Unless there is another application that one would use to open these type of files so that they could be read as plain English text, but I really wouldn't think that is possible..
ktkendall is offline   Reply With Quote
Old 02-27-2003, 01:12 PM   #7
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Most of it won't be in plain text, so you have to hunt through it, but the serialnum will be there in plain numbers
reboot is offline   Reply With Quote
Old 02-27-2003, 01:21 PM   #8
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
reboot... Ok i got to those two files mentioned.
I was able to open the one which was called ntuser.dat which has the icon of a notepad.

There wasnt alot of info in there..just some like
Quote:
regf  (B     t i n g s \ USER NAME \ n t u s e r . d a t = "winnt"
standardserverupgrade = "no"
winntupgrade = "no"
win9xupgrade = "no"
win31upgrade = "no"
sourcepath = "\device\cdrom1\"
floppyless = "0"
msdosinitiated = "0"
dospath=F:\
There was another icon which has no program to open with called NTuser DAT file which i opened with notepad and found alot of characters.. I searched and found the word " counter " from the game counter-strike.. now how am i supposed to find the serial # ? :\ i have no idea what it starts with.. its like a needle in a hay stack
CorruptedSanitY is offline   Reply With Quote
Old 02-27-2003, 02:09 PM   #9
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
True, if you don't really have a clue how many digits it is, or what it might start with, it's going to be a long search. I only know of one other way, and that's to run a repair on the original Windows installation on C and see if you can get it back. You'll end up with two installs of XP, but you can delete one of them later.
reboot is offline   Reply With Quote
Old 02-27-2003, 06:12 PM   #10
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
reboot, so how is the second way?
coz so far i already have XP installed on HD1 which is c:\
and also installed currently on HD2 e:\
CorruptedSanitY is offline   Reply With Quote
Old 02-27-2003, 06:14 PM   #11
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
hmmm
CorruptedSanitY is offline   Reply With Quote
Old 02-27-2003, 06:26 PM   #12
Telcom Tech
 
ktkendall's Avatar
 
Join Date: Feb 2002
Location: Western, Pa.
Posts: 5,409
Probably what he may have been thinking is to now boot from C:, and then just use regedit to find what you are seeking...
ktkendall is offline   Reply With Quote
Old 02-27-2003, 06:48 PM   #13
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
I cant boot to C:\
it says there is a file whicih is crroupted..so i inserted the XP install CD and tried to fix the problem.. as soon as it will begin fixing the problem..my pc reestarts.. its hopeless..
CorruptedSanitY is offline   Reply With Quote
Old 02-28-2003, 10:29 AM   #14
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
How did you try and fix the problem? Are you attempting a repair from the console, or what?
reboot is offline   Reply With Quote
Old 02-28-2003, 01:53 PM   #15
Member (10 bit)
 
CorruptedSanitY's Avatar
 
Join Date: Jul 2002
Location: Columbia, SC
Posts: 567
I inserted the XP set cd and pressed " R " to repair..

Ive done this before..but this time it does not go thru.. the pc restarts just before attemptin to fix the problem.
CorruptedSanitY is offline   Reply With Quote
Old 02-28-2003, 08:53 PM   #16
Member (4 bit)
 
Join Date: Feb 2003
Location: Jonesboro AR
Posts: 8
Send a message via ICQ to agamemnon Send a message via Yahoo to agamemnon
I have a non-orthodox way to find your key. If you have access to a Unix based system get the file to it, (in binary if you use FTP) change directorys to where your file is and in the terminal, type "strings ntuser >> myntuser.tmp" then with your choice of editor (vi is standard) open the file ("vi myntuser.tmp") you will be able to see only the plain text that you extracted. If you have no access to a Unix based machine, try using a hex editor like Ultra-Edit.
agamemnon is offline   Reply With Quote
Old 03-03-2003, 09:45 AM   #17
Member (14 bit)
 
reboot's Avatar
 
Join Date: Mar 1999
Location: Kelowna, B.C., Canada
Posts: 9,138
Start the XP install as if it were new, you will be prompted to run the repair console, select no, and install, you will again be prompted to repair a previous installation, then you hit "R".
reboot is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:31 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2