How to get Kace Agent running as local system to see who is logged in to console briancollins How helpful is this to you? Average Rating 0 1758 views 11/10/2014 Scripting for /f %%i in ('%SystemRoot%\Sysnative\query user') do (set uconsole=%%i) Set uconsole=%uconsole:~1% Echo %uconsole% Comments chucksteel 3 years ago I'm not sure what context you would use this in. briancollins 3 years ago There are various reasons: MI needs to add something to the profile of the currently logged in user. Script has to run as local admin but needs some form of interaction with the locally logged in user's profile. Please log in to comment
MI needs to add something to the profile of the currently logged in user.
Script has to run as local admin but needs some form of interaction with the locally logged in user's profile.