Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Registry export to .txt

30 Jan 2013   #1
max7bg

Windows 7 Ultimate 32bit
 
 
Registry export to .txt

Hello,

I need to export registry key to .txt file by using .bat file, but it's kinda complicated

Here is what I built

Code:
if exist %temp%version.txt del /q %temp%\version.txt

regedit /e %temp%\version.txt "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector"

start %temp%\version.txt
And it gives this output, what is correct

Code:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Version Vector]
"IE"="9.0000"
"VML"="1.0"
"WindowsEdition"="1"
"Skype"="6.1.129"
But I need to export just info from bolded content below:

Quote:
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer]
"MkEnabled"="Yes"
"Version"="9.0.8112.16421"
"Build"="98112"
"IntegratedBrowser"=dword:00000001
"W2kVersion"="9.0.8112.16421"
"svcKBFWLink"="http://go.microsoft.com/fwlink/?LinkID=271112"
"svcVersion"="9.0.8112.16421"
"svcUpdateVersion"="9.0.12"
"svcKBNumber"="KB2761465"
Is this possible, and how? I know how to export whole HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer key, but need only this, if it's somehow possible?

Thanks in advantage


My System SpecsSystem Spec
.

30 Jan 2013   #2
Duzzy

Windows 7 Ultimate x64
 
 

Try this,
Code:
REG QUERY "HKLM\SOFTWARE\Microsoft\Internet Explorer" /v "Version" > %temp%\version.txt
It will overwrite the file if it already exist so the first line of your code will be redundant.
My System SpecsSystem Spec
30 Jan 2013   #3
max7bg

Windows 7 Ultimate 32bit
 
 

Wow, this is it, thanks

Code:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer
    Version    REG_SZ    9.0.8112.16421
My System SpecsSystem Spec
.


31 Jan 2013   #4
Duzzy

Windows 7 Ultimate x64
 
 

No problem.
My System SpecsSystem Spec
Reply

 Registry export to .txt




Thread Tools





Similar help and support threads
Thread Forum
export registry
I have 2 hdd, a}hdd 160 giga-win 7 b) hdd 250 giga win 7 Note The program content of hdd a not same with hdd b Can I export reg file from hdd b and merge it to hdd a ?? I do that because hdd a running in unormaly and hdd b run win7 smooth and very normal with no problem....
Backup and Restore
Can I Read or Export Key from Registry in System Image VHD ?
There is a registry key that I'd like to copy from my old computer to my new computer (both Win7 Pro x64). But the old computer only exists as a System Image (VHD file). I can mount the VHD and access the old filesystem - I have copied several critical files from the old to the new this way. ...
Backup and Restore
Driver Sweeper can't delete all registry files in registry editor
http://i2.aijaa.com/b/00227/9175142.png So this is the situation: I've unistalled Amd Driver from Device Manager, Unistalled Catalyst software and ran Driver Sweeper. There is only 3 registeries that the Driver Sweeper CAN'T delete and these are under SYSTEM\ folder. I've tried to change user...
Drivers
How to export a registry settings for some applications?
Hi, can you please, explain how to export a registry settings for some applications (in my example only for Windows Sidebar-Gadgets and Windows Mail)? Are all of the registry keys for those applications in HKEY_LOCAL_MACHINE i.e. or man must some more registry keys export? Thx.
General Discussion
How to export command prompt settings frm the registry?
Hello, I configured the command prompt window (size, colors, position) and now want to export this settings from the registry to save them in a reg file for later use on other computers. These setting do get saved somewhere in the registry but I don't remember where (did this on XP a couple of...
General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 21:44.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App