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

Søg i Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Læs mere
Løst Arkiveret

How do you delete a profile using commandline

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
Læs dette svar i sammenhæng

Valgt løsning

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.

Alle svar (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.

Valgt løsning

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