[ANALYSIS] environment variable

Hello,

I’m trying to read domain controller from system environment variable using this analysis:

value of variable "LOGONSERVER" of environment

but IEM console returns error: singular expression refers to nonexistent object.

When I check it in fixlet debugger tool, it returns desired result. Any idea what I am doing wrong?

Fixlet Debugger will use your environment while the client will use the SYSTEM environment.

Where is “LOGONSERVER” set?

2 Likes

@AlanM

LOGONSERVER environment variable points to DC, so I thinks it’s variable assigned to user’s profile. Is there any way to read it using analysis?

I think there are ways to get this info with relevance directly rather than reading an environment variable.

It is harder to read something user specific, it is much easier to read something system wide with BigFix.

https://support.bigfix.com/inspectors/Directory%20Services_Any.html

Not sure if this would be close:

active directory path of <bes computer>

Are you looking for the domain? Then domain of <user> would get it for you.

If you have a current user or logged on user then:

domain of user of <logged on user>
1 Like