Solved

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

Posted on 2011-02-21
3
673 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
  • 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you use the right mouse button (assuming you're right handed) to click something in Windows, you usually get what is called a "context menu".  It's called that because the items in the menu vary according to context, that is, according to where…
I recently purchased an HP EliteBook 2540p notebook/laptop. It has two video ports on it – VGA and DisplayPort. HP offers an optional docking station for the 2540p that also has both a VGA port and a DisplayPort. There are numerous online reports do…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

762 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now