How can i install osqueryi (shell version) on wind...
# windows
a
How can i install osqueryi (shell version) on windows 10??
s
osqueryi is just a link to osqueryd with the
-S
argument, it's not a different binary.
a
@Stefano Bonicatti ahh can you be a bit more precise about this??
s
or actually sorry it's enough to have the name of
osqueryi.exe
, right now it's a copy of the
osqueryd.exe
binary. But you can also obtain the same result by calling
osqueryd.exe -S
or using
mklink
to link to
osqueryd.exe
and name the link
osqueryi.exe
So as I was saying, it's not a different executable, just a different way to launch it.
a
ohh..you mean i need to execute .\osqueri.exe on windows rather than just osqueryi
s
That depends on what you mean exactly. If you expect to be able to run
osqueryi
as a command from anywhere, you need to put the
C:\Program Files\osquery
path (where I suppose you have installed osquery) in the PATH environment variable
otherwise your terminal won't be able to find it automatically without giving it a full path to it
a
ohhh..i got you @Stefano Bonicatti Thank you for the help!! 🙂