Re: Batch File for all Terminal Users
Changing the server's mode to install mode (with the "change user"
command) does *not* mean that all commands are executed for all
users!
It means that the server monitors changes in certain areas of the
registry, and makes them available for all users on their next
logon.
So your batfile itself will not run for every user, simply by
running it in install mode. But depending on what it does, some of
its effects might be copied to user profiles on next logon.
What is it that you are trying to do?
If you want all users to execute certain commands, have you
considered to put the commands in the user's logon script on the
Terminal Server?
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting:
http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
=?Utf-8?B?UGVhcmw=?= <Pearl@discussions.microsoft.com> wrote on 16
maj 2008 in microsoft.public.windows.terminal_services:
> how do I execute a batchfile so that it applies to all Terminal
> Server Users?
> I tried to execute it as the local administrator of the
> Terminal Server and
> using Change User /install....but, it only applied to me as the
> Administrator....no other user. So, it appears that Change User
> does not work with Batch files....or, I am not using it
> properly.