Delete Registry values when importing with regedit

  • Thread starter Thread starter James E Brown
  • Start date Start date
J

James E Brown

Is there any syntax that will allow you to delete registry
values when you import a registry file.
 
James said:
Is there any syntax that will allow you to delete registry
values when you import a registry file.

Hi

Delete key:

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]

Delete value:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-


Be sure that you registry file contains a blank line at the end.

More here:

WinGuides.com Article - Windows Registry Tutorial Importing and Exporting
Registry Settings
http://www.winguides.com/article.php?id=1&page=4&guide=registry
 
James said:
Is there any syntax that will allow you to delete registry
values when you import a registry file.

Hi

Delete key:

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]

Delete value:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-


Be sure that you registry file contains a blank line at the end.

More here:

WinGuides.com Article - Windows Registry Tutorial Importing and Exporting
Registry Settings
http://www.winguides.com/article.php?id=1&page=4&guide=registry
 
Awesome, Thanks for your help.
-----Original Message-----
James said:
Is there any syntax that will allow you to delete registry
values when you import a registry file.

Hi

Delete key:

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]

Delete value:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-


Be sure that you registry file contains a blank line at the end.

More here:

WinGuides.com Article - Windows Registry Tutorial Importing and Exporting
Registry Settings
http://www.winguides.com/article.php? id=1&page=4&guide=registry


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


.
 
Awesome, Thanks for your help.
-----Original Message-----
James said:
Is there any syntax that will allow you to delete registry
values when you import a registry file.

Hi

Delete key:

REGEDIT4

[-HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]

Delete value:

REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\Brix\Testapp2]
"Test"=-


Be sure that you registry file contains a blank line at the end.

More here:

WinGuides.com Article - Windows Registry Tutorial Importing and Exporting
Registry Settings
http://www.winguides.com/article.php? id=1&page=4&guide=registry


--
torgeir
Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of the 1328 page
Scripting Guide: http://www.microsoft.com/technet/scriptcenter


.
 
Back
Top