為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Remove master password causes loss of profile, and resets account Information.

  • 15 回覆
  • 3 有這個問題
  • 3 次檢視
  • 最近回覆由 Matt

more options

Using Thunderbird 45.2.0, I was continually asked "Enter Master Password" when sending an e-mail message for the first time, during a session, (I had set it for security suggestions), however got frustrated that it was not needed since this is a single user computer.

Reading the article on "Setting Master Password" in the Mozilla Support website, leads one to believe that removing the password, keeps the data intact, and just removes the requirement for a master password.

Not quite.

AFTER Removing the password (known), and restarting Thunderbird after a cold shutdown caused the ENTIRE PROFILE to be obliterated and a new Profile created at the next time running Thunderbird 45.2.0/

NOW I have to re-build profile, and have to manually change profile.ini to point to the correct path for the file folders.

How do I get my Thunderbird (45.2.0) to recognize my old data and profile.

I attempted to find and copy using MozBackup to copy the profile to a different folder (Temporary), and restore, but it failed to detect my 12 e-mail accounts.

Anyone ever tried to remove the master password, and get a corruption or similar, with the 'default' profile?

Using Thunderbird 45.2.0, I was continually asked "Enter Master Password" when sending an e-mail message for the first time, during a session, (I had set it for security suggestions), however got frustrated that it was not needed since this is a single user computer. Reading the article on "Setting Master Password" in the Mozilla Support website, leads one to believe that removing the password, keeps the data intact, and just removes the requirement for a master password. Not quite. AFTER Removing the password (known), and restarting Thunderbird after a cold shutdown caused the ENTIRE PROFILE to be obliterated and a new Profile created at the next time running Thunderbird 45.2.0/ NOW I have to re-build profile, and have to manually change profile.ini to point to the correct path for the file folders. How do I get my Thunderbird (45.2.0) to recognize my old data and profile. I attempted to find and copy using MozBackup to copy the profile to a different folder (Temporary), and restore, but it failed to detect my 12 e-mail accounts. Anyone ever tried to remove the master password, and get a corruption or similar, with the 'default' profile?

所有回覆 (15)

more options

> Reading the article on "Setting Master Password" in the Mozilla Support website, leads one to believe that removing the password, keeps the data intact, and just removes the requirement for a master password.

Indeed, it is only supposed to removed the master password.

Which of these article did you use for reference?

You apparently are knowledgable and viewed the thunderbird profile using Windows. What exactly do you see in %APPDATA%\Thunderbird\Profiles ? And what are the contents of profiles.ini ?

more options

Wayne Mery said

Which of these article did you use for reference?
What exactly do you see in %APPDATA%\Thunderbird\Profiles ?  

>Two Folders and no files [keyfilename].default

%APPDATA% = C:\Users\[MachineName-Username]\AppData\Roaming\

And what are the contents of profiles.ini ?

由 Richard_416282 於 修改

more options

Apaprently formatting is obliterated in these replies : --- What exactly do you see in %APPDATA%\Thunderbird\Profiles ?

>Two Folders and no files

[UserCode].default

%APPDATA% = C:\Users\[MachineName-Username]\AppData\Roaming\

And what are the contents of profiles.ini ?

more options

The reference used for the "Master Password" function was

Mo\illaZine Master Password

more options

Lets start again. I really can not follow this

On your keyboard Press + R In the run box type %appdata%\Thunderbird\profiles.ini Please copy the content of that file to a reply message here on the forum. In Notepad press Ctrl+A then Ctrl+C In the reply on the forum Press Ctrl+V it paste in the text.

again

+ R In the run box type %appdata%\Thunderbird\profiles

Please take a screen shot of what shows in Windows explorer. and upload the resultant image so we can see what folders actually exist.

由 Matt 於 修改

more options

OK, for Matt:

Before the corruption the profiles.ini file was in its usual place.

After the corruption, the profiles.ini was eviscerated/deleted/regenerated.

The Files are still there, but I need to rebuild profiles.ini.

After the corruption, a new profiles.ini was generated after a restart.

I do not post system internal stuff on the internet. Thank you. But this is a representation of the file as it stands now.

[General] StartWithLastProfile=0

[Profile0] Name=default IsRelative=1 Path=Profiles/[redacted-1].default

[Profile1] Name=newprofile IsRelative=1 Path=Profiles/[redacted-2].newprofile

[Profile2] Name=Recovery IsRelative=1 Path=Profiles/20160729 Default=1

[Profile3] Name=2016-AugustRecovery IsRelative=1 Path=Profiles/[redacted-3].2016-AugustRecovery

--- Attached is the screen shot requested, of AppData/thunderbird/profiles.

and the root of that directory has the "profiles.ini" file in it,

however, that file got corrupted, and the rest of the "profile" components needs to be re-built from a back-up from about 3 weeks ago.(latest i have).

see the date of creation for the folder ...[redacted-1]default.

This is the date that I installed Thunderbird on this PC. [see screen shot #2] two folders and profile.ini

The original folder size of the default profile was 5 GB. and had 12 different e-mail accounts. The largest was the default folder.

由 Richard_416282 於 修改

more options

Well as you have redacted the information you will have to sort out for yourself which entry should have the default associated with it.

So assuming you know which actually contains the profile you want. Start the profile manger and make it the default

the profile manager is started using the command line option -ProfileManager

See here for examples https://developer.mozilla.org/en-US/docs/Mozilla/Command_Line_Options

more options

When the default profile, is selected, None of the Original Default Accounts show up, and Thunderbird asks to set up an e-mail account or use an existing e-mail account like an isp e-mail.

Right now am in the process of re-building the profile using the name "2016 August Recovery" to use in the interim, untill all of the components can be identified and recovered.

Is there a specific format the 'profiles.ini need to be in other than the same match as shown in the text above?

由 Richard_416282 於 修改

more options

Obviously redacted-1 or redacted-2 are your correct default. Give you have four profile and you have excluded the other two as wrong.

Why you trying to rebuild anything is beyond me.

more options

Profile_folder_-_Thunderbird points to a fatal flaw in the thunderbird code, that re-builds the profile.ini file when it cannot read the existing file.

from the paragraph on profiles.ini:

[blockquote] Thunderbird uses the profiles.ini file to find the location of your profiles, and to determine which profile is the default profile. If you're using Windows the file is located in the parent of the "Profiles" folder. It can be edited to move your profile. If it's deleted, a new profiles.ini file will be created and a new default profile folder created when Thunderbird starts.

This file is the reason why you can't just copy a profile into the "profiles" folder and have Thunderbird discover it. /blockquote

this is the reason it has to be re-built .

IF i do not re-build the profiles.ini, and other files that Thunderbird needs to operate , I will not be able to restore my data to just before the corruption that occurred when I removed the master password from the profile(s).

-R

more options

the process that is described in this link from MozillaZine is similar:

http://kb.mozillazine.org/Recovering_a_profile_that_suddenly_disappeared

and is a path to restore a corrupted profile.

more options

Using the profile manger to create a new profile pointing the location to that folder containing the "lost" profile data fixes the issue without any messing about.

I see nothing here that would indicate the original profile is damaged in any way, not have you said anything to indicate that. Thunderbird just needs to be told where to find it.

more options

And How does one stop the system from asking to re-build the default E-mail account, and overlay the existing account data? See Image1 and Image2

more options

After copying the data from the former profile over to the "newProfile" area, and restarting Thunderbird and pointing to the 'newProfile' resulted in TB asking to re-build the account.

After picking a 'generic' . "data@google.com", TB looks up the domain name "google.com", and tries to re-configure the account for use with that particular Internet Service Provider (I.S.P.). The end result: Image3 shows the window that appears after.

more options

Now you have done it your way.... how about having a look at the prefs.js file in your backup compared to what is in the default. My guess is it may be a lot smaller or missing entirely.