Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 695
  • Last Modified:

Why reg.exe query hklm\software does not return the same thing then regedit hklm\software?

Hi all!

I just don't understand why "reg query hklm\software" does not return the same thing then if you go via "regedit" hklm\software?

I ask this because I need to built a batch script that poke the registry key if exit and if not add it, simple...

But when I do "reg query hklm\software" I don't see the the folder where are my keys. If I go trough the regedit I can see it...

strange...

thanks for the help.
0
Vision_Globale
Asked:
Vision_Globale
  • 3
1 Solution
 
Vision_GlobaleAuthor Commented:
Ok I just understand something very interresting:

I'm on win 7 x64.

when i use reg query hklm\software it display me the same thing I have in regedit HKLM\software\Wow6432Node

0
 
Vision_GlobaleAuthor Commented:
Wow!!

when I start regedit or regedt32 from run box, I can see my keys.

But If I start the both same application from : C:\Windows\SysWOW64\cmd.exe or C:\Windows\System32\cmd.exe I got the exact same listing then reg query hklm\software...

Is there a way to fixe this???
0
 
Vision_GlobaleAuthor Commented:
Ok I think there's no way to make it work...

I will do something esle...

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now