Other than that, this suggestions seems to work well. Assistance with either script is greatly appreciated. Regards, Mike Walraven. Due to the multiple replies that I got using the script you sent, I have settled upon the following which seems to work quite well. Thanks for all your help. If objEnum. Username of who is logged into workstation via remote desktop. Mike Walraven. Reply to author. Report message as abuse. I need to read this text line by line.
I hope i have shown u some clarity. Thanks once again fo responding. CreateObject "WScript. Shell" shell. Posted by: aogilmor 9 years ago. Why you guys wanna go thru all this rigamarole? Thanks weberik, it was a great script you have provided me. It has worked for me. Hey weberik, let me know how do you add the registry value into microsoft word using vb script. Rating comments in this legacy AppDeploy message board thread won't reorder them, so that the conversation will remain readable.
Answer this question. Posted by:. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 5 years, 10 months ago. Active 5 years, 10 months ago. Viewed 4k times. UserName Next. Ansgar Wiechers k 23 23 gold badges silver badges bronze badges. Benjamin Jones Benjamin Jones 4 4 gold badges 21 21 silver badges 46 46 bronze badges. Add a comment.
Active Oldest Votes. As documented the UserName property returns the name of the user logged in on the console: UserName [ If you don't get a result your user is most likely logged in via Remote Desktop. ExecQuery qry p.
0コメント