Command to close Firefox or Thunderbird with scheduled tasks?

I would like to automate file Firefox (Thunderbird). Output of command at a specific time without forcing a shutdown/reboot of Windows. The goal is to ensure that they are not active during my automated nightly backup.

Is there a command line - setting or other trick/tool can be used for this function?

This could be a stackoverflow question or another developer network:
For example:

Tags: Firefox

Similar Questions

  • Strange problems with scheduled tasks

    Hello Microsoft community.

    I have a domain with many servers (windows Server 2003), and there is a database of oracle on one of them. I usually use a batch file to back up the oracle database, and I'm sure that this lot works perfectly.
    So I logged on the server that contains the oracle database and create a new weekly scheduled task to back up my database, and the timing worked well in the first day.
    The next day, I logged on the server to make sure that the backup works, but I found a sentence (cannot start) under the status column and (0x1) under the column last result.
    I tried to delete the task and create it again, but nothing has changed.
    I used both domain administrator account and the Local Administrator account, but nothing has changed.
    I tried to check the task when I connect and disconnect, but nothing has changed.

    The accounts that I used to create the task have the full control permissions on the source folder that contains the batch files so the destination folder that contains the backup files.
    The Task Scheduler service is set to automatic type and its status is started.
    Whenever I double click the backup batch file works fine, but the task still does that for a time.

    What should I do?

    Kind regards.

    Hello

    Windows server 2003 issues are managed by the Technet forums.

    http://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

  • Photos with scheduled tasks

    Hi all

    I'm trying to find a script that will create a scheduled task to take snapshots of a text file at a specific time. The file of text being the names of the virtual machines.

    Any help will be be created.

    What I meant is that you can use the same concept of scheduled task to launch a script.

    In this script, you can read the file with the names of virtual machine and create a snapshot for each of them.

  • Scheduled task does not play if already open WMP, trying to avoid manual close

    I'm in a work centre that will make announcements every day on a speaker system that is run by windows media player. I set up a scheduled task to all files that will play, but once the said file is played WMP does not close automatically. This does not seem like a problem, but if nobody closes on WMP, the next scheduled task will not - play which completely defeated the purpose to automate the process and our workers will have to still remember to close WMP 3 or 4 times a day, otherwise nobody gets the announcement.

    I have tried implementing a command line with /play wmplayer start/close c:myfile.wav as an executable file and run it with the Task Scheduler instead of the wav file... it did not work. Namely, the /close function was abandoned with WMP.

    Is it possible that I can continue to use WMP and completely automate this process without the manual close WMP after each scheduled task?

    Hi Rodvold,

    The issue of Windows XP, you have posted is related to Windows XP in a domain environment. It is better suited for the IT Pro TechNet public. Please post your question in the TechNet forums.

    To change the scheduled tasks in Windows XP, you can also check this link:

    How to modify the scheduled tasks in Windows XP

    Hope the helps of information.

    Concerning
    Joel S
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Scheduled task runs does not correctly in the Windows XP machine.

    Original title: Troubleshoot the scheduled task.

    I have a scheduled task scheduled to run at 2:30 every night.  The time of execution scheduled next is 02:30 March 2, 2011.  I was not able to know what prevents it from running.  After a diagnosis, I'm sure it's not the exact command, but rather the setting in the scheduled task.  However, this is just in case: cmd /c start 'scan MalwareBytes' / low/b "C:\Program Malwarebytes ' Anti - Malware\mbam.exe" / scan-complete - log - cancel

    I have read many web pages on the resolution of the scheduled tasks, but the principal that I follow is http://support.microsoft.com/kb/308558.  Here is what I checked:

    • The scheduled task folder shows a 27 February 2011 than last time to run
    • Last log written by the application is February 27, 2011, confirming the last Run Time
    • Status column is empty
    • The application runs if I right click on the scheduled task and select run
    • I used 'cmd' and 'start' in a similar way to successfully launch a low priority job in different scheduled task launching a different application of scanning
    • Application logs for all three of my tasks planned for antimalware scans different show that there is a lot of room between the task durations
    • If I right click on the task failed on demand, choose run and wait for the end, success is indicated by a new log file written by the application and a "Last Run Time" update in the scheduled task folder
    • c:/Windows/SchedLgU.txt confirmed that the scheduled task that failed did not run since February 27, 2011, while other scheduled tasks has been run.  After a right click and running, c:/WINDOWS/SchedLgU.Txt shows a successful run.

    All my regular scans are set to run if the computer is idle, and I'm sure that didn't prevent this idling at this hour there.  The scheduled task failed is set to run under an administrator account even if this user is not signed.  He was placed this way well before the last run time of the February 27, 2011, and other tasks are also implemented this way (with success).  Is there anything else I can try?

    I think I found the problem.  I unchecked the option somehow to wake up in order to perform the scheduled task.  Thank you all for your answers.

  • Win XP Pro - scheduled tasks

    I need more information about scheduled tasks.

    My backup software does not work. I get error logs.

    I need more examples to make it work.

    This isn't a lot of information to go.

    Here are a few notes unattractive, I have about scheduled tasks that can help you get started.  One day I have to make it more presentable:

    It is strongly suggested that the task entrusted to a user with a password (using the administrator account is not recommended), so create a new user with a password just for tasks or add a password to your account, if necessary.

    You can temporarily assign a password for test and worry about that later. This time just to see if your ST mechanism works correctly.

    If you configure the task to use the same account that you log in, you'll usually be able to see the task to launch and start running while you use the computer.  It is useful to see the task run in front of your eyes.

    If you configure the task to use another account that connect with the task must run again (and you see it), but for the test, use your own login account and then change the account of the task uses later when you're sure that it all works.

    If you try to create a new task by using an account that does not have a password, you will get this error trying to create the task:

    The new task has been created, but may not work because the account information could not be set.

    The specific error is 0x80070005: access is denied.

    Still, the task will be created, but it will not run correctly.

    Is there a way to get around that, but get this working first for if ensure your mechanism of the scheduled task is not afflicted.

    Stop the Task Scheduler service. Click on start, settings, Control Panel, administrative tools, services and locate the Task Scheduler Service and stop it.

    Remove or rename the scheduled task probably cluttered log file that is usually found here:

    c:\Windows\SchedLgU.txt

    Restart the Task Scheduler service to create a new journal (it's just a text file) and verify that a new log file has been created and that it looks like this:

    "Task Scheduler service".

    Started on 01/01/2010 06:26:43

    [* The most recent entry is above this line *]

    Navigate to the folder c:\windows\tasks to see all your tasks. Expand the Explorer window you can see all the columns interest by dragging the column headers for each column.

    The next columns Run Time, last run time, status and latest results are interesting. You can also click Advanced and view the log file of ST from here.

    Choose to add scheduled task.  Create a new task to run once command prompt now.  If you do not have a PW on your account, you will get an error while trying to create it (more on that later).  The new task will still be created, but it will never run. Assign a password to your account, at least temporarily, to test your mechanism of the scheduled task.

    After you have assigned your login password account temporarily, adjust the new scheduled task, you created to run the command prompt so that it uses the same account and password used to log on to Windows and the task must configure and save without error.

    Right-click the new task command prompt and choose run and a command window should open immediately.  If this isn't the case, something is wrong.  If so, your mechanism is healthy.  Examine the log file to view your results.

    Given that the task of the command prompt is configured to run under your account, that is why you will see the command prompt window open immediately.  If you have configured the task to use a different account (with a password of course), the task of the command prompt would run under this name of users (not your own) and you wouldn't open the command prompt window, but the task would be running and you can see in the Task Manager.  This way you know your ST mechanism works.

    Now that you know how to execute tasks manually, how to observe the columns of information, to know how to remove the log file, you can apply this knowledge to your new task.  Make sure that the Task Scheduler service is running again if you don't stop it to remove the log during the test.

    Assign properties to your new task or annoying that match your login (at least for testing), observe the columns and the newspaper.  If your task fails to run manually, errors in the log file are the clues to find out what to do next.

    Always try to return to the simple task of command prompt that you created to make sure that the ST mechanism working properly - before you know for sure that one works.  Then apply your knowledge to get your new task to work.

    You can edit the task properties to use your login account and password since you know it is working on the task from the command prompt.  If you change your new task and choose to run it and logged in with the same account, you should see your Execute task.  When you are satisfied, it is not working properly, you probably don't want to interrupt you while you are connected, so change it back the properties to use another connection to the user account that has a password that you have created just to run your scheduled tasks.

    Tasks that are created by other applications will use the special account NT AUTHORITY\SYSTEM.  This account has no password and is typically used for system-oriented tasks, but you will only be able to see the performance when you use the Task Manager.

    If you try to manually run a ST as you see it open any window to run, but you will see running in Manager tasks and in the log file.  If you want to see actually run, change the properties to use your account and password, solve the task, and then change the properties back and test it again.

    These types of tasks can work very well, but you can tell by the log file, looking in the Task Manager, or columns of status in the folder tasks.  If you temporarily modify the task to use the same account and password you use to log in, you will be able to watch him run.

    Once you understand how to get a simple task like working of command prompt and you know where is the log file and how to edit the task properties, you can work on your new task or afflicted and make it work.

    There are ways around some of the restrictions and requirements, but it is best to only use what you have and use wisely.

    A common problem with scheduled tasks is that there is no password for the account used to create the task or people expect to 'see' the task running when it is not assigned to their connection and when theydon can't see anything and think that the job is not running.  This isn't how it works.  The log file and the Task Manager will tell you what is actually happening.

    If you're used to not having a password on your account because you do not have to enter a when you login or you are the only user on your system and decide to start using some mesh, it is sometimes easier to simply assign a password for your account, or just create a new user account XP with a password and use it for the m.  You can assign a password to your account and still have your system set in place to never ask for a password when you sign in, but you must remember your password - or set up a new account just for your scheduled tasks.

    Do, or do not. There is no test.

    I need YOUR voice and the points for helpful answers and propose responses. I'm saving for a pony!

  • What is the best Linux distribution to work with Firefox (or Thunderbird)?

    With the advent of Win8 & Win10, I am considering (re) installation of Linux. I stopped using it because I was not getting timely Firefox and Thunderbird updates. I rely on Thunderbird calendar & Tbird interface.
    So what is the Linux distribution to be more likely to be kept up to date?
    Thank you
    paladin_3

    Regular distributions Linux versions may be supported for a few years more or less Long term releases of the same or other Linux distributions support there.

    The drawback with the LTS (like Ubuntu with some versions) versions, is that they tend to use older packages more stable vs using the most current set.

    Older versions LTS which are always supported by distribution may not meet required minimums to use the current version of Firefox for example.

    https://www.Mozilla.org/en-us/Firefox/41.0/system-requirements/

    The current currency out June 30, 2025 is supported until April 2019, so there are options.

    openSUSE is a community which tries to keep some older versions updated when openSUSE drops in support.

    https://en.openSUSE.org/lifetime
    https://en.openSUSE.org/openSUSE:Evergreen

    Linux for Firefox 41.0 requirements are the same for Firefox 17.0. However, a big change in a while is GTK 3.4 or newer will be the new requirement, probably to start Firefox 43.0 communicated that he was going to be Fx 42.0 release.

  • My pinned tabs "app" disappear when I close firefox, I started syncing with another computer. Windows 7 and Windows 8.

    Got a new tablet of Windows 8 non - RT. Put regular firefox desktop. No subway. It synced with my portable firefox, which runs windows 7. Since that time my pinned tabs app do not remain once I close firefox and restart.

    In case you use "clear history of Firefox closing:

    • do not erase browsing history

    Note that compensation "Preferences of Site" clears all exceptions for cookies, images, windows pop up, installation of software and passwords.

  • With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs closes all tabs

    With multi tabs open I'm going to close Firefox 5.0 and it will not keep the tabs it closes all tabs so when I restart I have to reopen the tabs. I was using firefox 3.6 and had the opportunity to close, but keep the tabs so they would open when I restarted firefox.

    upgrade your browser Firefox 8 and check

  • I had some problems with my pc, since then when I close Firefox it would not reopen unless I go to Task Manager and end the process for FF.

    I had some problems with my pc, since then when I close Firefox it would not reopen unless I go to Task Manager and end the process for FF. I uninstalled FF and re-installed and no change.
    Walt

    I have a same problem.

  • When I close firefox, it always works in the background. When I want to open it again, there is a message that firefox is running and I have to close it. then I close with CTRL + ALT + DEL/taskmanager, according to me, / all this started to happen after u

    When I close firefox, it always works in the background. When I want to open it again, there is a message that firefox is running and I have to close it. then I close with CTRL + ALT + DEL/taskmanager, according to me, /

    This has happened

    Each time Firefox opened

    == After Update/update firefox

    Perhaps, you just need to wait for a while for Firefox download.

    Perhaps, it is an extension/plugin slowing your Firefox.

    When I close Firefox in the evening, it closes slowly and uses 50% of CPU. It unloads after several (30? 60?) seconds.

  • Running Powershell script with ESXCLI commands via a scheduled task in Windows 2012 does not work.

    I'm trying to run a powershell script of a scheduled task in Windows 2012. The script calls the commands ESXCLI and ends with success (exporting to a CSV file) but the file has no data inside.  If I run the script manually without the scheduled task file has all the I expect to exit.

    I wonder if there is a framework with Powershell or a PSSnapin I need to add to the script for it to run via a scheduled task.  Has anyone done this before with the ESXCLI commands?

    panhvr - you may to something.  The process account that I use to run this script has only read-only access in vCenter.  I logged on the server I am running these reports with the process ID and tried to run the script.  He gave me errors indicating permission to perform the operations of esxcli was denied.

    I think we found the culprit!  I'll have this process ID in vCenter rights upward.

    Thank you all!

  • How can I close Firefox (closed) if properly run two windows with multiple tabs in each and I want to save them all?

    How can I close Firefox (closed) if properly run two windows with multiple tabs in each and I want to save them all? I tried to close each window by clicking the X in the top right, and then restart Firefox only loads the last closed window. Is it possible to close Firefox so it restarts with both windows?

    Hi osenochen, some additions to the first response:

    • You can display the classic menu temporarily bar by pressing Alt or F10 to access the file menu
    • There is also an icon of 'power' at the bottom of the graphic application menu (the one which is displayed by the button "3-bar" menu) If you prefer
    • If you closed a window and you want to re - open, go to the history menu and see a list of recently closed windows (by default, up to 3 windows closed are stored and can be re-opened - not applicable to windows private)
  • Just updated to Firefox 8. Now, when I close firefox with several active tabs, it didn't offer not an option 'Save the tabs and close', how can I return this option?

    I looked in the 'Options' and I can't find a way to toggle this switch. I hope that this feature has not disappeared, because I use it all the time.

    Versions of Firefox 4 + automatically record your session when you close Firefox. To restore your previous session click on the link of the Previous Session restoration on the subject: Home Home page or in the history menu.

  • How to fix Firefox and Thunderbird when MozBackup broke?

    Hello.

    We are a small family business. My father, the head of the company, really liked software MozBackup and we use it for a long time now.
    About 2 weeks ago, we bought a new PC for our needs, and while I was configuring it to work, I encountered a major problem. I installed Win7 64 bit, all the drivers needed and software, including FireFox, ThunderBird and MozBackup. Everything was going well until we used MozBackup. FireFox is now having trouble with certificates - for example it shows problems with certificates not approved on Mozilla help sites, google etc. Some Web sites are displayed in plain text, in particular the support pages. Also, it does not play youtube videos - they're starting to buffer and then an error pops up. Uninstalling Firefox and deleting the profile manually do not help, when I run it again it stil has these issues. This stopped after you have reinstalled the OS, but I really don't want to do this again. Thunderbird shows that our private mail server's certificate is not approved, it also has problems with displaying certain messages (not reliable too). All other web browsers works fine. We checked today and it also happened on our new ultrabook with Windows 10, but when we updated Firefox and restored the profile with MozBackup on our old laptop - he didn't plant as on other computers. It seems to happen only with freshly installed Firefox and Thunderbird.

    Could you help us somehow? Is that caused new versions of these programs? I used FF and TB 38.4.0 42.0/43.0. Maybe you could just give me a solution to restore by default, so she would go as it has just been installed? Then we could migrate to Firefox Sync with our profiles.
    We would be very grateful for any help from you.

    See you soon.

    You have restored the cert8.db file?

    There are security software such as Avast and Kaspersky and BitDefender and ESET which intercepts secure connections and sends its own certificate.

    If you cannot inspect the certificate by "I understand the risks", then try this:

    Open the "Add Security Exception" this URL chrome by pasting into the address bar of Firefox and check the certificate:

    • chrome://pippki/content/exceptionDialog.XUL

    In the field of location of this window, type or paste the URL of the Web site.

    • retrieve the certificate via the button 'Get certificate '.
    • Click on the "view..." button. "to inspect the certificate in the certificate display

    You can check details such as the issuer and the certificate chain in the Details tab of the certificate display.
    Check which is the issuer of the certificate.
    If necessary, you can attach a screenshot that shows the display of the certificate.

Maybe you are looking for