https://github.com/osquery/osquery logo
#core
Title
# core
j

JanRC

03/02/2023, 3:36 PM
Hello, is there something special that needs to be done in order for the extension on windows to run not just from within osqueryi.exe but also when called externally? When I run select from within osqueryi.exe, data is returned properly. When I run it from outside, it fails every single time: C:\Program Files\osquery>osqueryi.exe "SELECT * from rsop_policysetting;" Error: Extension socket not available: \\.\pipe\shell.em2243.17173
s

seph

03/02/2023, 9:23 PM
Is osquery starting the extension, or are you starting it outside osquery and connecting?
j

JanRC

03/03/2023, 8:18 AM
OSquery starts the extension. It has extensions.load file with full path to the extension.
Do I have to start osqueryi with --nodisable_extensions unlike when starting it for interactive use, where i just enter name of osqueryi.exe ?
5 Views