Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
2000
active_directory
advanced_server
applications
cmdprompt.admin
developer
dns
enable
fax
file_system
games
general
group_policy
hardware
msi
multimedia
netware
networking
new_user
printing
ras_routing
registry
security
setup
setup_deployment
setup_upgrade
termserv.apps
termserv.clients
windows_update
  
 
date: 5 May 2006 04:05:25 -0700,    group: microsoft.public.win2000.registry        back       


Is it possible to reset a registry value to its default?   
Hi,
   I am curious, whether we can reset a registry to its default value.
Assuming that my application is looking at a registry value[under one
of the system's keys under hkey_localmachine], and My application
doesn't know whether it has been changed by somebody or some other
applcation before.  Now, at this point, is it possible to find out the
actual default value? (programmatically!)

Thanks
Sathish
date: 5 May 2006 04:05:25 -0700   author:   unknown

Re: Is it possible to reset a registry value to its default?   
As far as I know the only "Default" to check against would be against 
the original system hive when Windows was installed, a copy of which 
would be stored in C:\WINNT\repair.  Mucking about with the System hive 
might lead to great headaches that could include the pc not being able 
to reboot.

John

satv73@gmail.com wrote:

> Hi,
>    I am curious, whether we can reset a registry to its default value.
> Assuming that my application is looking at a registry value[under one
> of the system's keys under hkey_localmachine], and My application
> doesn't know whether it has been changed by somebody or some other
> applcation before.  Now, at this point, is it possible to find out the
> actual default value? (programmatically!)
> 
> Thanks
> Sathish
>
date: Fri, 05 May 2006 08:32:08 -0300   author:   John John

Re: Is it possible to reset a registry value to its default?   
In microsoft.public.win2000.registry John John wrote:

> As far as I know the only "Default" to check against would be
> against the original system hive when Windows was installed, a
> copy of which would be stored in C:\WINNT\repair.  Mucking about
> with the System hive might lead to great headaches that could
> include the pc not being able to reboot.

I would use "at time of installation value" here rather than 
"default" OP.  Just a niggle.

Examining the installation log one (did/did not) make during 
application installation would be easiest I believe.  Also the 
installation package might (or not) contain configuration files 
listing the installation registry changes in some cases.  
Occasionally an INF file might be a source.  Another argument for 
regular Full Registry Backups to be made and archived periodically 
such they are stored against future reference need.  But the 
"installation track and log" tool is my favorite documentation.

Caution, this next is very application-dependent.
With backup/export in hand and in some applications, "missing" keys 
and values may be auto-set to a "default" or "initial" state on 
application execution.  In this case (HKLM) that would be when run 
under Administrator authority.  YMMV widely.

I withhold comments on possible "repair" effects in MSI apps. <G>



> 
> satv73@gmail.com wrote:
> 
>> Hi,
>>    I am curious, whether we can reset a registry to its default
>>    value. 
>> Assuming that my application is looking at a registry
>> value[under one of the system's keys under hkey_localmachine],
>> and My application doesn't know whether it has been changed by
>> somebody or some other applcation before.  Now, at this point,
>> is it possible to find out the actual default value?
>> (programmatically!) 
>> 
>> Thanks
>> Sathish
>> 
>
date: Fri, 05 May 2006 22:56:47 -0400   author:   Mark V lid

Re: Is it possible to reset a registry value to its default?   
Mark V wrote:

> In microsoft.public.win2000.registry John John wrote:
> 
> 
>>As far as I know the only "Default" to check against would be
>>against the original system hive when Windows was installed, a
>>copy of which would be stored in C:\WINNT\repair.  Mucking about
>>with the System hive might lead to great headaches that could
>>include the pc not being able to reboot.
> 
> 
> I would use "at time of installation value" here rather than 
> "default" OP.  Just a niggle.

Indeed.  Anything else might lead to major headaches, especially when it 
concerns the System hive!

John
date: Sat, 06 May 2006 09:10:11 -0300   author:   John John

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us