Solved

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

Posted on 2011-02-21
3
684 Views
Last Modified: 2012-06-27
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
Comment
Question by:Vision_Globale
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
3 Comments
 

Author Comment

by:Vision_Globale
ID: 34946545
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
 

Author Comment

by:Vision_Globale
ID: 34946734
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
 

Accepted Solution

by:
Vision_Globale earned 0 total points
ID: 34946870
Ok I think there's no way to make it work...

I will do something esle...

0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

632 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question