I would like to know if there is a per-user version of
%SystemRoot%\System32\login.cmd available? The default
login.cmd file contains comments hinting towards this, but I can't find anything about it anywhere else.
To my knowledge, the Win32 TELNET server doesn't actually try and execute per-user logon scripts. Tracing it out with Process Monitor on a PC with the TELNET server enabled and a logon script specified on the user with "NET USER xxx /scriptpath:script.bat" seems to confirm, but I certainly didn't give it a thorough examination.
It appears that the Services for Unix TELNET server does execute per-user logon scripts (see http://support.microsoft.com/kb/278389), but I don't know that I'd want to go through that kind of headache.
What would I do? I'd add some stuff like this into logon.cmd:
Then I'd just throw per-user logon scripts into that C:\LOGON_SCRIPTS folder, named for the user's account. If there's no file for a user, nothing happens. It's kinda cheap, but it'll work. (I owe my success in IT to finding cheap but effective ways to get things done fast... >smile<)