HI all .... Sorry for this simple question: I am d...
# general
c
HI all .... Sorry for this simple question: I am doing some tests with osquery and I need to uninstall it in Windows platforms ... but there is not an uninstall procedure ... How can I uninstall osquery in Windows platforms?
j
you can just go to add/remove programs and find it over there
c
Nop, there is nothing in there ...
j
did you install it using the windows msi that is provided?
c
Yes
Release 4.7.0
j
well, it should be there , not sure why you are missing it.
c
I hav used the following command to install it:
Copy code
Start-Process -FilePath osquery.msi -ArgumentList "/q" -Wait -WindowStyle 'Hidden'
b
Does osquery persist after a restart? I think that command just runs osquery once, it doesn't 'install' it such that it will start up upon reboot. You can probably do something like
Stop-Process -Name "osquery"
to stop osquery started this way.
c
Yes, it persist ... In fact, osqueryd service is created ..
j
maybe you can try to execute the msi with the /uninstall argument
b
ah yes, you've executed the installer, not the osquery binary. My mistake.