Reading a Registry Key gives the following error "RegOpenKeyEx The system cannot find the file specified"

0 votes
asked Aug 15 in EventSentry Admin Assistant by anonymous
I have tried the following from the help page:

Key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl

Value Name: CrashDumpEnabled

Read

It does not work. All the other functions like: Ping, Services work.

Thanks for your help

1 Answer

+1 vote
answered Aug 15 by Ingmar (1,860 points)
The most likely reason you are getting "The system cannot find the file specified" is because the value you are querying doesn't exist. Have you tried querying a different value that you know exists?
commented Aug 15 by anonymous
The remote registry is running
commented Aug 15 by Ingmar (1,860 points)
Please disregard my earlier (incorrect) answer which I had already edited. The most likely reason you are getting "The system cannot find the file specified" is because the value you are querying doesn't exist. Have you tried querying a different value that you know exists?
commented Aug 16 by anonymous
Problem solved, I had HKEY_LOCAL_MACHINE in the key field, although it is already preset in "Main Key"
Thank you for your help
Welcome to EventSentry Q&A, where you can ask questions and receive answers from other members of the community.
...