4

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.

0

1 Answer 1

2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .