![Firefox logo](https://assets-prod.sumo.prod.webservices.mozgcp.net/media/uploads/products/2020-04-14-08-36-13-8dda6f.png)
"Cannot load XPCOM" message when Firefox is run from Startup Folder
I want Firefox to automatically run when I start the computer, so I placed the firefox.exe program into the Startup folder. Now when I boot up the computer, it brings up the message "Cannot load XPCOM". Firefox does start fine when I run it from the Start menu of Windows 10. I tried a complete Firefox uninstall and reinstall, and the problem still occurs.
被采纳的解决方案
Setting up a scheduled task worked. Thanks!
定位到答案原位置 👍 0所有回复 (6)
Do you mean you created a shortcut to firefox.exe and placed it into the Startup folder? Usually a shortcut contains both the command line and the home folder of the program so Windows can understand where to find everything. You could try copying your desktop Firefox shortcut and pasting that into the Startup folder and see whether it works any better.
Windows 10 won't let me place a shortcut to firefox.exe in the Startup folder. Dragging and dropping firefox.exe from the folder c:\Program Files\Mozilla Firefox into the Startup folder wouldn't work either, since Windows assumes I'm going to create a shortcut in the Startup folder, and won't allow it. The only way I could get firefox.exe into the Startup folder was to copy and paste firefox.exe from the c:\Program Files\Mozilla Firefox folder into the Startup folder.
Okay, since that doesn't work, there must be another way. How about a scheduled task? There was a thread a while back: how to start firefox on windows start up.
选择的解决方案
Setting up a scheduled task worked. Thanks!
Setting up a scheduled task did not work for me. Any pointers would be appreciated.
I tried an uninstall and fresh re-install. It worked.