X
Tap here to go to the mobile version of the site.
Scheduled maintenance: Thursday, April 2, between 3pm and 5pm UTC. This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn’t solve your issue and you want to ask a question, we have our support community waiting to help you at @firefox on Twitter

Support Forum

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

Posted

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

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
Quote

Additional System Details

Installed Plug-ins

THIS DATA IS NOT APPLICABLE TO THE COMPUTER THIS QUESTION PERTAINS TO

  • Adobe PDF Plug-In For Firefox and Netscape 11.0.10
  • Shockwave Flash 24.0 r0
  • 5.1.41212.0
  • VLC media player Web Plugin
  • NPWLPG
  • Windows Presentation Foundation (WPF) plug-in for Mozilla browsers

Application

  • User Agent: Mozilla/5.0 (Windows NT 6.0; rv:52.0) Gecko/20100101 Firefox/52.0

More Information

Question owner

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?

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

Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8953 solutions 73374 answers

Helpful Reply

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.

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 <s>three</s> <u>four</u> 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

Was this helpful to you? 1
Quote

Question owner

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!

'''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

Was this helpful to you?
Quote

Question owner

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

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
Was this helpful to you?
Quote
Andrew
  • Moderator
326 solutions 4112 answers

Helpful Reply

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.

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.
Was this helpful to you? 2
Quote

Question owner

Thank you Andrew

much appreciated!

have a great day

Thank you Andrew much appreciated! have a great day
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8953 solutions 73374 answers

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.

''help4u [[#answer-1300124|said]]'' <blockquote> When I run '''cd %APPDATA%\Mozilla\Firefox''' the system returns: <br> ''The system cannot find the path specified.'' </blockquote> 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 <code>dir</code> that is normal.
Was this helpful to you? 1
Quote

Question owner

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

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
Was this helpful to you?
Quote

Question owner

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

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
Was this helpful to you?
Quote
Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.