Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows 7 schedule Task

23 Jan 2014   #1
Arowana77

Windows 7
 
 
Windows 7 schedule Task

Hi,

Currently having some problem on the schedule job task on windows 7. example script in my bat file as list below. so we schedule and it run only thing is it did not show the dos windows for us to reply message. kindly help. Thanks


echo on
said Hello
pause.


My System SpecsSystem Spec
.
23 Jan 2014   #2
MilesAhead

Windows 7 32 bit
 
 

Does it work if you run it without the scheduler? I don't know what the "said" command is.

When I run your batch in a command prompt I get this

C:\Users\Miles>echo on

C:\Users\Miles>said Hello
'said' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\Miles>pause
Press any key to continue . . .
My System SpecsSystem Spec
05 Feb 2014   #3
Arowana77

Windows 7
 
 

Yes if run maunally it will open the command windows, but if schedule under scheduler window 7 it wouldn't but refer to scheduler status it runing.

As the script run we need to reply "Y" to continue next step. but for window 7 there is not command prompt screen show so we unable to reply "Y" that cause the scheduler stuck, kept under runing status..

Thanks
My System SpecsSystem Spec
.

05 Feb 2014   #4
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Are you running the scheduled task using the same user account that you are logged into windows with?
If the scheduled task runs with a different user account you won't see the command window.
My System SpecsSystem Spec
05 Feb 2014   #5
Arowana77

Windows 7
 
 

yes using the same as login user id.
My System SpecsSystem Spec
06 Feb 2014   #6
Arowana77

Windows 7
 
 

so any other solution on this?..
My System SpecsSystem Spec
06 Feb 2014   #7
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

I don't know why you don't see the window, but here's some things you can try.

In Task Scheduler Enable All Tasks History, run the task, and look through the History tab for any errors.

Run a System File Check to make sure you don't have any issues.
SFC /SCANNOW Command - System File Checker

Create a new Windows User Account and task for that account, see if it works.
Maybe there is some corruption in the Windows User Account you are using ?
User Account - Create
My System SpecsSystem Spec
Reply

 Windows 7 schedule Task




Thread Tools Search this Thread
Search this Thread:

Advanced Search




Similar help and support threads
Thread Forum
Schedule task to run when a new profile is created using Win 7
I need to replace a RunOnce procedure from XP. Using it with Win 7 is interrupted with UAC prompts which is an unacceptable option and disabling UAC within our environment is not an option. I am attempted to replace the process with Task Scheduler. However, I only want this to run when a new...
General Discussion
Windows 7 Schedule Manager (Create Task) Help
Hey 7Forums Users, Hopefully someone with a some broad knowledge of the 'Windows 7 Schedule Manager' is able to help me setup a new task. I am looking for instructions to setup a new task. I haven't used the schedule manager before, but if your clear on explanations, I am an IT Technical...
General Discussion
how to set a schedule task to run chkdsk
I tried to to set a schedule task to run chkdsk with a batch file, such as follwoing: echo y|chkdsk C: /F /R shutdown -r I run it on cmd.exe it needs administrator privilege. I run cmd.exe as administrator, then it works. I tried to run it on schedule task and set run by a administrator type...
General Discussion
Schedule a task
I want the computer to execute the following line: mms://wamu-wm.streamguys.com/WAMU-1 at 7:00 am until 10 am Monday through Friday. Unconditionally. I have explored the task menus ad-nausium... and still it does not trigger. There are simply too many options to list them here to...
Customization
How do I schedule a Windows task to run in the foreground?
How do I force a scheduled task to run as a foreground window, to capture the focus when it runs? I wrote a little Delphi app to open a reminder window, but when I schedule it the silly window stays in the background, behind the other 50 windows I routinely have open, and I'm likely to miss it....
Software
Can I schedule a XP Mode task from Win 7?
I have a very old legacy app that would not run or install in Win 7 compatibility mode. I download the Windows VM patch, and the XP Mode application, installed them, and was able to get the application to run. Following some information I found here, I was able to get it pinned to the start menu...
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 11:35.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App