473,386 Members | 1,738 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Windows Registry

Hi,
I have one doubt regarding registry, if we delete some thing in registry what and all it will delete. i think only the path anything else...
thanks in advance..
May 9 '08 #1
14 2454
Stang02GT
1,208 Expert 1GB
Hi,
I have one doubt regarding registry, if we delete some thing in registry what and all it will delete. i think only the path anything else...
thanks in advance..
You need to be very careful when delete things from your registry.

Expand|Select|Wrap|Line Numbers
  1. The Windows registry is a directory which stores settings and options for the operating system for Microsoft Windows 32-bit versions, 64-bit versions and Windows Mobile. It contains information and settings for all the hardware, operating system software, most non-operating system software, users, preferences of the PC, etc. Whenever a user makes changes to Control Panel settings, file associations, system policies, or most installed software, the changes are reflected and stored in the registry. The registry also provides a window into the operation of the kernel, exposing runtime information such as performance counters and currently active hardware. This use of registry mechanism is conceptually similar to the way that Sysfs and procfs expose runtime information through the file system (traditionally viewed as a place for permanent storage), though the information made available by each of them differs tremendously.

Its not just a path as you can tell by the paragraph above, i would stay out of your registry unless you know what you are doing.
May 9 '08 #2
questionit
553 512MB
Hi,
I have one doubt regarding registry, if we delete some thing in registry what and all it will delete. i think only the path anything else...
thanks in advance..
Making incorrect changes to registry items can cause unexpected problems.

But if you have knowledge how to use the registry, it is a very handy thing.
You can do numerous things with it.

There are plenty tutorial avaialable online on Registry editing.

Regards
Qi
May 9 '08 #3
AmberJain
884 Expert 512MB
I have a query....................

As far as I know, Regedit32.exe available in windows OSes is just REGISTRY EDITOR.

Can you please tell me where the actual settings of registry are stored on a PC? I mean to ask the name of file which stores settings of Windows Registry as regedit32 is just the editor (It is just 16 KB on my PC so it cannot certainly store all registry settings for a pc in just 16KB).

THANKS TO EVERYONE IN ADVANCE......................


============
ambrnewlearner
============
May 19 '08 #4
questionit
553 512MB
I have a query....................

As far as I know, Regedit32.exe available in windows OSes is just REGISTRY EDITOR.

Can you please tell me where the actual settings of registry are stored on a PC? I mean to ask the name of file which stores settings of Windows Registry as regedit32 is just the editor (It is just 16 KB on my PC so it cannot certainly store all registry settings for a pc in just 16KB).

THANKS TO EVERYONE IN ADVANCE......................


============
ambrnewlearner
============
In Win 98, the registry files are named USER.DAT and SYSTEM.DAT

In newer versions of Windows, registery is stored in different locations. I am not sure about file names.

Qi
May 19 '08 #5
AmberJain
884 Expert 512MB
In Win 98, the registry files are named USER.DAT and SYSTEM.DAT

In newer versions of Windows, registery is stored in different locations. I am not sure about file names.

Qi
THANKS, questionit....
But I don't use Win 98 and therefore someone please tell me the exact location where registry settings are stored (for Win XP and Vista).

One more question----> Can we manually edit that file which stores registry settings (in XP or Vista), instead of using REGEDIT32.exe


THANKS TO EVERYONE IN ADVANCE..............................


============
AmbrNewlearner
============
May 20 '08 #6
questionit
553 512MB
THANKS, questionit....
But I don't use Win 98 and therefore someone please tell me the exact location where registry settings are stored (for Win XP and Vista).

One more question----> Can we manually edit that file which stores registry settings (in XP or Vista), instead of using REGEDIT32.exe


THANKS TO EVERYONE IN ADVANCE..............................

============
AmbrNewlearner
============

ambrnewlearner,

You can use Command Prompt's command: reg to manually edit the registery.
Type reg /? for help in Command Prompt.

I am not aware of any utility that lets you edit the Registery file. Can i ask why you dont want to use Regedit32.exe. Is it its interface you dont like?

Regarding location of the Registery file in Win Xp, i've found following from wikipedia:

"In Windows 2000 and Windows XP, the Registry is stored in several Hives (Group of keys, subkeys), located in the \windows\system32\config and \Documents and Settings\{username} folders. "

More about location from Microsoft website:

"A registry hive is a group of keys, subkeys, and values in the registry that has a set of supporting files that contain backups of its data. The supporting files for all hives except HKEY_CURRENT_USER are in the %SystemRoot%\System32\Config folder on Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003, and Windows Vista. The supporting files for HKEY_CURRENT_USER are in the %SystemRoot%\Profiles\Username folder. The file name extensions of the files in these folders indicate the type of data that they contain. Also, the lack of an extension may sometimes indicate the type of data that they contain.Registry hive Supporting files
HKEY_LOCAL_MACHINE\SAM Sam, Sam.log, Sam.sav
HKEY_LOCAL_MACHINE\Security Security, Security.log, Security.sav
HKEY_LOCAL_MACHINE\Software Software, Software.log, Software.sav
HKEY_LOCAL_MACHINE\System System, System.alt, System.log, System.sav
HKEY_CURRENT_CONFIG System, System.alt, System.log, System.sav, Ntuser.dat, Ntuser.dat.log
HKEY_USERS\DEFAULT Default, Default.log, Default.sav
"
May 21 '08 #7
AmberJain
884 Expert 512MB
THANKS questionit for your reply.........

ambrnewlearner,
You can use Command Prompt's command: reg to manually edit the registery.
Type reg /? for help in Command Prompt.
Huh.... I will try playing with cmd's reg command.


I am not aware of any utility that lets you edit the Registery file. Can i ask why you dont want to use Regedit32.exe. Is it its interface you dont like?
No, I don't hate its interface. I was just asking this one out of curiosity. If there existed a method to manually edit registry, then it would have been a very nice thing to learn that method as then we would have a better command over XP.


Regarding location of the Registery file in Win Xp, i've found following from wikipedia:

"In Windows 2000 and Windows XP, the Registry is stored in several Hives (Group of keys, subkeys), located in the \windows\system32\config and \Documents and Settings\{username} folders. "

More about location from Microsoft website:

"A registry hive is a group of keys, subkeys, and values in the registry that has a set of supporting files that contain backups of its data. The supporting files for all hives except HKEY_CURRENT_USER are in the %SystemRoot%\System32\Config folder on Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003, and Windows Vista. The supporting files for HKEY_CURRENT_USER are in the %SystemRoot%\Profiles\Username folder. The file name extensions of the files in these folders indicate the type of data that they contain. Also, the lack of an extension may sometimes indicate the type of data that they contain.Registry hive Supporting files
HKEY_LOCAL_MACHINE\SAM Sam, Sam.log, Sam.sav
HKEY_LOCAL_MACHINE\Security Security, Security.log, Security.sav
HKEY_LOCAL_MACHINE\Software Software, Software.log, Software.sav
HKEY_LOCAL_MACHINE\System System, System.alt, System.log, System.sav
HKEY_CURRENT_CONFIG System, System.alt, System.log, System.sav, Ntuser.dat, Ntuser.dat.log
HKEY_USERS\DEFAULT Default, Default.log, Default.sav
"
CHEERS! This is what I was looking for... Thanks once again, questionit.


-------------------------------------------------------------------------------------------------------------------
There's a new doubt sprouting in my mind now:-
As in your reply,
"..............The supporting files for HKEY_CURRENT_USER are in the %SystemRoot%\Profiles\Username folder....................."
.
Now when I searched for %SystemRoot%\Profiles folder (as in above quote from microsoft's website) on my PC, I couldnot find it. So this means that the supporting files for HKEY_CURRENT_USER exist in some other folder which opposes microsoft online documentation. So I'm already trying to find the exact location of the supporting files for HKEY_CURRENT_USER and if you could find it, please tell me.


==============
=AmbrNewlearner=
==============
May 22 '08 #8
questionit
553 512MB
THANKS questionit for your reply.........


Huh.... I will try playing with cmd's reg command.



No, I don't hate its interface. I was just asking this one out of curiosity. If there existed a method to manually edit registry, then it would have been a very nice thing to learn that method as then we would have a better command over XP.



CHEERS! This is what I was looking for... Thanks once again, questionit.


-------------------------------------------------------------------------------------------------------------------
There's a new doubt sprouting in my mind now:-
As in your reply,
.
Now when I searched for %SystemRoot%\Profiles folder (as in above quote from microsoft's website) on my PC, I couldnot find it. So this means that the supporting files for HKEY_CURRENT_USER exist in some other folder which opposes microsoft online documentation. So I'm already trying to find the exact location of the supporting files for HKEY_CURRENT_USER and if you could find it, please tell me.


==============
=AmbrNewlearner=
==============

You are Welcome

If you look into this folder:

%SystemRoot%\System32\Config , there are plenty such files:

AppEvent.Evt
default
default.sav
SecEvent.Evt
Security
Software
Software.sav
--more--

I could not find files in %SystemRoot%\Profiles on my PC , too. Maybe this applies to earlier version than XP.

Hope this helps?

Btw, i have found a similar Registery editor here:
http://www.dcsoft.com/products/regeditx/

Qi
May 22 '08 #9
AmberJain
884 Expert 512MB
You are Welcome

If you look into this folder:

%SystemRoot%\System32\Config , there are plenty such files:

AppEvent.Evt
default
default.sav
SecEvent.Evt
Security
Software
Software.sav
--more--

I could not find files in %SystemRoot%\Profiles on my PC , too. Maybe this applies to earlier version than XP.

Hope this helps?

Btw, i have found a similar Registery editor here:
http://www.dcsoft.com/products/regeditx/

Qi
Thanks questionit.....
Now I will work on this and if I find something useful I will tell you.

============
AmbrNewlearner
============
May 23 '08 #10
Plater
7,872 Expert 4TB
Try this:
C:\Documents and Settings\<username>\UserData\

There is an index.dat file there
May 23 '08 #11
AmberJain
884 Expert 512MB
Try this:
C:\Documents and Settings\<username>\UserData\

There is an index.dat file there
THANKS, plater....

BUT, the index.dat file is only 16KB in size which I THINK is not sufficient to store settings for HKEY_CURRENT_USER.

Index.dat looks like--------->
__________________________________________________ _______________
Client UrlCache MMF Ver 5.2 @ *  XMXEZJYH K1WC1ARP SXKTA1QT 8BWXIZWL















__________________________________________________ _______________

Also, C:\Documents and Settings\ambr\UserData contains 4 folders with the name XMXEZJYH, K1WC1ARP, SXKTA1QT, 8BWXIZWL which are mentioned in index.dat file. What does this mean (if you know, tell me)?


THANKS
ambrnewlearner
May 23 '08 #12
AmberJain
884 Expert 512MB
One more question.............

What will happen if I delete (or modify manually) the files associated with registry?

I'm expecting my system to crash if I do such thing............

If anyone knows more, please tell me.........

THANKS TO EVERYONE IN ADVANCE..........

============
ambrnewlearner
============
May 23 '08 #13
Plater
7,872 Expert 4TB
I would say, if it even lets you, that if it doesn't crash, the next you boot it is going to tell you that you have hive corruption in the registry and you need to re-install.
May 23 '08 #14
You can manually edit the registry from the command prompt: regedit.exe.

If you have good knowledge , then only edit it manually..If in case your registry gets damaged , try the repair software, windows registry repair software
May 27 '08 #15

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Paul Rubin | last post by:
As what must be penance for something or other, I'm needing to release a Python app for use under Windows XP. Please be gentle with me since I'm a Un*x weenie and the only thing I've had much...
5
by: Dhilip Kumar | last post by:
Hi All, I'm writing a Windows Service app using C#. I need to read some configuration settings before the service starts up. These settings will be used by the service in its operation. ...
3
by: Mark Findlay | last post by:
When programming reads of the Windows Registry, do the registry keys and values need to be localized for international use? For example, do I need to convert the key name...
27
by: pisquem | last post by:
I am building an windows service that is to be deployed on a windows server 2003 and I want to have activity written to the event log, I want its own log called ('CustomLog') Below is what I...
16
by: eSolTec, Inc. 501(c)(3) | last post by:
Thank you in advance for any and all assistance. I'm looking for a way to programmatically retrieve the following if possible: Windows Installation Key or COA from the registry Windows installed...
5
by: =?Utf-8?B?Qkw=?= | last post by:
Hello friends In c# 2005 I have written a function to access "font file name" by "Font name" and it is working fine in all the windows version other than vista, in vista it is throughing an...
2
by: =?Utf-8?B?SnJ4dHVzZXIx?= | last post by:
I just started using Windows Live OneCare, I had been using Norton, but was unable to fix the problems I was having. I have yet been unsuccessful with OneCare as well. I keep getting the same...
3
by: thephatp | last post by:
BLUF: I need to build up the actual %TEMP% path for all users methodically using values in the registry, and I need to do this both by the current user AND as a service will do this running as...
0
AmberJain
by: AmberJain | last post by:
Windows Autorun FAQs: Description NOTE- If you are unfamiliar with the concept of autoruns, then read "Windows Autorun FAQs: Overview". Que-1: How can I safely remove or edit the autorun...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.