View Single Post
Old 09-12-2014, 05:56 AM
bobcory's Avatar
bobcory bobcory is offline
Join Date: Jun 2003
Location: NW UK
Posts: 454
Question Permission to Read Registry?

I may be up a gum tree here (not unusal) but I am trying to read the Microsoft Cryptogrphy Key and it seems that to do that my user(s) will probably need to log on as Administrators which seems a little excessive (read it - not change it so why the big deal?)

It used to live here:

But these days it is living in a better neighbourhood, namely here:

This screws up any old programs that used it of course but who are we to stand in the way of progress?

I am trying to read it using:
My.Computer.Registry.GetValue("HKEY_LOCAL_MACHINE\SYSTEM\RNG", "Seed", Nothing)

but it refuses access.

There is an article here that deals with permissions but I will die of old age before I manage to read and absorb all this:

So, is there a simple way to do this?
MOPEKS - a freeware program that generates programs that use each other to solve problems. Is this the correct route to a genuinely intelligent machine?
Reply With Quote