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 answers
Related Questions in WINDOWS
- how to play a sounds in c# forms?
- Echo behaviour of Microsoft Windows Telnet Client
- Getting error while running spark-shell on my system; pyspark is running fine
- DirectX 9 With No SDK Installed - How To Translate a D3DMATRIX?
- Gradle 8.7 cannot find installed JDK 22 in IntelliJ
- 'IOException: The cloud file provider is not running', when trying to delete 'cloud' folder
- Cannot load modules/mod_dav_svn.so into server
- Issue with launching application after updating ElectronJs to version 28.0.0 on Windows and Linux
- 32-bit applications do not display some files in Windows 10
- 'bun' is not recognized as an internal or external command
- mkssecreenshotmgr taking a screenshot
- Next js installation in windows 7 os
- Can't resize a partition using Mini Tool?
- Is there any way to set a printer as default according with Active Directory Policy Security Group and PC hostname?
- Electron Printing not working on Windows (Works on Mac)
Related Questions in MESSAGEBOX
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- msg.exe prints "Invalid parameter(s)"
- Display warning icon in MessageBox
- VB.Net align buttons in MessageBox
- I want a message box to appear once i click submit
- Pushing and popping strings to and from stack NASM 64bit Windows assembly
- catch (Exception ex) not displaying MessageBox message for event
- Int to string in 64x windows assembly(nasm)
- Confused with messagebox
- MessageBox Description has only 1 letter
- How to properly convert char to wchar_t
- Powerbuilder messagebox text
- How Messagebox Show connecting to the url link
- MessageBoxButton exception WPF, VB.net project
- pythonic popup messagebox in dearpygui (asyncio or sync way)
Related Questions in WINDOWS-SERVER-2012-R2
- SharePoint 2016 and update windows server from 2012 R2 to 2022
- MongoDB - service did not respond to the start in a timely fashion
- ABCChrome117.exe - The program can't start because api-ms-win-core-libraryloader-l1-2-1.dll is missing from your computer
- RabbitMQ "A call to SSPI failed" - "The message was unexpected or badly formatted"
- Issues creating gMSA on domain controller
- How to analyze why a classic ASP page with 1 word in it takes 10 seconds to display on our website?
- Why .NET framework V4.8 installed in Windows Server 2012R does not exist in registry?
- Faulted state in powershell script
- Message "An error has occurred" when use webapi with JWT in IIS 8.5
- While running HLK in printer driver devmode corruptor test in that Run DevmodeCorruptW.exe case failing as mentioned below logs?
- DNS address could not be found when deploying node application with iisnode
- In Place Upgrade Windows server from 2012 to 2016, Does weblogic 10.3.6 compatible with Windows server 2016?
- Windows Server: Could not load file or assembly 'Ubiety.Dns.Core'
- How to Exclude Files and Folders from Volume Shadow Copy (VSS) Backups
- Request aborted: Failed to create SSL/TLS secure channel
Related Questions in WTSAPI32
- I'm trying to get all the running processes on my PC using WTSEnumerateProcesses
- WTSQueryUser Token returning Error code: 1314
- Why does WTSFreeMemoryExA always return ERROR_INVALID_PARAMETER when passed a WTSTypeClass of WTSTypeSessionInfoLevel1?
- Create Remote Desktop Services Child sessions
- Send Notification to specific RDP user from a WTS app that runs as a Windows service
- Trying to enumerate Terminal Server sessions produces AccessViolationException (.NET and Native DLL)
- WTS LastInputTime
- How to implement WTSRegisterSessionNotification function
- Some questions about WTSInfoExLevel
- Access denied in WinStationConnectW on Windows10
- C++ Port Monitor (mfilemon.dll) RDP Virtual Channel code not executing
- WTSQuerySessionInformation on VPN
- Query with wtsapi32.dll doesn`t work with SAM-Account-Name for japanese users
- Terminal Services - Access Denied from ASMX web service
- WTSRegisterSessionNotification causing process to hang
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?
Popular Tags
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)