1.

Solve : reg query; 7 vs xp?

Answer»

Hello -

I can RUN the following reg query command in Windows 7 and get the following results:

command-
Reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall /s /F "EMC Avamar for Windows"

results-
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{1693DDE2-4577-46E9-AEE2-0EAFE1F2A00E}
DisplayName REG_SZ EMC Avamar for Windows

Now when I run the same command in Windows XP, I get the following error:

error-
Error: Too MANY command-line parameters

Now I've found that with Window XP, you have to tweak the command and run it as follows:

command-
reg query HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall /s | FIND "EMC Avamar for Windows"

The command works but I only get the following output minus the actual regkey:

output-
DisplayName REG_SZ EMC Avamar for Windows


Like the Windows 7 command, is there a way to run the query in XP to get the key name as well?



Discussion

No Comment Found