Search 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.

Learn More

Windows10 Won't Boot & Won't Restore - Need To Recover My Mozilla Profile VIA Command Line

  • 9 replies
  • 1 has this problem
  • 65 views
  • آخر ردّ كتبه help4u

more options

After following a support document on editing system registry (the document suggested a full registry export in opposition to the chosen registry key export which does no good when in my situation using Windows 'reg import' can not be done using the full registry backup) to restore functionality of my Seagate USB Backup Plus Windows10 will not boot and I fear that I am going to have to start from scratch and so I wanted to ask this question in preparation for the worst possible scenario.

I am chronically reliant upon being able to close Mozilla having faith that it will always restore my last session(s) of all open tabs and their locations successfully EVERY TIME ... now that I may have to start from scratch with my OS, I am desperate to recover my Mozilla profile and I am in great hopes, that recovering the profile will likewise have my last session data to be restored once I get Windows10 running again, because I will really be in a pickle if I lose my open tabs!

So my questions are:

1: Is it possible to recover the profile including the very important "Restore Last Session" where all open tabs of the last session exists?

2: I will be retrieving the files VIA Command Line. I would like to be certain that I am retrieving the correct file(s) from the correct file location(s). Can someone provide the Mozilla profile folder locations and names.


Thanking you in advance for your time and knowledge

Best Regards

Chosen solution

help4u said

When I run cd %APPDATA%\Mozilla\Firefox the system returns:
The system cannot find the path specified.

What if you try

cd %APPDATA%

That is shorthand for the full path, which is:

cd C:\Users\username\AppData\Roaming

I suppose if your target is not the C drive, then you'll need to use the full path approach. Note: AppData is a hidden folder, so if you don't see it in a dir that is normal.

Read this answer in context 👍 1

All Replies (9)

more options

scammers abound on this site!

the user profile "kamefom919" left a message with a phone number (scam phone number) posing as Mozilla Support and over night that post was deleted, I called the number for fun, I knew it was not Mozilla as the phone was answered by someone that sounded as they just woke up and dropped the phone on the floor ... once I pinned him down with questions of who he was and what he knows of Mozilla his response was to tell me to "F*** OFF" followed by ad hominem and pejorative attacks.


This really sucks, I thought there would be better control at Mozilla' support?

Modified by Andrew

Helpful?

more options

Hi help4u, sorry to hear about your scammer experience. We've had a number of "844" number replies recently; maybe we need to block replies/messages containing those digits?

Could you try this:

(1) Open the Command Prompt (cmd.exe)

(2) Type or paste this at the prompt and press Enter to execute it:

cd %APPDATA%\Mozilla\Firefox

(3) To copy just selected session history files from all profiles to a removable storage drive -- let's call it "E" -- you could run each of these three four command lines:

xcopy *sessionstore.jsonlz4 E:\sessions /H /S /I
xcopy *recovery.jsonlz4 E:\sessions /H /S /I
xcopy *recovery.baklz4 E:\sessions /H /S /I
xcopy *previous.jsonlz4 E:\sessions /H /S /I

Each of those may take a long time to run, especially if you have multiple profiles.

If you want everything, copy all of the contents of the Firefox folder out.

Modified by jscher2000

Helpful?

more options

Thank you so very much jscher2000 ... for such a high quality response!

I will run the commands in just a few moments and ping you again.

THANK YOU, YOU ROCK!

Modified by help4u

Helpful?

more options

Good day jscher2000

I just got a chance to get back to this task.

When I run cd %APPDATA%\Mozilla\Firefox the system returns:

The system cannot find the path specified.


Can you advise me please?

Thank you Best Regards

Helpful?

more options

help4u,

Just an FYI, I removed the phone number in your reply, so if other users find this question thread, they won't see the number and attempt to call it.

Thanks.

Helpful?

more options

Thank you Andrew

much appreciated!

have a great day

Helpful?

more options

Chosen Solution

help4u said

When I run cd %APPDATA%\Mozilla\Firefox the system returns:
The system cannot find the path specified.

What if you try

cd %APPDATA%

That is shorthand for the full path, which is:

cd C:\Users\username\AppData\Roaming

I suppose if your target is not the C drive, then you'll need to use the full path approach. Note: AppData is a hidden folder, so if you don't see it in a dir that is normal.

Helpful?

more options

Thank you jscher2000

cd %APPDATA% appears to be the problem, excellent, I will access

C:\Users\username\AppData\Roaming and run the commands you provided yesterday.


Thank you so very much

Helpful?

more options

Thank you so much jscher2000

AWESOME! It worked like a charm!

I will do as you have instructed me and I will copy all of the contents of the Firefox folder out of Roaming.

Thank you so much for your time and sharing your knowledge of Mozilla

Thank you Best Regards

Helpful?

اطرح سؤالا

عليك الولوج إلى حسابك للردّ على المشاركات. من فضلك اطرح سؤالًا جديدًا لو لم يكن لديك حساب بعد.