Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. terjene

    Find if user is logged on console or rdp

    I found a way to solve my problem.. if someone is interested, i used this code: Function FindUserLogonType() Set oShell = CreateObject("Wscript.Shell") Set oFS = CreateObject("Scripting.FileSystemObject") sTmpFile = oFS.GetSpecialFolder(2).ShortPath & "\" & oFS.GetTempName 'Run...
  2. terjene

    Find if user is logged on console or rdp

    Hi! I want to check if the current user is logged on the console or rdp. Any hint? What I hope to solve is: When a server restart i want to start some programs when the administrator logs on, but only if he's on the console. If the administrator logs on through rdp, i don't want to do...

Part and Inventory Search

Back
Top