Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

Learn More

How to disable "Restore previous sessions" with GPO?

  • 2 个回答
  • 0 人有此问题
  • 6 次查看
  • 最后回复者为 cor-el

more options

Hello Community,

I have a bunch of dumb terminals that connect to some Windows 10 virtual desktops. Upon login, Firefox is started automatically in kiosk mode via a customised shortcut placed in all users' Startup folder.

The problem is that if Firefox crashes, at the next logon it shows a blank dark violet screen and it never gets to load the home page.

I noticed that if I kill it from Task Manager and I re-launch it from the Start menu in normal mode (not Kiosk), then I am presented with the Restore Session tab - see attached screenshot.

Clicking any of the options (restore or start new), just to make Firefox open, then closing it gracefully from the top-right X makes the autostart in kiosk mode work as expected.

I speculate that Firefox just lacks the smarts to "known" that in kiosk mode it is restricted from displaying the dialog, thus no user input will arrive ever.

I am not interested in any previous sessions, I just want Firefox to ignore the previous crash and open the home page.

I saw that various sources suggest fiddling with the user profile via about:config. This is NOT an option because in VDI I do not save users' profiles, and it should apply to any and all users, regardless which virtual desktop they log into.

Is there a way to achieve this using Group Policy?

Thank you.

Hello Community, I have a bunch of dumb terminals that connect to some Windows 10 virtual desktops. Upon login, Firefox is started automatically in kiosk mode via a customised shortcut placed in all users' Startup folder. The problem is that if Firefox crashes, at the next logon it shows a blank dark violet screen and it never gets to load the home page. I noticed that if I kill it from Task Manager and I re-launch it from the Start menu in normal mode (not Kiosk), then I am presented with the Restore Session tab - see attached screenshot. Clicking any of the options (restore or start new), just to make Firefox open, then closing it gracefully from the top-right X makes the autostart in kiosk mode work as expected. I speculate that Firefox just lacks the smarts to "known" that in kiosk mode it is restricted from displaying the dialog, thus no user input will arrive ever. I am not interested in any previous sessions, I just want Firefox to ignore the previous crash and open the home page. I saw that various sources suggest fiddling with the user profile via about:config. This is NOT an option because in VDI I do not save users' profiles, and it should apply to any and all users, regardless which virtual desktop they log into. Is there a way to achieve this using Group Policy? Thank you.
已附加屏幕截图

所有回复 (2)

more options

You can change about:config settings with the Preferences group policy. You may want to enable private browsing mode with browser.privatebrowsing.autostart set to true.

You could also use the --private-window command line parameter.

有帮助吗?

more options

See also:

You may also want to set prefs to enable "Clear history when Firefox closes" and clear the browsing history and possibly others.

有帮助吗?

我要提问

您需要登录才能回复。如果您还没账号,可以提出新问题