Registry Backup and Restore via CLI batch

May 13, 2010 at 21:49:52
Specs: Windows XP

I want to take backup of a particular registry value and also need to restore the same with its default permissions(original permission). But all these I need to do with command prompt as I have created a batch file to modify registry.

Can some one suggest how to export the particular registry value with permission in .reg file.
I tried a command to export the value
REG EXPORT HKLM\Software\agent d:\agent.reg

this is working fine but when I tried on some other values like (the value name having space in between "New Key Test")

REG EXPORT HKLM\Software\New Key Test d:\agent.reg

It gives me an error
Error: Too many command-line parameters

Nothing exported.

Please help me


See More: Registry Backup and Restore via CLI batch

Report •

May 13, 2010 at 23:21:46
Someone will probably help you here but this should be posted in this forum:

Report •
Related Solutions

Ask Question