JSI Tip 0851. Terminal Server logon script.

Jerold Schulman

November 18, 1998

1 Min Read
ITPro Today logo

If you want a special logon script that only runs when a Terminal Server client connects to a Terminal Server (or via the console), create your JSIts.CMD logon script in the %SystemRoot%System32 folder. Then use Regedt32.exe to browse to:

HKEY_LOCAL_MACHINESoftwareMicrosoftWindows NTCurrentVersionWinlogon

Double-click Appsetup in the right hande pane and place a , JSIts.CMD after the last entry.

If the value of Appsetup was

Usrlogon.cmd, Rmvlinks.exe

it should now be

Usrlogon.cmd, Rmvlinks.exe, JSIts.CMD

Every time a user logs onto the Terminal Server, JSIts.CMD will run.

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like