Login Script

J

Jithraj Koothoor

Hello All,

I want to run a different login script when the user
login using terminal server or stop runnung the standard
login script while login to the terminal server session

Can you help...

My contact is

(e-mail address removed)
+44 207 0295330

Thanks

/Jith
 
V

Vera Noest [MVP]

If you want to run an additional script, specific for a TS, you can
run it from %systemroot%\system32\UsrLogon.cmd.

If you want to have just one combined script, you can test on a TS-
specfic variable in the script, like %CLIENTNAME%. This variable is
undefined in a normal login and equals the name of the workstation on
a TS login. Something like:


IF NOT "A%CLIENTNAME%A" == "AA" goto TS_specific
< normal logon commands go here>
exit
:TS_specific
<TS specific logon commands go here>
exit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top