28 nov. 2015 - This answer is taken from here Way to get the user who has logged on a given machine with VBScript & WMI: ' PARAMETERS ' strComputer .