Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Auto update Restore Session Error

  • 4 Antworten
  • 1 hat dieses Problem
  • 7 Aufrufe
  • Letzte Antwort von FredMcD

more options

Hi,
Firefox is setup to auto update when it launches. It has to be force closed remotely to startup the update because some user don't close their browsers.
However, after the browser opens, it shows an error and prompts the user to restore the last session because taskkill is used to terminate the process.


Is there a way to:
1. Toggle "browser.sessionstore.resume_session_once" to "true" so, it will restore automatically via script or command line.
2. Terminate Firefox gracefully, so it doesn't show that message and session is restore upon reopening.
3. Any other way (but, without using user.js and/or prefs.js)

The only command pushed to the user's machine is to terminate and reopen Firefox.
Thanks

Hi, <br> Firefox is setup to auto update when it launches. It has to be force closed remotely to startup the update because some user don't close their browsers. <br> However, after the browser opens, it shows an error and prompts the user to restore the last session because taskkill is used to terminate the process. <br><br><br> Is there a way to: <br> 1. Toggle "browser.sessionstore.resume_session_once" to "true" so, it will restore automatically via script or command line. <br> 2. Terminate Firefox gracefully, so it doesn't show that message and session is restore upon reopening. <br> 3. Any other way (but, without using user.js and/or prefs.js) <br> <br> The only command pushed to the user's machine is to terminate and reopen Firefox. <br> Thanks<br>

Geändert am von SAI157

Alle Antworten (4)

more options

You can set up the Windows Task Scheduler and run a batch program.

In the computer, add this file: Close Firefox.bat


Cls
TASKKILL /IM Firefox.exe /t
::Above close FF normally
TASKKILL /IM Firefox.exe /t /F
::Above FORCE FF to close

You might also be able to set this up to call the batch program remotely. Be sure to test it out for your system.

I took a look at the Mozilla Add-ons Web Page {web link} (There’s a lot of good stuff here) but did not see anything helpful.

Geändert am von FredMcD

more options

Thanks FredMcD It's asking to confirm if I want to close multiple tabs. Is there a way to send "enter" key through batch file say yes?

Thanks

Geändert am von SAI157

more options

Maybe check the sessionCheckpoints.json file in the Firefox profile folder.

more options

sayyam197 said

It's asking to confirm if I want to close multiple tabs.

Firefox has a safe guard in case the user closes a window with tabs.

Type about:config<enter> in the address bar. If a warning screen comes up, press the Be Careful button. At the top of the screen is a search bar. Type browser.tabs.warnOnClose then change this to False.


Note: I found this, but can't find any information about it; browser.tabs.remote.desktopbehavior