Solved

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

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
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.

803 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