Loading....
Recent Article links:

1. Understand how Yet another LogonScript works

The first thing YaLS does, when running during logon, is:

Get all YaLS user commands from:

  • the notes field of the logged on user object
  • the description field of the computer object that is used by the user
  • the notes field of the groups that have the current user or logged on computer as members
  • the description field of all the parent organisation units of the user object
  • the description field of all the parent organisation units of the computer object

These YaLS commands consist of information such as: which shares to map, which printers to connect to and which scripts or programs to execute.

So basically, YaLS does have a big list of what to do for that particular user.

Next it is going to access that resource (share or printer) object in Active Directory to get the UNC path and to check if there are some YaLS resource restriction commands.

For share objects it uses the Keywords fields to find the YaLS resource restriction commands. YaLS resource restriction commands for printers can be found in the description field.

The leftovers of the big list are going to be connected to the resource. Ofcourse, all programs and scripts that are related to the user are executed as well.

ACF loading animated gif