Hi,
does anybody know the command for exporting the registry in a .bat file. I'm using it for a scheduled task.
E.g AT regedit /export C:\...\...
Many thanks
[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
Thank you!
I tried that one but when I run the script the command window prints with the text ">regedit /e ExportFile.txt e:Backup\registry\"
It still prints.
Is it a natural behaviour or should the export time be over in a second or so?
Regards
Ok, I was not clear enough. The 'ExportFile.txt should be replaced with the name and path of the file that you want the registry to be exported to. The 'PathToExport' should be replaced with the path to the key you want to export (i.e. "HKEY_LOCAL_MACHINE\Software\Microsoft"). If you want to export the entire registry to a file names RegExport.txt in the directory e:\backup\registry, the command would be:
Regedit /e e:\backup\registry\RegExport.txt
If you only wanted to export HKLM\Software, the command would be:
Regedit /e e:\backup\registry\RegExport.txt "HKEY_LOCAL_MACHINE\Software"
[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
[blue]"Well, once again my friend, we find that science is a two headed beast. One head is nice, it gives us aspirin and other modern conveniences,...but the other head of science is BAD! Oh, beware the other head of science, Arthur; it bites!!" - The Tick[/blue]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.