What Is Terminal Server
what is terminal server
Terminal Server Users VBS Script
Pin It
LogonType 10 is RemoteInteractive and covers both Interactive and Remote Terminal Services sessions. This is not available for Windows 2000
VBS Script:
Windows Server® 2008 Terminal Services Resource Kit
Learn more
Christa Anderson strComputer = InputBox("Enter Terminal Server Name") Set objExcel = CreateObject("Excel.Application") objExcel.Visible = True objExcel.Workbooks.Add intRow = 2 objExcel.Cells(1, 1).Value = "Logon Name" objExcel.Cells(1, 2).Value = "Full Name" objExcel.Cells(1, 3).Value = "Timestamp" Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colRts = objWMIService.ExecQuery _ ("Select * from Win32_LogonSession Where LogonType = 10") For Each objSession in colRts Set colItems = objWMIService.
StarTech 4 Port USB IP Device Server (USB4000IP)
Learn more
ExecQuery("Associators of " _ & "{Win32_LogonSession.LogonId=" & objSession.LogonId & "} " _ & "Where AssocClass = Win32_LoggedOnUser Role = Dependent" ) For Each objItem in colItems objExcel.Cells(intRow, 1).Value = objItem.Domain & "\" & objItem.Name objExcel.Cells(intRow, 2).Value = objItem.FullName objExcel.Cells(intRow, 3).Value = ConvWbemTime(objSession.
StartTime) Next Next intRow = intRow + 1 Function ConvWbemTime(IntervalFormat) sMonth = mid(IntervalFormat,5,2) sDay = mid(IntervalFormat,7,2) sYear = mid(IntervalFormat,1,4) sHour = mid(IntervalFormat,9,2) sMinutes = mid(IntervalFormat,11,2) ConvWbemTime = sMonth & "-" & sDay & "-" & sYear & " " & sHour & ":" & sMinutes End Function objExcel.Range("A1:C1").Select objExcel.Selection.Interior.ColorIndex = 19 objExcel.Selection.Font.ColorIndex = 11 objExcel.Selection.Font.Bold = True objExcel.Cells.EntireColumn.AutoFit MsgBox "Done"
This post was written by
Don Hite – who has written 16 posts on myITforum.com.
Don Hite began writing as a columnist for Rod Trent on SWYNK.Com (Now Enterpriseitplanet.Com) in the winter of 1999. In January of 2002 he co-founded the Kansas City Regional Systems Management Users Group (KCRSMUG) along with Janis Keim. Don is the eldest of four children and was born in the Army hospital at Wurzburg Germany in November of 1957. After living in Bad Kissingen Germany for the first few years of his life the Hite family moved back to the United States after his father retired from the army when Don was still in kaki army diapers. Educated by trade as a commercial master electrician Don made the career change from terminating Copper Conductor cable to terminating Ethernet cable in the early 1990's. Don is married and lives on a farm in rural Kingsville Missouri with his wife Virginia (Ginny) and has a Son Lee, Stepdaughter Lisa and an 11 year old grandson named Blake.
These are our most popular posts: what is terminal server
QA: Terminal server connectivity
... of some of our community. Most... Published Dec 07 2011 by Terminal Services Team Blog , 151 views, 0 comments ... read moreTerminal Server Users VBS Script
In todays IT learning article, we are going to take a look at installing Terminal Services, otherwise known as Remote Desktop Services, on a Server 2008 R2 machine. read moreVenicerajan: Terminal Services for Microsoft Windows Server 2003 ...
By: Justin2100, Forum: Microsoft Windows Server, We have a terminal server setup that can be accessed remotely over the internet. When go to login from outside of my domain, I am unable to get past the welcome screen. read moreIT: How to Set Up Your Own Terminal Server Using Remote Desktop ...
Not only that the newest Terminal Services Log can split and filter the results, but it can also ... read more
0 コメント:
コメントを投稿