Click to See Complete Forum and Search --> : Knowing remote machine's registry location programmatically


samirdhan
September 29th, 2008, 06:08 AM
Hi All,

Normally registry location for any machine is ..\..\system32\config folder

I have the following scenario :
Need to know the registry location of a remote machine programmatically. Objective is to load the registry hive and do the necessary changes for which I need to know the physical location of the registry. This requirement is part of an anti virus s/w development.

Programmatic approach will allow me to find the location accurately as the above mentioned path name can change.
Looking for your input on the same.

Thanking you all in advance for the help.

Regds,
Samirdhan

Krishnaa
September 29th, 2008, 06:40 AM
I dont think there is any setting to change this location, have you seen any ?

samirdhan
September 29th, 2008, 07:01 AM
Hi Krishnaa,

Although I have not tried, I think one can change the Windows folder name during OS installation.

Also, there might be more than one partition and OS might be installed inside d:\ also instead of normally expected C:\. This is common when you have dual booting facility with different flavors of OS installed in different drives.

Regds,
Samirdhan