I'm writing a code for customized management of remote desktop sessions, similar to RD service manager from Windows Server. I'm using functions from wtsapi32.dll and winsta.dll to enumerate sessions, get session information, disconnect/logoff users and send messages to them.
I use WTSSendMessage to send message to user, and this is enough to emulate RD service manager functionality. I'd like to customize resulting message box with info/exclamation/error icon by specifying corresponding value in Style parameter. However, it works for previous generation of OS (Windows 7, Windows Server 2008R2) and client version of current generation (Windows 8)
but not for current generation of server (2012R2)

Is it possible to reinstate desired behavior in WinServer 2012R2, or use different API function? Or this API functionality was deprecated in 2012R2 (or simply lost in transition to Metro UI)?
WTSSendMessage on modern Windows Server
672 Views Asked by Aloraman At
0
There are 0 best solutions below
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in MESSAGEBOX
- WPF MessageBox Cancel checkbox check
- What text (in English) should I use when asking the user to overwrite a document?
- Javascript - Always Fires, Want to Fire On Save
- tkinter showerror creating blank tk window
- Application dispatcher invoke freezes the application
- QtQuick2 - custom MessageBox
- Winform messagebox, How to disable YESNO options in C#
- Wait for thread to finish without blocking the UI thread
- Custom Dialog result for the following custom message box
- jQuery - Show simple message box when clicked?
- Is it possible to build a MessageBox message that is then passed to a message box to include new lines?
- Testing if a messagebox was successfully shown in a unit test
- messagebox to show all validation fields
- Clicking "No" on a message box results in the data still being saved to the database
- DialogResult MessageBox disable Space key (spacebar) from submitting answer
Related Questions in WINDOWS-SERVER-2012-R2
- Windows server 2012 sign out or disconnect?
- Feeding Variables in new-aduser -path option in powershell
- How to enable Microsoft Access Driver (*.mdb, *.accdb) in Microsoft Azure windows server 2012 R2?
- format of the initialization string does not conform to specification starting at index 0 (MVC)
- Failed to read logs from event logs with C# in Azure Windows Server 2012
- Bonobo Git Server Configruation: HTTP Error 500.19 - Internal Server Error at line 71
- "Object named IIS_IUSRS could not be found" when adding user to PHP sessions directory iis 8
- Can create Scripting.FileSystemObject 64-bit but not 32-bit
- The PowerShell provider xWebAdministration does not exist at the PowerShell module path nor is it registered as a WMI provider
- How do I install Chocolatey packages behind a proxy on Windows 2012 R2 Core?
- How to test if Windows Server is fully updated? (Trying to create an update/reboot loop script)
- IIS: this webpage has a redirect loop
- php "glob" and data-deduplication?
- Simple website timing out when browsing locally
- Using TS RemoteApps on Chrome, Firefox without downloading RDP file?
Related Questions in WTSAPI32
- Export VirtualChannelGetInstance function from c#
- Is it possible to capture the local user (not the remote user) within a RDP Session
- WTSConnectSession
- Send Notification to specific RDP user from a WTS app that runs as a Windows service
- Why does WTSFreeMemoryExA always return ERROR_INVALID_PARAMETER when passed a WTSTypeClass of WTSTypeSessionInfoLevel1?
- Some questions about WTSInfoExLevel
- Programly detect if my machine remotely accessed
- How do I enumerate open windows in a different session from a service?
- Access denied in WinStationConnectW on Windows10
- Create Remote Desktop Services Child sessions
- WTSQueryUser Token returning Error code: 1314
- How to implement WTSRegisterSessionNotification function
- WTSEnumerateServers ERROR_INVALID_DOMAINNAME
- How can I get the current user token for the physical session?
- What makes SwitchDesktop not work right after a user unlocks it session?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?