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

Posted about 7 years ago by Ingmar Koecher

Post a topic
Answered
I
Ingmar Koecher

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

0 Votes

Ingmar Koecher

Ingmar Koecher posted about 7 years ago Admin 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?

0 Votes


2 Comments

I

Ingmar Koecher posted about 7 years ago

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

0 Votes

Ingmar Koecher

Ingmar Koecher posted about 7 years ago Admin 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?

0 Votes

Login or Sign up to post a comment