
Main Menu
Brad's TechTips - Windows
[<<
Full list of Windows tips.]
Windows: Setup A Logon Script Only For Terminal Server Users
First, review and implement the procedures described in Microsoft KB 195461 ("How to Set Up a Logon Script Only for Terminal Server Users").
After reviewing the KB article, use the following line of code in the logon script
to record logons, where %clientname% is the computer from which the connection is made and %computername% is the computer to which it is made.
echo %username% %clientname% %computername% %date% %time% >> logon.log
Windows: Setup A Logon Script Only For Terminal Server Users
First, review and implement the procedures described in Microsoft KB 195461 ("How to Set Up a Logon Script Only for Terminal Server Users").
After reviewing the KB article, use the following line of code in the logon script
to record logons, where %clientname% is the computer from which the connection is made and %computername% is the computer to which it is made.
echo %username% %clientname% %computername% %date% %time% >> logon.log