https://github.com/osquery/osquery logo
#kolide
Title
# kolide
f

fbone

02/04/2020, 9:08 PM
funny I have invalid enroll secret as well
I have the same error and very lost as well
j

jackjack

02/04/2020, 9:31 PM
Tried the —enroll_secret_env as well, not working on windows
f

fbone

02/04/2020, 10:37 PM
thats unfortunate as thats what worked for me
j

jackjack

02/04/2020, 10:58 PM
Did you add $ before the variable name?
f

fbone

02/04/2020, 10:58 PM
no check your other threat i put all the screen shots in it
thread
so u could see actually what i put
j

jackjack

02/05/2020, 2:39 AM
Yeah I did. It turns out adding that manually into control panel doesn’t actually add the ENV variable. I had to run $env:ENROLL_SECRET manually.....which is weird...and then did a
get-childitem Env:
confirmed the value is finally in......thanks for everyone’s help!
Turns out... system variable won’t take into effect until after the machine reboot..... never knew ...