PDA

View Full Version : How to remove registry string with a reg file (WXP-Pro)



koolzero
03-08-2006, 06:09 AM
I want to be able to just remove the EFI Job monitor from Registry with a reg file instead of having to go into registry manually. Here is what the exported key looks like:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Run]
"ctfmon.exe"="C:\\WINDOWS\\system32\\ctfmon.exe"
"EFI Job Monitor"="C:\\WINDOWS\\system32\\rundll32.exe C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\ efjm.dll,run"

I read somewhere else to put a "-" in front of HKEY but they removed ctfmon.exe also. I'd like to be able to only remove this if possible:

"EFI Job Monitor"="C:\\WINDOWS\\system32\\rundll32.exe C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\ efjm.dll,run"

Thanks

piaqt
03-08-2006, 07:06 AM
Try putting the "-" in front of just the part you want to remove.

--piaqt

koolzero
03-08-2006, 07:23 AM
like this -"EFI Job Monitor"="C:\\WINDOWS\\system32\\rundll32.exe C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\ efjm.dll,run"

or "-EFI Job Monitor"="C:\\WINDOWS\\system32\\rundll32.exe C:\\WINDOWS\\System32\\spool\\DRIVERS\\W32X86\\3\\ efjm.dll,run"

Neither one of those worked.
<P ID="edit"><FONT class="small">Edited by koolzero on 03/08/06 07:24.</FONT></P>

motoflop
03-09-2006, 01:50 PM
REGEDIT4
[-HKEY_CURRENT_USER\SomeKey]

REGEDIT4
[HKEY_CURRENT_USER\SomeKey]
"SomeStringValue"=-