For the last few weeks, I noticed that there are periodic invocation of certain programs related to Firefox nightly if my quick capture of what is shown on the screen momentarily is correct.
This is under Windows 10.
Problem is this invocation of programs opens up CMD window as shown in the attached screen capture, and this STEALS INPUT FoCUS while I am working on other things.
This is very BAD. Imagine my indignation when I am recording a video session on the screen and suddenly this big black command window appears and I have to restart video recording again.
Or when I am in the middle of very careful proofreading session and typing correction and suddenly this command window appears and steals my input focus and I have to carefully backtrack WHERE ON EARTH I was correcting the draft?
I finally got fed up with this, and checked the scheduled task on my Windows 10 PC.
I was bothered with a similar issue of CMD window appearing and stealing my input focus.
That scheduled task was made by me. :-)
So I could fix it, but this CMD window by Firefox nightly continued to happen.
I found the following three entries related to mozilla in scheduled task.
1. Firefox Default Browser Agent 1EE68DB397094D8A
2. Firefox Nightly Background Update 6F193CCC56814779
3. Firefox Nightly Default Browser Agent 6F193CCC56814779
The entries, 1 and 3 are to check whether the default browser has changed to other browser and prompt the user to ask if the user wants to restore it or not.
They are OK as far as my observed problem is concered.
The problem occurs with the entry 2.
Its description is:
The Background Update task checks for updates to Nightly when Nightly is not running. This task is installed automatically by Nightly, and is reinstalled when Nightly runs. To disable this task, update the browser settings or the Nightly enterprise policy setting “BackgroundAppUpdate”.
(It seems that this scheduled task was created on August 20 when the nightly was updated??? The task scheduler says the task has been started on Aug 20 and ever since it was invoked repeatedly every 7 hours.)
I have no idea what this enterprise policy setting is.
For that matter, I wonder how many windows users are brave enough to dive into task scheduler to figure out what is showing this strange CMD window from time to time?
I bet not many browser users are aware of task scheduler, even.
Installing a scheduled task needs to be carefully considered in the first place. (I have seen people got suspicious after NVIDIA driver software installation set up many scheduled tasks for performance monitoring. Yes I count NINE Nvidia tasks on my PC and this is after I disabled one such task which did not seem to run successfully for some reason. )
Well, at least NVIDIA was thoughtful enough NOT TO LET the invasive CMD Window pop up and steal user input focus and mess up the on-going work.
Nightly's scheduled task for background update ought to take the same caution.: It should NOT cause the CMD window to pop up and interrupt user workflow.
One way to do this is to create a batch file to invoke the task called it task-update.bat and then create a script file called task-update.vbs.: Its content should look like this.
```
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c Drive-name-and-full-path-to-task-update.bat", 0
```
The "0" at the end of the second line is to disable the popup of CMD window.
Replacing it to "1" causes the CMD window to pop up and we can monitor the progress of command for debugging.
Then you can install a task to execute
```
wscript.exe Drive-and-full-path-to-task-update.vbs
```
Yeah, I had to investigate how to disable CMD window from the a couple of scheduled tasks of MY OWN CREATION. They were bothersome enough for many months. Then firefox nightly CMD window added up. It was the last straw.
Thank you in advance for making great browser available under Windows and Linux.
Bug 1729119 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
For the last few weeks, I noticed that there are periodic invocation of certain programs related to Firefox nightly if my quick capture of what is shown on the screen momentarily is correct.
This is under Windows 10.
Problem is this invocation of programs opens up CMD window as shown in the attached screen capture, and this STEALS INPUT FOCUS while I am working on other things.
This is very BAD. Imagine my indignation when I am recording a video session on the screen and suddenly this big black command window appears and I have to restart video recording again.
Or when I am in the middle of very careful proofreading session and typing correction and suddenly this command window appears and steals my input focus and I have to carefully backtrack WHERE ON EARTH I was correcting the draft.
I finally got fed up with this, and checked the scheduled task on my Windows 10 PC.
I was bothered with a similar issue of CMD window appearing and stealing my input focus.
That scheduled task was made by me. :-)
So I could fix it, but this CMD window by Firefox nightly continued to happen.
I found the following three entries related to mozilla in scheduled task.
1. Firefox Default Browser Agent 1EE68DB397094D8A
2. Firefox Nightly Background Update 6F193CCC56814779
3. Firefox Nightly Default Browser Agent 6F193CCC56814779
The entries, 1 and 3 are to check whether the default browser has changed to other browser and prompt the user to ask if the user wants to restore it or not.
They are OK as far as my observed problem is concerned.
The problem occurs with the entry 2.
Its description is:
The Background Update task checks for updates to Nightly when Nightly is not running. This task is installed automatically by Nightly, and is reinstalled when Nightly runs. To disable this task, update the browser settings or the Nightly enterprise policy setting “BackgroundAppUpdate”.
(It seems that this scheduled task was created on August 20 when the nightly was updated??? The task scheduler says the task has been started on Aug 20 and ever since it was invoked repeatedly every 7 hours.)
I have no idea what this enterprise policy setting is.
For that matter, I wonder how many windows users are brave enough to dive into task scheduler to figure out what is showing this strange CMD window from time to time?
I bet not many browser users are aware of task scheduler, even.
Installing a scheduled task needs to be carefully considered in the first place. (I have seen people got suspicious after NVIDIA driver software installation set up many scheduled tasks for performance monitoring. Yes I count NINE Nvidia tasks on my PC and this is after I disabled one such task which did not seem to run successfully for some reason. )
Well, at least NVIDIA was thoughtful enough NOT TO LET the invasive CMD Window pop up and steal user input focus and mess up the on-going work.
Nightly's scheduled task for background update ought to take the same caution.: It should NOT cause the CMD window to pop up and interrupt user workflow.
One way to do this is to create a batch file to invoke the task called |task-update.bat| and then create a script file called |task-update.vbs|.: Its content should look like this.
```
Set ws = CreateObject("Wscript.Shell")
ws.run "cmd /c Drive-name-and-full-path-to-task-update.bat", 0
```
The "0" at the end of the second line is to disable the popup of CMD window.
Replacing it to "1" causes the CMD window to pop up and we can monitor the progress of scheduled task for debugging.
Then you can install a task to execute
```
wscript.exe Drive-and-full-path-to-task-update.vbs
```
Yeah, I had to investigate how to disable CMD window from a couple of scheduled tasks of MY OWN CREATION. They were bothersome enough for many months. Then firefox nightly CMD window added up. It was the last straw.
Thank you in advance for making great browser available under Windows and Linux.