2

I'm trying to get the value of Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\everyoneincludeanonymous. I've tried using Reg Query but no matter what I type it says "INVALID KEY NAME". Here is what I have tried:

REG QUERY Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa\everyoneincludeanonymous /s
Reg Query "Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa' /v everyoneincludeanonymous`

But they all reply "INVALID KEY NAME".

I'm running Windows 10 Home.

2

Converting my comment to an answer.

The syntax Reg query /? or visit ss64.com/nt/reg.html requires the computer/machine name to be preceeded with a double backslash.

So:

Reg Query "\\Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa' /v everyoneincludeanonymous

should do.

Your Answer

By clicking "Post Your Answer", you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.