Re: Can TS be Turned Off/On on W2003 - easily.
Hey Jeff.
As far as we know, the TSAppCompat boolean value correlates directly to the
VER_SUITE_TERMINAL bit in OSVERSIONINFOEX.wSuiteMask. At startup the
TSAppCompat value is read from the registry by ntoskrnl and gets mapped via
the KUSER_SHARED_DATA page to every user process. However, the word at +02D0
in the page 7FFE0000 is stuffed into OSVERSIONINFOEX.wSuiteMask by
ntdll!RtlGetVersion. We sometimes use this fact, to install balky apps that
won't install in terminal sessions, though they can run in a TS environment.
By the way: tsappcmp.dll calls kernel32!VerifyVersionInfo which ends in a
call to ntdll!RtlGetVersion to determine the licensing-mode. *choke*
*caught*
Nevertheless you'll be right Jeff, things often are more wired in the
Windows-World. But may be it's worth a try...
Cheers
-jolt
"Jeff Pitsch" <jeff@jeffpitschconsulting.com> schrieb im Newsbeitrag
news:ecs5qUU$IHA.3380@TK2MSFTNGP04.phx.gbl...
> Unfortunately it's not that simple. The many other changes tot he OS are
> not taken into affect when you do this. Sorry but it doesn't work like
> you think it does.
>
> --
> Jeff Pitsch
> Microsoft MVP - Terminal Services
>
> "jolteroli" <jolt1976@gmx.net> wrote in message
> news:%23q0mEBJ$IHA.872@TK2MSFTNGP05.phx.gbl...
>> You can switch between remote-admin and application mode by the value
>>
>> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal
>> Server]!"TSAppCompat"
>>
>> 0: Remote Admin
>> 1: Application Mode
>>
>> -jolt
>>
>> "Soo Kuan Teo [MSFT]" <sookuant@online.microsoft.com> schrieb im
>> Newsbeitrag news:uW4TQ7I$IHA.4780@TK2MSFTNGP05.phx.gbl...
>>> If you just want to prevent user login remotely, then you can disable
>>> remote desktop connection, run sysdm.cpl in a command shell, its in the
>>> Remote Tab.
>>>
>>> --
>>> This posting is provided "AS IS" with no warranties, and confers no
>>> rights.
>>>
>>> "ThomasAJ" <ThomasAJ@discussions.microsoft.com> wrote in message
>>> news:E76E5D62-54F9-4E79-A00A-AC8609C2CDD2@microsoft.com...
>>>>I want to test a third party software and need to 'Turn Off' TS
>>>>temporarily.
>>>>
>>>> Can it be turned off/on without having to reconfigure, enter licence
>>>> info
>>>> again etc.
>>>>
>>>> Of course there would be no users using TS at the time.
>>>> --
>>>> Regards
>>>> Tom
>>>
>>
>
>