Here is the explanation of the problem.<br>
I am writing a VB program to Query/update the Registry entries in both Windows and NT. The followin URL has the nice information about required functions information inside the advapi32.dll.<br>
So this code is very well written and is working very well on windows95/98. But the problem is with the security aspects of NT. i.e. I was able to read an entry but it is giving an encripted number instead of real value of the <br>
registry entry. Is there a way to read/write in to NT registry? I found the following code in side the above document interesting. This clearly tells that I need to do something different on NT to get around the <br>
Security mask(SAM).' **********************************************<br>
' Security mask attributes for Windows NT (SAM).<br>
' **********************************************<br>
TypeSECURITY_ATTRIBUTES<br>
nLength As Long lpSecurityDescriptor As Long bInheritHandle As Boolean<br>
End Type <br>
I am looking for suggestions/direction on how to proceed further on NT.<br>
Also it is required that the computer to be on the network and not necessary<br>
on a local domain.
I am writing a VB program to Query/update the Registry entries in both Windows and NT. The followin URL has the nice information about required functions information inside the advapi32.dll.<br>
So this code is very well written and is working very well on windows95/98. But the problem is with the security aspects of NT. i.e. I was able to read an entry but it is giving an encripted number instead of real value of the <br>
registry entry. Is there a way to read/write in to NT registry? I found the following code in side the above document interesting. This clearly tells that I need to do something different on NT to get around the <br>
Security mask(SAM).' **********************************************<br>
' Security mask attributes for Windows NT (SAM).<br>
' **********************************************<br>
TypeSECURITY_ATTRIBUTES<br>
nLength As Long lpSecurityDescriptor As Long bInheritHandle As Boolean<br>
End Type <br>
I am looking for suggestions/direction on how to proceed further on NT.<br>
Also it is required that the computer to be on the network and not necessary<br>
on a local domain.