With this information, a customer can find out who is logged into a computer at any given time.
- Download PsTools from Microsoft - you'll need to do this on any system you want to run the Machine Action on:
- Extract the contents of the ZIP file to C:\PsTools, or the files can be extracted to an alternated location. Make sure to specify the location instead in the Machine Action if you extract the files to an alternate location.
- On the KACE SMA, go to Settings | General Settings | Device Actions.
- Create/edit your machine action to include this:
- cmd.exe /K "c:\pstools\PsLoggedon.exe" -accepteula \\KACE_HOST_NAME.
- If you used an alternate location, be sure to substitute the c:\pstools\PsLoggedon.exe with the alternate location.
This will bring up a command window that lists any users logged in locally to that system as well as anyone accessing it remotely.
--NetBIOS Over TCP/IP needs to be enabled on the target machine NIC adapter--
--A service named Remote Registry, needs to be running on the target machine--