Start a new topic
Answered

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

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


Best Answer

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?


Answer

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?

Problem solved, I had HKEY_LOCAL_MACHINE in the key field, although it is already preset in "Main Key"
Thank you for your help

Login or Signup to post a comment