→ Celebrate SysAdmin Day 2024 with Lansweeper Enter our Giveaway here

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Engaged Sweeper

i rolled out lansweeper using login script which is getting reported. But my requirement is to scan only some ou's which i can specify it up in the active scanning configuration. Login script is set it from the domain level which is applicable to the people across other OUs but i need to scan only the OU which i specify in the active sacnning. Is there any way to do it ? Please give some ideas.
Please note that i cannot set any GPO due to some restriction and i need to achieve this through login script only.Currently even though i specified Ou's in the active scanning , becuse of the login script other Ou's objects also getting scanned.
Lansweeper Alumni
In the login script you can use vbscript to get the current OU of the computer and use this in your script.

If OU = "...." then
run lsclient.
end if