CheckEmoji Community · the emoji forum
🏠 Home 🆕 What's new ❓ Unanswered 🔥 Popular 📡 RSS Members 👥 0 online log in · register
Home › IT › Software › Where is the registry database located in Windows XP?

Where is the registry database located in Windows XP?

Started by Roger Smith6 · · 👁 3 views · 7 replies

📡 Subscribe to replies

Participants Roger Smith6John Palmer4frozenheron25nimblebear43
Roger Smith6 Roger Smith6 MemberOP
30 messages
joined Sep 2003
#1 ·
Greetings everyone.

I am wondering where the registry is hidden in Windows XP???
Back in the Windows 98 days, there was user.dat and system.dat (if I recall correctly...) along with those same .old files.
So, how does it work in Windows XP???
Because a friend of mine went to, you know, take a look at what was in the registry, and now his Windows is totally fried: just a black screen and a cursor. He can't even get into Safe Mode, and Repair isn't working either (it's disabled).
So... where is it tucked away?

thanks
Roger Smith6
John Palmer4 John Palmer4 Active Member
50 messages
joined Oct 2008
#2 ·
C:\Documents and Settings\Administrator

Or maybe just some random user profile.

And it’s called NTUSER.DAT

Here is what the internet says:

Windows NT/2000/XP :Registration Database is contained in these 5 files located in the %SystemRoot%\System32\Config folder (default is C:\Winnt\System32\Config for Windows NT/2000 or C:\Windows\System32\Config for Windows XP):

* DEFAULT = stores the HKEY_USERS\.Default key.
* SAM = stores the HKEY_LOCAL_MACHINE\Sam key.
* SECURITY = stores the HKEY_LOCAL_MACHINE\Security key.
* SOFTWARE = stores the HKEY_LOCAL_MACHINE\Software key.
* SYSTEM = stores the HKEY_LOCAL_MACHINE\System key and the HKEY_CURRENT_CONFIG Hive key,

these files located in the %SystemRoot%\Profiles\%UserName% folder:

* NTUSER.DAT and USRCLASS.DAT (Windows XP only) = store the HKEY_CURRENT_USER Hive key,
frozenheron25 frozenheron25 Member
40 messages
joined Jun 2006
#3 ·
Here you go, have a read!🙂

www.regtips.com
If you're looking for some solid References, Articles, Websites and other Resources related to the Windows Registry, I've got you covered.

--------------------------------------------------------------------------------

General
Windows Registry -------------------------------------------------------------------------------- general Definition of The Microsoft Windows Registry Check this out: http://support.microsoft.com/support.../Q256/9/86.ASP

Look, I’m just going to say it: messing with the Windows Registry is basically playing Russian roulette with your OS. If you aren't 100% sure what you're doing, just put the mouse down and walk away. Seriously. It’s one of those things where everything seems fine until you click "OK" on a random tweak you found on some obscure forum, and suddenly your computer is a very expensive paperweight. You change one tiny value in HKEY_LOCAL_MACHINE thinking you're being a genius, and boom—Blue Screen of Death. If you absolutely insist on being reckless, please, for the love of all that is holy, learn how to use ASP How to backup and Restore The registry first. Don't be that guy who realizes they need a restore point *after* the system won't even reach the desktop. Also, if you're trying to dive deep into the guts of the system, check out Registry Internals Inside The Registry - Learn How NT. It might actually give you a clue before you break something. And if you're worried about someone else messing with your setup, look into Enhance Security Through Registry Permissions http://www.winntmag.com/Articles/Content/5375_01.html. Bottom line? Treat the Registry like a live wire. Use caution, or prepare to spend your weekend reinstalling Windows. Check this out: http://support.microsoft.com/support.../86.ASP#Topic2 Advanced Registry Information Resources

ASP #Topic2 Advanced Registry Information Resources Check this out: ASP #Topic3 The Structure of The Registry http://msdn.microsoft.com/library/bo .../ chpt10-03

ASP #Topic3 The Structure of The Registry http://msdn.microsoft.com/library/bo .../ chpt10-03 ASP #Topic3 The Structure of The Registry http://msdn.microsoft.com/library/bo .../ chpt10-03

So, let's talk about Registry Data Types. If you're going to be poking around under the hood of the Windows Registry, you really shouldn't go in blind. It’s not just one big pile of random text; there’s actually some logic to how things are stored. Think of it like a massive filing cabinet where everything needs a specific folder type so the system doesn't lose its mind. Basically, when you're looking at values, they fall into a few main categories. You've got your standard strings, which are pretty self-explanatory—just plain old text. Then you have DWORDs, which are basically those 32-bit numbers that the system uses for all sorts of little toggles and settings. If you want to turn a feature on or off, you're usually messing with a DWORD. Then there are QWORDs for the heavier lifting (64-bit stuff), binary data for when the system needs to store raw hex junk, and even multi-string values if a single entry needs to hold a whole list of items. It might seem like overkill, but having these distinct types is what keeps the OS from tripping over itself. If you try to treat a binary blob like a simple string, things are going to get messy, fast. Just a heads-up before you start editing away: knowing exactly what kind of data you're looking at is the difference between a smooth tweak and a blue screen. Check this out: http://msdn.microsoft.com/library/de...egapi_41mb.htm

Windows 95/98/ME

So, you're looking to mess around with Regedit.exe while running in Real Mode on Windows 95/98? Yeah, that's a bit of a wild ride. If you’re trying to dive deep into the guts of the system when things aren't exactly running smoothly, you're basically playing with fire, but hey, I've always liked a little heat. Dealing with the registry while the OS is in this state can be tricky because you're stepping outside the usual safety nets. It's one of those "handle with care" situations where one wrong move in the registry and you're staring at a blue screen instead of a working desktop. When you're poking around in the Windows 95/98 environment like this, you really need to have a solid plan. You can't just wing it. If you're going to experiment with the Description of The registry Files in Win 95/98, make sure you've got your backups ready to go. Seriously, don't be that person who breaks their setup and then wonders why nothing works. If you want to get serious about it, you should probably look into the Registry Internals Inside The Registry - Learn How NT. It gives you a much better grasp of what's actually happening under the hood. And if you're worried about someone else messing with your settings, check out the info on Enhance Security Through Registry Permissions http://www.winntmag.com/Articles/Content/5375_01.html. Just a heads up: playing in Real Mode means you're closer to the metal, which is cool, but also means there's less to stop you from making a mess. Be smart about it. Check this out: http://support.microsoft.com/support.../Q131/3/52.asp
Description of The registry Files in Win 95/98 Check this out: http://support.microsoft.com/support.../Q250/4/10.ASP
So, you've gone and messed things up? Don't worry, we've all been there. If you're looking for the "oops, I broke it" button, you're looking for ASP How to backup and Restore The registry. It’s basically your safety net before you dive headfirst into making a mess of your system settings. If you want to play it safe, you should definitely learn how to pull a backup before you start tweaking stuff. It’s just good practice. Otherwise, you're basically driving a car without a seatbelt—fun until you hit something. Check this out: http://support.microsoft.com/support.../Q132/3/32.asp
So, you've run into some registry errors? Welcome to the club. It’s usually a headache, but let's see if we can sort through the mess without nuking your entire OS. First things first, don't go swinging around in there blindly. If you start deleting stuff just because you think it looks suspicious, you're basically playing Russian roulette with your hard drive. If you're looking for a way to dig deep into what's actually happening under the hood, check out Registry Internals Inside The Registry - Learn How NT. It's pretty solid if you want to understand why things are breaking instead of just guessing. If you're dealing with something specific like how files are being handled, you might want to look into file Association http://msdn.microsoft.com/library/ps. Sometimes a broken link there is all it takes to make everything feel wonky. For those who prefer a more "safety first" approach—which, honestly, is the only sane way to do this—you should definitely hit up ASP How to backup and Restore The registry before you touch a single key. Seriously. Don't be that person who wipes their configuration and then wonders why they can't boot. If you're trying to figure out if something malicious is messing with your settings, you could try monitoring Registry Activity During The boot Process http://www.sysinternals.com/regboot.htm Registry Security Maintaining Registry Security. It gives you a decent look at what's moving during startup. Also, if you're worried about someone else poking around your system, you need to look into Enhance Security Through Registry Permissions http://www.winntmag.com/Articles/Content/5375_01.html. It's worth knowing how to lock things down properly. Bottom line: take it slow, back your stuff up, and don't delete anything unless you're 100% sure what it does. Good luck. Check this out: http://support.microsoft.com/support.../Q131/4/31.asp

Windows 2000/NT

Windows 2000 Registry : Latest features and APIS So, if you're looking to beef up your apps, you really need to take a look at what's new with the Windows 2000 Registry : Latest features and APIS. It's got some pretty useful stuff under the hood for extending functionality. Check this out: http://msdn.microsoft.com/msdnmag/is...y/Registry.asp
Windows NT FAQ - Registry Check out this link if you want to dive deep into the registry: http://www.ntfaq.com/registry.html
So, I was thinking about the whole Registry size situation on Windows NT. It’s one of those things that people always seem to trip over when they start digging into how the OS actually handles data under the hood. If you're looking at the technical limits, there isn't really a hard "ceiling" in the way most people think—it’s more about how much memory and disk space you're willing to throw at it before things start getting sluggish. But let's be real: if you go overboard, you're just asking for trouble. I remember seeing some chatter about this earlier, and honestly, it's easy to get lost in the weeds. If you want to dive deeper into how it all works, you should probably check out Registry Internals Inside The Registry - Learn How NT. It'll give you a better idea of what's actually happening behind the scenes. Just a heads up though: don't go playing around with settings you don't understand unless you've got a solid plan for ASP How to backup and Restore The registry. Messing with the wrong keys is a great way to turn a working machine into a very expensive paperweight. Check this out: http://support.microsoft.com/support.../Q124/5/94.asp
So, I was thinking about the whole registry size situation on NT. People always seem to be stressing over how much space this thing is eating up, like it’s some kind of growing monster under the bed. But honestly? If you're actually hitting a wall with the size limits on Windows NT, you probably have bigger problems than just a bloated database. It's not like we're running on some ancient, limited hardware from a decade ago. Most modern US workstations can handle a massive amount of data before things even start to feel sluggish. If you want to dig into the actual mechanics of how this all works under the hood, check out Registry Internals Inside The Registry - Learn How NT. It’s pretty solid if you want to understand why the system behaves the way it does when things get heavy. Anyway, unless your machine is acting like it's choking on its own breath, don't lose sleep over it. Just keep an eye on what's being added and maybe look into monitoring Registry Activity During The boot Process http://www.sysinternals.com/regboot.htm Registry Security Maintaining Registry Security if you're worried about weird bloat caused by rogue processes. Check this out: http://support.microsoft.com/support...s/Q94/9/93.ASP

ASP remote Registry Editing Setting

So, I'm diving into setting up remote administration for Windows 95. It’s a bit of a project, but here we go. Check this out: http://msdn.microsoft.com/library/wi...in95/S647C.HTM
If you're looking to get HTM Install remote Administration Services running on Windows 9 x, here’s the deal. It's not exactly a walk in the park, but if you play your cards right, you can get it sorted. Check this out: http://support.microsoft.com/support.../Q141/4/60.asp
bug : Win 95/98 — can't seem to hit the remote registry. Check this out: http://support.microsoft.com/support.../Q193/4/64.ASP
If you're looking to tighten things up and Regulate Network access by locking down remote registry editing on Win NT or Windows 2000, here’s the deal. It's pretty straightforward if you know where to look. Basically, you want to mess with the ASP remote Registry Editing Setting to make sure some random user isn't poking around your system from across the office. You can handle this through your standard admin tools to ensure you have full control over who's hitting your machine. If you need more deep dives into how the OS handles these permissions or want to see the nitty-gritty of how the system manages these requests, check out these resources: know Your enemy and taka control of Network Security http://www.winntmag.com/Articles/Content/88_01.html Inside The Registry - Uncover its usefulness http://www.winntmag.com/Articles/Content/122_01.html Enhance Security Through Registry Permissions http://www.winntmag.com/Articles/Content/5375_01.html That should keep the unwanted guests out. Simple enough. Check this out: http://support.microsoft.com/support.../Q153/1/83.asp
If you're looking to Regulate Network access to the Win NT registry, you've gotta be careful how you handle things. It’s not just about flipping a switch; it’s about making sure you aren't leaving the front door wide open for anyone to walk in and mess with your system. Check this out: http://support.microsoft.com/support.../Q155/3/63.asp

Registry Internals

Dive into the guts of the system—learn how NT handles and organizes this massive database http://www.winntmag.com/Articles/Content/5195_01.html

Regmon for Windows NT/9x. A handy little tool for watching the Registry in action http://www.sysinternals.com/regmon.htm

monitoring Registry Activity During The boot Process http://www.sysinternals.com/regboot.htm Registry Security Maintaining Registry Security http://www.sysinternals.com/regboot.htm

Registry Security

Maintaining Registry Security http://msdn.microsoft.com/library/wi...innt/S847A.HTM

Regulate Network access http://msdn.microsoft.com/library/de...ntregistry.htm

software Security Considerations http://msdn.microsoft.com/library/wi...innt/S8634.HTM

HTM Foil Attacks on Your Registry. know Your enemy and taka control of Network Security http://www.winntmag.com/Articles/Content/88_01.html Inside The Registry - Uncover its usefulness http://www.winntmag.com/Articles/Content/122_01.html Enhance Security Through Registry Permissions http://www.winntmag.com/Articles/Content/5375_01.html http://www.winntmag.com/Articles/Content/88_01.html

Uncovering what the Registry can actually do for you http://www.winntmag.com/Articles/Content/122_01.html

Beef up your security using Registry Permissions http://www.winntmag.com/Articles/Content/5375_01.html

Windows shell Creating

How to handle file Association http://msdn.microsoft.com/library/ps.../FileAssoc.htm
Leveraging the Registry to sign up file types and apps
http://msdn.microsoft.com/library/bo...uide/ch11c.htm
Dealing with Shell Extensions for files that don't have an extension
http://support.microsoft.com/support.../Q236/0/14.ASP
Giving custom icons to specific file extensions http://support.microsoft.com/support.../Q247/5/29.ASP
What's changed regarding file types and association features in Windows 2000 http://support.microsoft.com/support.../Q257/5/92.ASP
Fixing broken .lnk file associations http://support.microsoft.com/support.../Q172/0/53.asp
Linking an app to a specific URL protocol http://msdn.microsoft.com/workshop/n...appendix_a.asp
Getting a clean, standalone view of a Namespace Extension http://msdn.microsoft.com/library/ps...v/nse_view.htm
Adding more stuff to your Context Menus http://msdn.microsoft.com/library/ps...cs/context.htm
Building Shell Extensions via Shell Instance Objects http://msdn.microsoft.com/library/te...ellinstobj.htm
The Registry entries created by ActiveX componentshttp://support.microsoft.com/support.../Q183/7/71.ASP

Registry keys that trigger apps at startup

Check out Run, RunOnce, RunServices, RunServicesOnce, and Startup here: http://support.microsoft.com/support.../Q179/3/65.ASP

Geeky Search Engines

MSDN Online Search — your go-to for the Knowledge Base, official Microsoft docs, and various http://search.microsoft.com/us/dev/default.asp
Articles http://www.deja.com/home_ps.shtml
Deja.Com Power Search — dig through those Usenet archives

Registry Newsgroups
Microsoft Windows NT Registry Newsgroup news://news.microsoft.com/microsoft....owsnt.registry
Microsoft Windows 2000 Registry Newsgroup news://news.microsoft.com/microsoft....n2000.registry
Microsoft Windows 2000 Registry Newsgroup (US/International version) news://news.microsoft.com/microsoft....n2000.registry

Sites for Registry Tweaks
Windows Guide Network — technical deep dives and support for tweaking, managing, and hardening the Windows OS via the registry, scripting, and security http://www.winguides.com/registry/
Wayne's Registry Index & NT registry tips http://www.is-it-true.org/nt/registry/index.shtml
Windows NT/2000 ® Tips, Tricks, Registry Hacks, and stuff... http://www.jsiinc.com/reghack.htm
Windows NT FAQ http://www.ntfaq.com/
Axcel216 - Over 150 ways to hack your Windows 9 x Registry http://members.aol.com/axcel216/

Copyright © 2000-2001 Resplendence Sp. All rights reserved
nimblebear43 nimblebear43 Member
11 messages
joined May 2004
#4 ·
The registry location is:
%SYSTEMROOT%\system32\config
Roger Smith6 Roger Smith6 MemberOP
30 messages
joined Sep 2003
#5 ·
Isn't it true that after every single time you save the registry, regedit makes a backup of the previous state somewhere? So if everything goes to hell, you could just swap out the corrupted files with those safety copies?
Doesn't that exist???
Am I really going to have to reinstall the entire operating system???😲
frozenheron25 frozenheron25 Member
40 messages
joined Jun 2006
#6 ·
Look, as far as I can tell, making the backup is your responsibility, not his.
You can just use the "export" option in regedit if you want to get it done.
Roger Smith6 Roger Smith6 MemberOP
30 messages
joined Sep 2003
#7 ·
What a complete disaster... honestly, that isn't even my car... just a total catastrophe. 🙂
frozenheron25 frozenheron25 Member
40 messages
joined Jun 2006
#8 ·
Shoki said:Man, what a mess... and that isn't even my car... absolute disaster. 🙂

Come on, man, give me some actual details on what's going wrong. Does the screen go black instantly, or is he at least getting an error code??
What was he pulling from the registry, if he can remember?
Is the F8 actually working???

Give me something to work with here, for God's sake.

You must log in or register to reply here.

Log in Register

🔗 Similar threads