Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

How do you delete a profile using commandline

  • 5 件の返信
  • 1 人がこの問題に困っています
  • 173 回表示
  • 最後の返信者: ikhalil
  • 解決済み

How do I use commandline to remove a profile. I know how to do it via the profile manager but need to automate it via commandline

How do I use commandline to remove a profile. I know how to do it via the profile manager but need to automate it via commandline

選ばれた解決策

You can only create a profile using the command line, you can't remove a profile including files. Since removing a profile involves updating profiles.ini and possibly removing files in two locations (AppData\Roaming and AppData\Local) you will likely have to use the Profile Manager to remove a profile easily and properly. You can either use the Profile Manager or use the about:profiles page to manage profiles.

この回答をすべて読む 👍 0

すべての返信 (5)

See if this is what your looking for : https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

Please let us know if this solved your issue or if need further assistance.

There seems to be no option to delete profile in https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

Maybe this one then (sorry do not have time o read them all) http://kb.mozillazine.org/Bypassing_the_Profile_Manager


Please let us know if this solved your issue or if need further assistance.

選ばれた解決策

You can only create a profile using the command line, you can't remove a profile including files. Since removing a profile involves updating profiles.ini and possibly removing files in two locations (AppData\Roaming and AppData\Local) you will likely have to use the Profile Manager to remove a profile easily and properly. You can either use the Profile Manager or use the about:profiles page to manage profiles.

I found removing the files worked fine and recreating it with -CreateProfile option worked