Delete Registry key without warning

  • Thread starter Thread starter KP
  • Start date Start date
K

KP

Hi,
I want to delete a registry key by double clicking the exported Reg file.
Moreover I want to avoid the dialoque box asking me if it is OK to revise
the Registry.

The exported reg file:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\test]

What do I have to add in order not to see the warning?
/ Q [quiet] does not work.

Regards
K. Pedersen
 
KP said:
Hi,
I want to delete a registry key by double clicking the exported Reg file.
Moreover I want to avoid the dialoque box asking me if it is OK to revise
the Registry.

The exported reg file:

Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\test]

What do I have to add in order not to see the warning?
/ Q [quiet] does not work.

Regards
K. Pedersen

Use the /s (silent) switch with regedit.exe.
 
Use the /s (silent) switch with regedit.exe.

I have now tried: [-HKEY_CURRENT_USER\Software\test /s]
But I still see the warning.

What is wrong. How do I use it with regedit.exe?
I am running WindowsXP

K. Pedersen
 
I think I have solved the problem my self.
I can't use /s directly in the reg file but apperently have to make a
batchfile referring to the reg file: regedit.exe /s C:\[Reg file]

K. Pedersen



KP said:
Use the /s (silent) switch with regedit.exe.

I have now tried: [-HKEY_CURRENT_USER\Software\test /s]
But I still see the warning.

What is wrong. How do I use it with regedit.exe?
I am running WindowsXP

K. Pedersen
 
^^^^^^^^
Do you have a mail account with "Rackspace.com, Ltd. San Antonio, TX"?
If this is not the case stop abusing registered domain names! Shall
non-involved people get all the spam on behalf of you?
Use the /s (silent) switch with regedit.exe.

I have now tried: [-HKEY_CURRENT_USER\Software\test /s]

That syntax doesn't make sense. Use "/s" as switch, eg.
regedit /s filename.reg
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

.reg file not working 4
Proxy Server reset 3
Missing Registry Keys 16
Edit .reg file to DELETE a key? 3
registry question 4
Registry .reg file import ? 3
Editing Windows Registry HKCU 1
Registry import 1

Back
Top