为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

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

详细了解

How to disable shift key for starting FF in safe mode?

  • 7 个回答
  • 1 人有此问题
  • 11 次查看
  • 最后回复者为 AndyScull

more options

Hi, I tried everything I could find on internet and all those suggestions didn't work in FF quantum. Basically, I want to block FF starting in safe mode when shift key is pressed. Just start as usual

Where it comes from: 1. I use Far Manager in my everyday life 2. I am opening .html files from it 3. In Far manager I have shift+enter hotkey to open file types registered in windows, shift modifier is preventing accidental run on enter while I am just navigating the folders. You see where this is going? I press shift-enter to open html file, it is associated with FF, FF detects that shift key is pressed and starts in safe mode when I don't want it to. And no, this hotkey cannot be changed.

I found one way to circumvent it - run FF on computer startup, open bookmarks manager window and minimize it to tray (external program). Close main FF windows and now I have FF staying in memory and starting up very fast and not in safe mode since it's already running. But memory leaks...

Hi, I tried everything I could find on internet and all those suggestions didn't work in FF quantum. Basically, I want to block FF starting in safe mode when shift key is pressed. Just start as usual Where it comes from: 1. I use Far Manager in my everyday life 2. I am opening .html files from it 3. In Far manager I have shift+enter hotkey to open file types registered in windows, shift modifier is preventing accidental run on enter while I am just navigating the folders. You see where this is going? I press shift-enter to open html file, it is associated with FF, FF detects that shift key is pressed and starts in safe mode when I don't want it to. And no, this hotkey cannot be changed. I found one way to circumvent it - run FF on computer startup, open bookmarks manager window and minimize it to tray (external program). Close main FF windows and now I have FF staying in memory and starting up very fast and not in safe mode since it's already running. But memory leaks...

被采纳的解决方案

And that actually pointed me to the solution: Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox] "DisableSafeMode"=dword:00000001

Seems like that specific 'DisableSafeMode' option does not work in policies files, it only works when applied by windows GPO. Nothing documents that though, to that was a lucky hit.

定位到答案原位置 👍 0

所有回复 (7)

more options

Problem here is no one knows what your trying to fix.

more options

WestEnd said

Problem here is no one knows what your trying to fix.

Wasn't I clear enough? I want to keep shift pressed when starting FF and it should start in normal mode instead of safe.

more options

Maybe use more than one modifier key (i.e. not only Shift, but Ctrl or Alt in addition to Shift).

more options

cor-el said

Maybe use more than one modifier key (i.e. not only Shift, but Ctrl or Alt in addition to Shift).

Sorry, I mentioned in first post that shift+enter hotkey cannot be changed. And honestly, I wouldn't change it, I lived my whole life with it.

more options

Note that Shift to start in Safe Mode only works when used solely, so there is no easy way to avoid starting in Safe Mode when the Shift key is pressed .

You consider to try a policies.json file to disable safe mode entirely, but you wont be able to do any troubleshooting that requires safe mode.

more options

cor-el said

Note that Shift to start in Safe Mode only works when used solely, so there is no easy way to avoid starting in Safe Mode when the Shift key is pressed . You consider to try a policies.json file to disable safe mode entirely, but you wont be able to do any troubleshooting that requires safe mode.

Sorry, not working. This is one of things I tried already. Just to be sure, I done this again and documented the process: 1. created folder 'distribution' in firefox's installation folder 2. created a file 'policies.json' inside this folder with this content: {

"policies": {
  "DisableSafeMode": true
}

} 3. run FF with shift pressed. 4. result - safe mode windows pops up

I used process monitor to check that FF actually loads this file, it does. It reads the policy file when starting up but then just ignores that safe mode policy

more options

选择的解决方案

And that actually pointed me to the solution: Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox] "DisableSafeMode"=dword:00000001

Seems like that specific 'DisableSafeMode' option does not work in policies files, it only works when applied by windows GPO. Nothing documents that though, to that was a lucky hit.