remote registry access problem
-
Hii all, I am doing an application which lists the installed softwares in local system as well as remote systems. I can get the installed softwres by reading the registry key value "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall". But when I tried to read the registry of remote systems using the method "OpenRemoteBaseKey" I am getting an access restriction exception. How can I solve this or is there any alternative method to do this.. Plz help Thanks in advance
Ranjith Stephen
-
Hii all, I am doing an application which lists the installed softwares in local system as well as remote systems. I can get the installed softwres by reading the registry key value "Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall". But when I tried to read the registry of remote systems using the method "OpenRemoteBaseKey" I am getting an access restriction exception. How can I solve this or is there any alternative method to do this.. Plz help Thanks in advance
Ranjith Stephen
hi Ranjith! u should have administrator rights for accessing remote registry service on a remote machine .. by d way why dont u use WMI for getting all d installed applications on local or remote machine.. try using 'Win32_Product' class for getting the list of installed application.. but for this also u should have Administrator Previleges .. on remote machines..
abhinav
-
hi Ranjith! u should have administrator rights for accessing remote registry service on a remote machine .. by d way why dont u use WMI for getting all d installed applications on local or remote machine.. try using 'Win32_Product' class for getting the list of installed application.. but for this also u should have Administrator Previleges .. on remote machines..
abhinav
Hii Abhinav Thank you very much for your reply. Actually I am not familiar with WMI. Anyway I will find it out. We can add registry permission using regsvr32.exe. thanks
Ranjith Stephen