Removing Registry is just not working
Long story short, We ran the intel vulnerability detection tool command line version and it creates a registry key. I'm using custom inventory to pick up the registry key which all works fine. Now I'm trying to delete the key so I can re-run the detection tool again to see who ran the fix.
Here is the location of the key
HKEY_LOCAL_MACHINE\SOFTWARE\Intel\Setup and Configuration Software\INTEL-SA-00086 Discovery Tool
If I run this in command prompt it works fine
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Intel\Setup and Configuration Software\INTEL-SA-00086 Discovery Tool\System Status" /v "System Risk" /f
but when I run it as a batch file via script it just doesn't work. I ran it as a logged in user as well still no good.
How can run this thing?
2 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
reg delete "HKLM\SOFTWARE\Intel\Setup and Configuration Software\INTEL-SA-00086 Discovery Tool\System Status" /v "System Risk" /f /reg:64
It should work run as local system - Bethski 7 years ago