Sign in to follow this  
Followers 0
gcue

send a message to a remote pc?

9 posts in this topic

#1 ·  Posted (edited)

we have the messenger service disabled in our company image. don't really want to enable it bc we might get random things we dont want. is it possible to send a message via WMI or something of that sort?

thanks

Edited by gcue

Share this post


Link to post
Share on other sites



anyone know if this is possible?

Share this post


Link to post
Share on other sites

Are you wanting to launch an application on a remote machine, gets stats for it...little more info would help


Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Share this post


Link to post
Share on other sites

yep thats exactly it. im pushing a file to a remote pc, if its in use the user gets prompted

so i want a msgbox telling me when they are getting prompted, when they accept or if they hit cancel

Share this post


Link to post
Share on other sites

yep thats exactly it. im pushing a file to a remote pc, if its in use the user gets prompted

so i want a msgbox telling me when they are getting prompted, when they accept or if they hit cancel

You could use PSTools (From sysinternals) to push the file and start a script. The first thing I can think of would be have the script create log files somewhere on the network named PC_User.log and put the results if they accepted or denied. Sending a MsgBox back to you would seem a little over complicating and annoying to me.


Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Share this post


Link to post
Share on other sites

yea thats what im currently doing. but i have to keep hitting refresh to see results =)

its ok for now - just wanted to see if it was doable or not

Share this post


Link to post
Share on other sites

yea thats what im currently doing. but i have to keep hitting refresh to see results =)

its ok for now - just wanted to see if it was doable or not

You could have it send you an email with the results...ive done that with a few of my scripts that the users interact with.


Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end.

Share this post


Link to post
Share on other sites

How about just checking the size of your log file in a loop? If the file changes size then pop up a messagebox with the last entry. Just put a sleep in there and check it every few seconds or minutes, whatever suits.


George

Question about decompiling code? Read the decompiling FAQ and don't bother posting the question in the forums.

Be sure to read and follow the forum rules. -AKA the AutoIt Reading and Comprehension Skills test.***

The PCRE (Regular Expression) ToolKit for AutoIT - (Updated Oct 20, 2011 ver:3.0.1.13) - Please update your current version before filing any bug reports. The installer now includes both 32 and 64 bit versions. No change in version number.

Visit my Blog .. currently not active but it will soon be resplendent with news and views. Also please remove any links you may have to my website. it is soon to be closed and replaced with something else.

"Old age and treachery will always overcome youth and skill!"

Share this post


Link to post
Share on other sites

good idea geo - i think i might use that...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0