Delete Registry key without warning

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
 
P

Pegasus \(MVP\)

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.
 
K

KP

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
 
K

KP

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
 
D

Detlev Dreyer

^^^^^^^^
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


Top