Page 1 of 1
Terminal Server plug-in
Posted: Tue Jul 08, 2008 5:26 pm
This plug-in provides several Terminal Server functions:
• Check whether Terminal Services are installed
• Check for active Installation Mode
• Check for active Execution Mode
• Switch to Installation Mode
• Switch to Execution Mode
You can download mdPLUGINS for InstallAWARE here...
For more information please visit the official product site:
English: mdPLUGINS for InstallAWARE
German: mdPLUGINS for InstallAWARE
If you have any suggestions or comments please post to this thread so I get notified
or use the new forum at CASIC.de
Posted: Tue Aug 04, 2009 9:44 pm
We have an issue with this plugin on one of our Test servers.
It's running 2003 SP2 in Remote Administration mode.
When I check with the plugin to see if Terminal Services is Installed, it returns true. If I check in Add/Remove Programs - TS checkbox is not ticked.
I was wondering if you could tell me how it checks if TS is installed, so I can run the test manually on this server in an attempt to see where it's falling over.
Posted: Wed Aug 05, 2009 6:17 am
to determine whether Terminal Services are installed or not, the API function VerifyVersionInfo()
is used. The first paramter of VerifyVersionInfo() is set to the OSVERSIONINFOEX
structure. The field wSuiteMask of this structure is set to #VER_SUITE_TERMINAL. The second parameter of VerifyVersionInfo() is set to #VER_SUITENAME and the last parameter is the result of the VerSetConditionMask()
function, which is called with the parameters #VER_SUITENAME and #VER_AND.
Hope this helps,
Posted: Thu Aug 06, 2009 4:43 pm
I appreciate you taking the time to provide such detail.
Hopefully I'll get around to debugging this on the server in the next week or so. Will post up my findings for reference if I find anything out of the ordinary.
Posted: Wed Sep 02, 2009 11:34 pm
Finally got around to investigating this issue. Thought I would post up my findings.
I found to successfully determine if TS is installed on a server you need to call VerifyVersionInfo() twice.
The first time you call it, set wSuiteMask to #VER_SUITE_TERMINAL and get True or False.
The second call, set wSuiteMask to #VER_SUITE_SINGLEUSERTS and get True or False.
If the Server is running in Application Server Mode (Terminal Server Enabled), the 1st call with return True and the 2nd call will return False.
If the server is running in Remote Admin Mode (Terminal Server Disabled), both calls will return True.
If it's a desktop OS (XP/Vista), the 1st call returns false and 2nd returns true.
I can post up a test app written in Delphi that demonstrates this if you need further clarification.
Posted: Sat Sep 19, 2009 8:54 am
thank you very much for investigating this. Your solution has been implemented in the latest version von mdPLUGINS for InstallAware Version 1.2.7 and works great with Windows Server 2003/2008.
Thank you very much for your support,
Posted: Sun Sep 20, 2009 4:43 pm
Thank you very much for your support
Very happy to help out Markus
Re: Terminal Server plug-in
Posted: Fri Oct 01, 2021 9:58 am
will this plug-in be available also for X14 version?