WTSSendMessage Failing
-
Hi all, I want to post a message to a specific server from windows 7 os. Iam using WTSSendMessage api to post the message. 1. this api takes the handle to the opened server. 2. if i open the handle to my own machine and use that handle to the WTSSEndMessage api, i get the message in my machine. 3. Whereas if i open the handle to anyother machine and if i use the same handle in WTSSendMessage api, the function failing with error message, "Acess is denied.". 4. Also even the firewall is off in the machine where i try to send the message. If anyone know the solution, pls let me know! thanks, Arun P.
Arun P.
-
Hi all, I want to post a message to a specific server from windows 7 os. Iam using WTSSendMessage api to post the message. 1. this api takes the handle to the opened server. 2. if i open the handle to my own machine and use that handle to the WTSSEndMessage api, i get the message in my machine. 3. Whereas if i open the handle to anyother machine and if i use the same handle in WTSSendMessage api, the function failing with error message, "Acess is denied.". 4. Also even the firewall is off in the machine where i try to send the message. If anyone know the solution, pls let me know! thanks, Arun P.
Arun P.
On the MSDN site for WTSSendMessage[^] look for this text: "
WTSSendMessage to a remote computer is denied by default
" and read what it says. Could this be your problem?> The problem with computers is that they do what you tell them to do and not what you want them to do. < > If it doesn't matter, it's antimatter.<