You can read registry keys with meterpreter reg.

I'm trying to read this key:
HKEY_CURRENT_USER\\Software\\Classes\\http\\shell\ \open\\command

Which has the value:
Name: (Default)
Type: REG_SZ
Data: "C:\Program Files (x86)\Mozilla Firefox\firefox.exe" -osint -url "%1"

But when I try to read it I get this:
Code:
meterpreter > reg enumkey -k HKEY_CURRENT_USER\\Software\\Classes\\http\\shell\\open\\ -t REG_SZ
Enumerating: HKEY_CURRENT_USER\Software\Classes\http\shell\open\

  Keys (2):

        command
        ddeexec

meterpreter > reg enumkey -k HKEY_CURRENT_USER\\Software\\Classes\\http\\shell\\open\\command -t REG_SZ
Enumerating: HKEY_CURRENT_USER\Software\Classes\http\shell\open\command

  Values (1):



meterpreter > getuid
Server username: ujhjhjh\hmghghk
An empty value.. Why is it not working? Do I need more privileges do read this key?

If I'm NT AUTHORITY then it wont be under HKEY_CURRENT_USER anymore since i changed from user.

Anyone got some tips?