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_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon
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.
0 comments
Hide comments