Batch file - how to message another user on same computer

User discussion and information resource forum for scripting of TeraByte products using script lanugages such as TBScript, VBScript, Batch Files, and more.

Batch file - how to message another user on same computer

Postby carlmm » Mon Jan 30, 2017 7:32 am

I am on Windows 7 Home Premium using IFW. I have successfully gotten the IFWRotate script working, and put it in a Task to run every day. I created the script while logged on as an Administrator; however I do all my normal work in a Standard User account (doing that tightens security).

When IFW starts, I do not get a message in my Standard User account that IFW has started. I would like such a message.

How to get the script to message me? Remember I am on the same computer that is running the script.
The version of Windows 7 I am on does NOT have the cmd MSG (Enterprise edition of Win7 does), nor does it have the Windows XP cmd NET SEND (both of which do what I want).
I am OK with downloading a program if that is what it takes.

!!Thanks!!
carlmm
 
Posts: 3
Joined: Mon Jan 30, 2017 7:09 am

Re: Batch file - how to message another user on same compute

Postby Brian K » Mon Jan 30, 2017 1:45 pm

carlmm wrote:
> I created
> the script while logged on as an Administrator; however I do all my normal
> work in a Standard User account (doing that tightens security).
>

carlmm,

Can you create the Scheduled Task while a Standard User?
Brian K
 
Posts: 1174
Joined: Thu Aug 11, 2011 6:11 pm

Re: Batch file - how to message another user on same compute

Postby carlmm » Mon Jan 30, 2017 5:20 pm

The IFW manual says it is better to do it as an Administrator. So I did that.
carlmm
 
Posts: 3
Joined: Mon Jan 30, 2017 7:09 am

Re: Batch file - how to message another user on same computer

Postby TeraByte Support » Mon Jan 30, 2017 11:11 pm

TBI Notify tells you when it starts with a pop up.


"carlmm" wrote in message news:13218@public.scripting...

I am on Windows 7 Home Premium using IFW. I have successfully gotten the
IFWRotate script working, and put it in a Task to run every day. I created
the script while logged on as an Administrator; however I do all my normal
work in a Standard User account (doing that tightens security).

When IFW starts, I do not get a message in my Standard User account that IFW
has started. I would like such a message.

How to get the script to message me? Remember I am on the same computer that
is running the script.
The version of Windows 7 I am on does NOT have the cmd MSG (Enterprise
edition of Win7 does), nor does it have the Windows XP cmd NET SEND (both of
which do what I want).
I am OK with downloading a program if that is what it takes.

!!Thanks!!

TeraByte Support
 
Posts: 2310
Joined: Thu May 05, 2011 3:37 pm

Re: Batch file - how to message another user on same compute

Postby carlmm » Tue Jan 31, 2017 5:25 pm

The notification from TBI does NOT appear when I am logged on as Standard User. Tonite IFW ran at 5:30pm, started by the script which was started by Task Scheduler. At 7:20pm, by which time IFW was well completed, I logged onto the Admin account (which I used to create the Task). The TBI notification did NOT appear there.
carlmm
 
Posts: 3
Joined: Mon Jan 30, 2017 7:09 am


Return to Scripting