nmaier / mintrayr

Mozilla extension: Minimize windows into the system tray (Firefox, Thunderbird, Seamonkey, Instantbird)
https://tn123.org/mintrayr/
Mozilla Public License 2.0
84 stars 37 forks source link

Tray icon not showing when Firefox is run as a LowIntegrity process (Windows) #166

Open frying-pan opened 7 years ago

frying-pan commented 7 years ago

Issue occurs with Firefox 38.8.0 ESR, under Windows 8.1 64 bits.

There may not be any workaround if this behavior is intentionnal in Windows LowIntegrity mode...

LowIntegrity (called protected mode in Internet Explorer) is a mode where a process has limited rights under Windows (for security). LowIntegrity is achieved with following command in a (possibly elevated) command prompt : BEWARE the following commands can NOT be cleanly undone, should be executed on a test _Firefox_InstallFolder and _Windows_UserAccount

icacls "*Firefox_Install_Folder*" /setintegritylevel (OI)(CI)low /t /c
icacls "*Path_To_Folder_For_Firefox_DownloadedFiles*" /setintegritylevel (OI)(CI)low /t /c
icacls "C:\Users\*Windows_User_Account*\AppData\Local\Temp" /setintegritylevel (OI)(CI)low /t /c
icacls "C:\Users\*Windows_User_Account*\AppData\Local\Mozilla" /setintegritylevel (OI)(CI)low /t /c
icacls "C:\Users\*Windows_User_Account*\AppData\Roaming\Mozilla" /setintegritylevel (OI)(CI)low /t /c

see : http://www.wilderssecurity.com/threads/running-firefox-in-protected-mode-i-e-with-low-integrity-level-in-vista-or-later.357417/

LowIntegrity of a process can be checked in the 'Integrity' column of ProcessExplorer (from Microsoft SysInternals) : https://download.sysinternals.com/files/ProcessExplorer.zip