Skip to content

Kupeta mikanda ne mabeji a mudimu adi kaayi malama, mafunda pa mutu anyi manyanguke

Nomba ya malu a tshimpitshimpi idi mishilangane bilondeshile ditunga. Dibeji edi didi dienza mudimu ne 911, nomba wa ditunga dia États-Unis ne dia Canada. Matunga makuabu a bungi adi ne nomba wa 112, 999 anyi nomba mukuabu. Keba nomba wa ditunga dienu.

Kukanga tshipungidi tshia mabeji 40 tshia Microsoft Word anyi tshilejelu tshia makuta tshia Excel pa kututa pa "Kulama", kutangila ordinatere webe unyanguka kumpala kua wewe kututa Ctrl + S, kulama mu mpukapuka tshilejelu tshia munda mutupu pa tshikandakanda tshinene tshia tshidimu tshishale, anyi kupeta "Word uvua mupeta tshilema pavuaye uteta bua kukangula tshikandakanda" dialog minite mikese kumpala kua tshikondo tshia ndekelu tshidi tshimueneka tshibi menemene. Bualu bua programe ya lelu ya dienza mudimu idi ne malu adibu bashintulule munda mua RAM buffers ne mu répertoires ya tshitupa tshîpi misokoka (AutoRecover .asd, .wbk, .tmp, ne UnsavedFiles), kuenza bualu bubi mu masekonde 60 a kumpala kudi mua kuenza bua programe eu ajimije mikanda ayi bua kashidi.

Nansha padi .docx, .xlsx, .pptx, anyi .odt tshikandakanda tshidi tshinyanguke bikole pa diske, mifundu yebe ne nomba ya dibeji dia mudimu kayena mijike nansha kakese. Modern Office Open XML (.docx, .xlsx, .pptx) ne OpenDocument (.odt, .ods) mikanda idi bushuwa mishindame .zip bintu bia kale bidi ne mikanda ya XML (word/document.xml anyi xl/worksheets/sheet1.xml). Nansha mudi tshilaminu tshia pambelu tshia ZIP tshikoseka bua dijimija dia nzembu anyi dikoka dia tshiamu tshia USB, udi mua kupatula 99 pa lukama ya prose ne formule yebe buludiludi mu tshikoso tshia XML mu minite mikese itanu.


Enza nunku mpindieu

  1. LEKELA kufunda mikanda mipiamipia, kuteka programe ya dipingaja, anyi kupingaja ordinatere webe. Bikala programe kampanda munyanguke anyi wewe muele "Kulama", mukanda wa tshitupa tshîpi wa dilongolola (.asd, .tmp, anyi -$ lock file) udi mu tshiamu tshieba tshia mudimu AppData anyi /tmp tshilaminu tshia bintu mpindieu. Pa biamu bia Solid-State (SSDs) ne TRIM enabled, saving large files or installing bloatware "document repair" tools onto the same drive will permanently zero out the unallocated flash blocks holding your deleted temp buffers.
  2. Biwikala anu mufunde pa mutu pa tshitupa tshia mukanda tshidi ne mushinga munda mua mukanda udi utshidi mubulula ne ufina Ctrl + S (Save), DO NOT close the window, press Ctrl + Z (Command + Z on Mac) repeatedly. In Microsoft Word, Excel, LibreOffice, Google Docs, and Apple Pages, clicking "Save" writes the current state to disk but does NOT clear the in-memory Undo stack as long as the document window remains open. Pressing Ctrl + Z 50 or 100 times will step backward right past your accidental save and restore the deleted paragraphs, which you can then copy into a new file.
  3. Before touching a corrupted .docx, .xlsx, .pdf, anyi .sqlite file, duplicate it twice (Copy 1 ne Copy 2) into a safe folder. Never run Microsoft Word's "Open and Repair", zip -FF, anyi sqlite3 .recover directly on your only original copy of a damaged file. Always work on a duplicate so that if a repair utility truncates an unreadable table, your original raw bytes remain untouched for deeper forensic extraction.
  4. Check the hidden UnsavedFiles directory in Microsoft Word, Excel, and PowerPoint immediately. Even when you explicitly click "Don't Save" on a brand-new or modified Office document, modern Microsoft Word, Excel, and PowerPoint silently retain a copy of the AutoRecover .asd snapshot inside %LOCALAPPDATA%\Microsoft\Office\UnsavedFiles for four days before deleting it. Open File > Info > Manage Document > Recover Unsaved Documents (or Recover Unsaved Workbooks in Excel) to grab it immediately.
  5. If you accidentally saved over a file stored in OneDrive, Google Drive, Dropbox, iCloud Drive, or SharePoint, restore it via Web Version History in 30 seconds. Cloud sync engines do not overwrite files destructively; every time Ctrl + S syncs to the cloud, the server appends a timestamped snapshot to the file Version History (retaining the last 25 to 500 versions for 30 days). Right-click the file -> Version History to restore the exact minute before the mistake.
  6. Keep perspective during high-stress academic, legal, or medical documentation emergencies. No lost spreadsheet or thesis is worth a physical health crisis. If you are trying to recover critical medical directives or emergency records during an active life-safety threat, prioritize human safety first and call your local emergency number (911 in the United States and Canada, 112 across the European Union, 999 in the United Kingdom, or see our nomba ya tshimpitshimpi tshilaminu).

Never pay 'Online DOCX/XLSX Repair Websites' or upload confidential legal, medical, or tax files to third-party cloud repair portals

Dozens of predatory websites rank at the top of search engines claiming to "Repair Corrupted Word & Excel Files Online." Most of these sites simply run the free open-source zip -FF anyi xmllint command on their server, show you a blurred preview of your own text, and demand 29 to 49 dollars in Bitcoin or credit card payments to download the XML file, while harvesting your confidential tax returns, passwords, or legal contracts on an untrusted foreign server. You can perform the exact same ZIP/XML extraction locally on your own computer in 60 seconds for free using the steps below.


Document & spreadsheet recovery triage decision tree

flowchart TD
    Start["Document Emergency: Unsaved, Overwritten, or Corrupted File"] --> Scenario{"Which Failure Just Happened?"}

    Scenario -->|"1. Clicked 'Don't Save' or App Crashed Before Saving"| UnsavedPath["Step 1: Check File > Info > Manage Document > Recover Unsaved Documents<br/>Step 2: Copy all .asd, .xlb, and .tmp files from AppData\Local & Roaming\Microsoft\Word/Excel<br/>Step 3:On Mac, check $TMPDIR/TemporaryItems and AutoRecovery folder"]

    Scenario -->|"2. Accidentally Overwrote File and Hit Save (Ctrl+S)"| OverwritePath{"Is the Document Window Still Open?"}
    OverwritePath -->|"Eyowa: Utshidi anu munzulula"| UndoNow["Fina Ctrl+Z (Cmd+Z) misangu ne misangu -> Kopa meyi adibu bapeta mu mukanda mupiamupia -> Lama bu"]
    OverwritePath -->|"Tòo: Ukadi mukanga"| VersionPath["Tshitupa 1: Tangila Cloud Version History (OneDrive, Google Drive, Dropbox, iCloud)<br/>Tshitupa 2: Pa Windows, tangila NTFS Volume Shadow Copies ('Previous Versions' / ShadowExplorer)<br/>Tshitupa 3: Pa Mac, tangila APFS Local Snats, Time, Machine, anyi 'TotRever' Tangila mishindu yonso'"]

    Scenario -->|"3. Mukanda udi ubenga kunzulula ('Mukanda munyanguke / malu adi kaayi mua kubala')"| CorruptPath{"Mmushindu kayi wa mukanda udi munyanguke?"}
    CorruptPath -->|"Modern Office (.docx, .xlsx, .pptx) anyi LibreOffice (.odt, .ods)"| ZipXML["1. Kulongolola mukanda -> Teta 'Kanzulula ne kulongolola' mu Word/Excel anyi kunzulula mu LibreOffice<br/>2. Shintulula dina dia kopi ku .zip -> Enza '7z x' anyi 'zip -FF' -> Kupatula muaku/mukanda.xml anyi xl/sharedStrings.xml"]
    CorruptPath -->|"Legacy Binary Office (.doc, .xls) or PDF (.pdf)"| BinaryFix["Patula meyi ku diambuluisha dia 'Recover Text from Any File' OR repair PDF xref table with 'qpdf --decrypt' / 'mutool clean'"]
    CorruptPath -->|"SQLite Database (.sqlite, .db) anyi CSV"| DBFix["Enza 'sqlite3 corrupt.db \".recover\"| sqlite3 fixed.db' to rebuild B-tree pages"]

Tshilejilu 1: Kupeta mikanda idi kayiyi milamibua (panyima pa kufina pa "Kulama" anyi pa dinyanguka dia programe)

Paudi wenza mudimu mu Microsoft Word, Excel, PowerPoint, LibreOffice, anyi Adobe apps, program udi ufunda AutoRecover snapshots (mu minite 10 yonso) ne temporary swap buffers (-WRDxxxx.tmp) to hidden system folders.

Exact hidden file paths for Unsaved & AutoRecover files across Windows, macOS, and Linux

Open a File Explorer, Finder (Cmd + Shift + G), or Terminal window and check these exact directories immediately before opening and closing the application multiple times:

Application & OS Exact Directory Path Containing Unsaved .asd, .tmp, and AutoRecover Files File Extensions to Look For
Microsoft Word, Excel & PowerPoint (Windows) 1. %LOCALAPPDATA%\Microsoft\Office\UnsavedFiles (Files where you clicked "Don't Save")
2. %APPDATA%\Microsoft\Word\ (or \Excel\ / \PowerPoint\)
3. %LOCALAPPDATA%\Temp\
.asd (AutoRecover Snapshot), .wbk (Word Backup), .xlb / .xar (Excel AutoRecover), -WRD*.tmp, -WRL*.tmp
Microsoft Word, Excel & PowerPoint (macOS) 1. -/Library/Containers/com.microsoft.Word/Data/Library/Preferences/AutoRecovery (replace Word with Excel anyi Powerpoint)
2. Session Temp Folder: Run open $TMPDIR in Terminal and open the TemporaryItems subfolder
AutoRecovery save of *.docx, .asd, -WRL*.tmp
LibreOffice Writer / Calc / Impress (Windows, macOS, Linux) Windows: %APPDATA%\LibreOffice\4\user\backup\
macOS: -/Library/Application Support/LibreOffice/4/user/backup/
Linux: -/.config/libreoffice/4/user/backup/ ne /tmp/lu*
.bak, .odt_0.odt, lu*.tmp
Apple Pages, Numbers & Keynote (macOS) 1. -/Library/Containers/com.apple.iWork.Pages/Data/Library/Autosave Information/
2. -/Library/Application Support/CloudDocs/session/containers/
.pages, .numbers, .key bipese bia bintu
Notepad++ & VS Code (Nansha bua tabs idi kayiyi milama) Notepad++: %APPDATA%\Notepad++\backup\
VS Code (Win): %APPDATA%\Code\User\History\ & %APPDATA%\Code\Backups\
VS Code (Mac): -/Library/Application Support/Code/User/History/
new 1@2026-..., tshikondo tshia JSON/bimfuanyi bia malu a kale a mifundu

PowerShell & macOS/Linux udi ne dîyi dimue bua kuangata mikanda yonso ya Office mpindieu

Pamutu pa kufina mu bipese dikumi bisokoka ku bianza, enza mudimu ne script wa dipandisha udi mua kubala anu bua kukopa tshionso tshidi tshishale .asd, .wbk, ne Biro .tmp tshikandakanda tshishintulula mu meba 48 apita mu tshilaminu tshia pa mesa eba:

  • Pa Windows (Wenza mudimu mu PowerShell):
    $RescueDir = "$env:USERPROFILE\Desktop\Document_Rescue"
    New-Item -ItemType Directory -Force -Path $RescueDir | Out-Null
    $SearchPaths = @(
        "$env:LOCALAPPDATA\Microsoft\Office\UnsavedFiles",
        "$env:APPDATA\Microsoft\Word",
        "$env:APPDATA\Microsoft\Excel",
        "$env:APPDATA\Microsoft\PowerPoint",
        "$env:LOCALAPPDATA\Temp"
    )
    Get-ChildItem -Path $SearchPaths -Include "*.asd","*.wbk","*.xar","~WRD*.tmp","~WRL*.tmp","*.docx","*.xlsx" -Recurse -Force -ErrorAction SilentlyContinue |
      Where-Object { $_.LastWriteTime -gt (Get-Date).AddHours(-48) } |
      ForEach-Object {
          Copy-Item $_.FullName -Destination (Join-Path $RescueDir ($_.LastWriteTime.ToString("HHmmss_") + $_.Name)) -Force
      }
    Write-Host "Copied all candidate recovery files to $RescueDir"
    
  • Pa macOS / Linux (Wenza mudimu mu Terminal):
    mkdir -p ~/Desktop/Document_Rescue
    find ~/Library/Containers/com.microsoft.* "$TMPDIR" ~/.config/libreoffice /tmp \
      \( -iname "*.asd" -o -iname "*AutoRecovery*" -o -iname "~WR*.tmp" -o -iname "*.bak" \) \
      -mtime -2 -exec cp -p {} ~/Desktop/Document_Rescue/ \; 2>/dev/null
    ls -la ~/Desktop/Document_Rescue/
    
  • Mushindu kayi wa kunzulula tshipeta .asd anyi -WRLxxxx.tmp file: Kokufina misangu ibidi pa .asd tshikandakanda mu File Explorer (Windows utu misangu mivule wamba ne kena mua kunzulula .asd buludiludi). Pamutu pa nanku, ela Microsoft Word -> tuaku pa File > Open > Browse -> shintulula tshitupa tshia fichier tshidi kuinshi ku dia balume bua kulua "All Files (*.*)" -> sungula .asd anyi .tmp tshikandakanda tshidi munda mua tshiebe Document_Rescue tshilaminu.

Tshilejilu 2: Kupingaja mikanda mifunda (paudi mulame mukanda muimpe ne mukanga programe)

Shi uvua mubulula tshikandakanda tshia ngondo mushala ku mpukapuka, mumbushe tshitupa tshia tab, tuaku pa Ctrl + S (Lama) pamutu pa Lama bu, ne ukadi mukanga programe, tshilaminu tshia diumusha tshidi mu lungenyi ntshijimine. Ino, ma filesystem a lelu ne sync clients adi alama bipese bia kale ku diambuluisha dia mishindu itanu:

1. Cloud Sync Version History (OneDrive, SharePoint, Google Drive, Dropbox, iCloud)

Shi tshikandakanda tshivua munda mua Desktop, Documents, anyi tshilaminu tshia mu matutu tshienza kudi OneDrive, Dropbox, Google Drive, anyi iCloud: - Microsoft OneDrive / SharePoint: Fina pa mukanda mu File Explorer (anyi kubuela mu onedrive.live.com) -> tuaku pa Muyuki wa mishindu. Fina pa tutotshi tusatu (...) ku luseke lua tshimanyishilu tshia dîba tshia kumpala kua tshilema tshiebe ne tuaku pa Restore. - Google Drive (nansha bua bena ditunga .docx / .xlsx mikanda milongolola ku diambuluisha dia Drive for Desktop): Fina pa mukanda udi mu drive.google.com -> Malu a mu tshikandakanda > Lama mishindu, anyi kangula mukanda ne ufina Ctrl + Alt + Shift + H bua kumona malu onso adibu bashintulule. - Dropbox: Fina pa mukanda -> Version history (udi ulama tshilaminu tshionso munkatshi mua matuku 30 too ne ku 180; nansha wewe mufunde mikanda 100 musangu umue, Dropbox Rewind udi upingaja mukanda mujima ku minite yonso). - Apple iCloud Drive & macOS Native Versioning (NSDocument Versions): Pa macOS, kangula tshikandakanda tshifunda pa mutu patshi mu Pages, Numbers, Keynote, TextEdit, anyi Preview ne tuaku pa File > Revert To > Browse All Versions... mu barre wa menu wa kuulu. macOS udi ulama tshilaminu tshia SQLite/chunked document version (/.DocumentRevisions-V100) pa tshiamu tshiebe tshia APFS nansha wewe kuyi wenza mudimu ne Time Machine.

2. Windows NTFS Volume Shadow Copies (Previous Versions ne ShadowExplorer)

Nansha pa muaba C: tshiamu tshidi katshiyi tshienza mudimu pamue ne ditutu nansha dimue, Windows utu wenza misangu ne misangu bimfuanyi bia tshiamu tshieba bidi anu bia kubala bidibu babikila ne: Volume Shadow Copies (VSS) padibu bapingaja bintu anyi padibu bashintulula bintu: 1. Tuaku ku dia balume pa mukanda udibu bafunde pa mutu pawu (anyi pa tshilaminu tshidi tshiwukuate) mu File Explorer -> fina pa Properties -> Previous Versions tab. 2. Bikala Previous Versions tab udi umueneka mutupu, KUIMANYI apu to: Windows 10 ne 11 batu misangu ya bungi basokoka bimfuanyi bia VSS bidiku mu File Explorer GUI padi volime ya mundidimbi itshidi anu misombe pa diske. 3. Fungula Administrator Command Prompt ne utangile ni mishindu ya mundidimbi idiku:

vssadmin list shadows
4. Biobi vssadmin list shadows udi ufunda umue anyi ya bungi HARDDISKVOLUME_SHADOWCopy volime (tshilejilu, \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy3), udi mua kusangisha tshimfuanyi atshi buludiludi mu tshilaminu tshia bintu tshiebe C: tshiamu tshia mashinyi bua wewe kumona mua kutshitangila ne kukopa mukanda webe uudi mufunda kumpala:
mklink /d C:\ShadowRescue \\?\GLOBALROOT\Device\HarddiskVolumeShadowCopy3\
Kukangula C:\ShadowRescue\Users\YourName\Documents\ mu File Explorer ne ukope tshitupa tshia kale tshia mukanda webe.

3. macOS APFS Local Snapshots (tmutil listlocalsnapshots)

Nansha padi tshiamu tshiebe tshia pambelu tshia Time Machine tshipatula mu tshilaminu tshia bintu munkatshi mua mbingu ibidi, macOS udi wenza nkayende APFS Local Snapshots ku dîba dionso buludiludi pa Mac SSD webe wa munda:

# List all hidden local APFS snapshots stored on your internal Mac SSD
tmutil listlocalsnapshots /

# Mount a local snapshot read-only to extract the pre-overwritten file
mkdir -p /tmp/apfs_rescue
sudo mount_apfs -s com.apple.TimeMachine.2026-10-31-093000.local /System/Volumes/Data /tmp/apfs_rescue
cp "/tmp/apfs_rescue/Users/$USER/Documents/MyContract.docx" ~/Desktop/MyContract_Recovered.docx


Tshilejilu 3: Kulongolola bintu binyanguke .docx, .xlsx, .pptx, ne .odt (The ZIP + XML Surgical Extraction Method)

Bua tshinyi mikanda ya biro ya matuku etu aa idi inyanguka? Kubanga na Microsoft Office 2007, .docx, .xlsx, ne .pptx mikanda (pamo na LibreOffice .odt, .ods, ne .odp mikanda) idi ki mikanda ya binaire umue to. Bionsu .docx anyi .xlsx mukanda udi bushuwa tshilaminu tshia PKZIP tshia tshibidilu tshidi ne mutshi wa tuzubu ne mikanda ya UTF-8 XML.

Padibu bumbusha tshiamu tshia USB kakuyi dipatuka, tshitupa tshia réseau tshidi tshipueka padibu balama, anyi Word unyanguka munkatshi mua difunda, ZIP Central Directory Header udi ku ndekelu menemene kua mukanda udi unyanguka, anyi tshimanyinu tshimue tshia XML tshidi tshibuela word/document.xml udi upanga kukanga. Microsoft Word ne Excel badi ne biamu bia XML bikole: nansha byte umue mu ZIP footer anyi XML schema kayi mulongolola bimpe, Word udi ubenga bua kunzulula mukanda mujima wa mabeji 50.

Tshitupa 1: Teta kumpala mishindu isatu ya parser idi kayiyi inyanguka

Misangu yonso enza kabidi mukanda webe munyanguke (Contract_Copy.docx) kumpala kua kuteta malu asatu aa:

  1. Microsoft Office Built-In "Open and Repair":
  2. Tangila Word, Excel, nansha PowerPoint -> tuaku pa File > Open > Browse (kufina pa fichier udi mu liste wa "Recent Files" to).
  3. Fina pa musangu umua pa tshikandakanda tshieba tshidi tshinyanguke bua kutshileja.
  4. Fina pa muele wa kuinshi (▼) ku muelelu wa dia balume wa [ Open | ▼ ] butone kuinshi ku dia balume dia kazubu ka diyukidilangana, ne usungula "Kangula ne kulongolola...".
  5. Mu Excel, pikala Repair mupangile, enza kabidi bualu ebu ne usungula "Extract Data" -> "Convert to Values" anyi "Recover Formules".
  6. Kanzulula tshidi tshinyanguke .docx / .xlsx munda mua LibreOffice anyi Google Docs:
  7. LibreOffice Writer and Calc (free, open-source at libreoffice.org) enza mudimu ne tshiamu tshia XML ne tshia ZIP tshidi tshitamba luse, tshidi katshiyi tshinyanguka kupita Microsoft Office. Mu misangu mitue ku 60 pa lukama idi Microsoft Word anyi Excel babenga bua kukangula mukanda udi munyanguke, udi unzulula tshintu tshimue atshi .docx anyi .xlsx mukanda udi munda mua LibreOffice udi unzulula mukanda mujima bimpe ne ukuanyishila bua kutua pa Mukanda > Lama bu bua kufunda mukanda mupiamupia udi umvuangana ne mikenji .docx anyi .xlsx kuteka.
  8. Mu Excel: Tangila selile ya mukanda wa mudimu munyanguke mu mukanda wa mudimu mupiamupia (dipatula dia ma link a pambelu):
  9. Shi tshintu tshinyanguke .xlsx anyi .xls mukanda wa mudimu udi unyanguka Excel dîba dionso diudi ukeba kumukangula, udi mua kupatula mishinga ya tshitupa tshia mudimu kuyi muanji kunzulula mukanda udi munyanguke:
  10. Kangula mukanda mupiamupia wa Excel.
  11. Mu kazubu A1, funda formule wa pambelu udi uleja Sheet1 wa mukanda webe munyanguke:
    ='C:\Users\YourName\Desktop\[CorruptedFile.xlsx]Sheet1'.A1
    
  12. Tudiomba Enter. Excel udi ubala tshitupa tshia BIFF/XML tshidi tshipatuka pa diske kayi uleja tablo, macro anyi mishindu mibi. Koka tshintu tshia kuwuja natshi mu milongo A kupitshila Z ne kupuekesha milongo 1,000 bua kupatula nomba yonso ne mulongo wa mifundu mu dibeji, pashishe funda selile yonso ne Paste Values ​​(Ctrl + Alt + V -> Values).

Tshitupa 2: Mushindu wa kupatula ZIP + XML (Udi upingaja 99% ya mifundu/nomba padi "Open and Repair" upangila)

Shi Office "Open and Repair" ne LibreOffice bipangile bualu .docx, .xlsx, .pptx, anyi .odt ZIP container is truncated, extract the internal XML files directly:

Anatomy of an Office Open XML (.docx / .xlsx / .pptx) mikanda ya kala

Mushindu wa mukanda wa pambelu Shintulula dina dia tshibandilu ku Mukanda wa XML wa munda udi ne mudimu webe mulelela What Else Lives Inside the Archive
Word Document (.docx) .zip word/document.xml (100% of body text)
word/header1.xml, word/footer1.xml, word/footnotes.xml
word/media/ (Every embedded photo, PNG, and JPEG at 100% original resolution)
Excel Workbook (.xlsx) .zip xl/sharedStrings.xml (All text strings in the workbook)
xl/worksheets/sheet1.xml, sheet2.xml (All numeric values, cell coordinates, and formulas)
xl/media/ (Embedded images)
xl/calcChain.xml (Frequently the file that corrupts, deleting calcChain.xml fixes many broken .xlsx files)
PowerPoint Deck (.pptx) .zip ppt/slides/slide1.xml, slide2.xml, etc.
ppt/notesSlides/notesSlide1.xml (Speaker notes)
ppt/media/ (All slide images, audio, and video clips)
LibreOffice (.odt / .ods) .zip content.xml (All document text, tables, and spreadsheet cells) Pictures/ (All embedded graphics)

Exact terminal / PowerShell commands to rebuild the ZIP archive and extract raw prose

  1. Wenza kopi wa mukanda munyanguke ne ushintulule dina dia tshitupa tshiawu ku .zip (Tshilejelu, BrokenThesis.docx -> BrokenThesis.zip).
  2. Kupatula ku bukole mikanda ya XML ne ya Media idi mishale kuyi utangila dinyanguka dia mutu wa ZIP:
  3. Kuenza mudimu ne 7-Zip (Windows / Linux / macOS) anyi zip -FF (macOS / Linux): Standard Windows Explorer ZIP extraction quits if the ZIP footer is damaged, whereas 7-Zip (7z x) ne Info-ZIP (zip -FF) tangila tshitupa ku tshitupa kubangila ku ntuadijilu kua mukanda ne upatule mukanda wonso udi kauyi munyanguke kumpala kua tshitupa tshia dikosa:
    # On macOS or Linux: Rebuild the damaged ZIP structure and extract everything
    zip -FF BrokenThesis.zip --out RepairedArchive.zip
    unzip -q RepairedArchive.zip -d Extracted_Contents/
    
    # Or using 7-Zip (extracts word/document.xml even if the end of the file is missing):
    7z x BrokenThesis.zip -oExtracted_Contents/
    
  4. Dilongolola dia lukasa dia Excel .xlsx Ma dosie (calcChain.xml & styles.xml kumbusha):
  5. Over half of corrupted Excel .xlsx files fail to open only because xl/calcChain.xml anyi xl/styles.xml is corrupted, while xl/worksheets/sheet1.xml ne xl/sharedStrings.xml are 100 percent intact.
  6. Inside Extracted_Contents/xl/, delete calcChain.xml, re-zip the contents of Extracted_Contents back into FixedWorkbook.xlsx, and open it in Excel (Excel automatically rebuilds calcChain.xml pa tshibandilu).
  7. Kupatula bikoso bikezuke, bidi bantu mua kubala mu mukanda mukosa word/document.xml (anyi content.xml):
  8. Nansha shi word/document.xml uvua mupangile tshitupa tshia njila bua dijimina dia nzembu, udi mukanda wa UTF-8 mupepele mudi tshikoso tshionso tshifunda mu <w:p> tags ne meyi onso adi munda <w:t>Your text here</w:t>.
  9. Enza mudimu wa mulongo umua wa Python (udi wenza mudimu pa Windows, macOS, ne Linux kakuyi diteka dia tshintu nansha tshimue) bua kumbusha bimanyinu bionso bia XML ne kuela bikoso biebe bikezuke mu Recovered_Prose.txt:
    python3 -c "
    import re, html, pathlib
    raw = pathlib.Path('Extracted_Contents/word/document.xml').read_text(encoding='utf-8', errors='ignore')
    raw = re.sub(r'</w:p>', '\n\n', raw)
    text = html.unescape(re.sub(r'<[^>]+>', '', raw))
    pathlib.Path('Recovered_Prose.txt').write_text(text, encoding='utf-8')
    print('Saved clean text to Recovered_Prose.txt')
    "
    
  10. Pa Windows PowerShell (bikala Python kayi muteka):
    $raw = Get-Content "Extracted_Contents\word\document.xml" -Raw -Encoding UTF8
    $text = ($raw -replace '</w:p>', "`r`n`r`n") -replace '<[^>]+>', ''
    [System.Net.WebUtility]::HtmlDecode($text) | Set-Content "Recovered_Prose.txt" -Encoding UTF8
    

Tshilejilu 4: Kupingaja PDF minyanguke, kale .doc/.xls mikanda, ne mikanda ya SQLite

1. Kulongolola mikanda ya PDF minyanguke (Damaged xref table / Failed to load PDF document)

Mukanda wa PDF udi ulama bintu bia pa mabeji kumbukila ku mutu kua mukanda too ne panshi, ne uteka Tableau de référence croisée (xref) ne %%EOF trailer udi kuinshi menemene kua mukanda udi wambila mubadi wa PDF bungi bulelela bua byte wa dibeji dionso. Shi diangatshila dia e-mail anyi dituma dia scanner dijika ku 98 pa lukama, xref tshitupa tshia kuinshi tshidi tshijimina ne Adobe Acrobat udi ubenga bua kukangula tshikandakanda, nansha mudi mabeji 98 pa lukama adi anu munda mua tshikandakanda. - Kulongolola kabidi PDF xref mesa adi enza mudimu nkayawu qpdf, mutool (MuPDF), anyi Ghostscript (gs):

# Method 1: qpdf (scans raw PDF objects and generates a brand-new xref table)
qpdf --ier-warnings BrokenFile.pdf RepairedFile.pdf

# Method 2: MuPDF mutool clean (salvages damaged PDF streams and fonts)
mutool clean -gggg BrokenFile.pdf RepairedFile.pdf

# Method 3: Ghostscript (re-renders surviving pages into a fresh PDF)
gs -o RepairedFile.pdf -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress BrokenFile.pdf

2. Legacy Binary .doc ne .xls Ma dosiye (Office 97 to 2003 OLE2 Compound Documents)

Mukulukulu .doc ne .xls mikanda ki mmikanda ya ZIP to; badi benza mudimu ne Microsoft's binary OLE2 Compound File Binary Format. Bua kupatula meyi mu tshintu tshinyanguke .doc kuteka: - Mu Microsoft Word, ndaku ku File > Open > Browse, shintulula tshitupa tshia fichier tshidi ku luseke lua kazubu ka dina dia fichier kumbukila ku All Word Documents too ne ku Recover Text from Any File (*.*), ne ukangula .doc kuteka. - Anyi pa macOS/Linux, enza antiword Broken.doc > rescued.txt anyi strings -n 6 Broken.doc > rescued.txt.

3. Kulongolola bintu bia SQLite binyanguke (.sqlite, .db, Malu a kale a tshikebelu, programe ya dibala dia makuta, Apple Notes, Quicken, Zotero)

Nkama ya programe ya ordinatere ne ya telefone idi ilama malu eba munda mua tshilaminu tshia SQLite 3 (.sqlite, .db, .sqlite3). Padi ordinatere ujimija bukole munkatshi mua dienza dia mudimu ne udi upeta Runtime error: database disk image is malformed (11): 1. Tshia kumpala: Lama -wal (Write-Ahead Log) ne -shm mikanda idi mu tshilaminu tshimue ne tshia .sqlite tshikandakanda paudi wenza kopi webe wa tshilaminu. Misangu ya bungi, mudimu webe wa lelu udi kauyi mulame udi munda database.sqlite-wal muindile bua kumutangila. 2. Enza mudimu ne SQLite muenza .recover engine (mubueja mu SQLite 3.29+, udi ubala mabeji a diske a 4KB B-tree nansha padi tablo munene wa schema munyanguke ne wenza kabidi tshilaminu tshia malu tshikezuke):

sqlite3 corrupted.db ".recover" | sqlite3 repaired.db
(Shi udi wenza mudimu ne version wa kale wa sqlite3, kunyema lubilu sqlite3 corrupted.db ".dump" | sqlite3 repaired.db).

4. Kupingaja mikanda ya Google idi kayiyi milamibue, mabeji a Google, ne meyi a formilere wa ku Enternete (IndexedDB & RAM Cache)

Netuambe tshinyi shi udi ufunda luapolo lule munda mua Google Docs, Notion, Confluence, anyi kazubu ka mifundu ka tshikebelu tshia ku Enternete paudi kuyi ku Enternete (anyi padi tshitupa kampanda tshijika kumpala kua kuenza mudimu ne ditutu)? - Google Docs / Sheets Offline Local Storage (IndexedDB): Paudi ufunda Google Docs anyi Google Sheets munda mua Chrome anyi Edge, tshikebelu tshiebe tshidi tshilama malu adi kaayi malelela munda mua tshilaminu tshieba tshia malu a Chrome (%LOCALAPPDATA%\Google\Chrome\User Data\Default\IndexedDB\https_docs.google.com_0.indexeddb.leveldb). Kumbushi bintu bia mu tshiamu tshia kutangila natshi bintu anyi kupatuka mu Chrome to. Pingaja ku Wi-Fi ne ulekela tshitupa tshidi tshikanga tshiunzulula munkatshi mua minite 2 bua muena mudimu wa panyima apete mushindu wa kufila mulongo wa LevelDB ku biamu bia mudimu bia Google, anyi kukopa meyi buludiludi ku tshiamu ku diambuluisha dia Ctrl + A -> Ctrl + C (anyi kutangila tshintu tshia DOM ku diambuluisha dia F12 Biamu bia mudimu bia bafundi -> Elements tab -> fina ku dia balume pa <div class="kix-page"> node -> Copy > Copy element). - Kupingaja meyi adi majimije mu tshitupa tshia tshikebelu tshikanga anyi tshipiatshipia: Wewe mukanga anyi mupingaje formilere wa ku Enternete (bu mudi dilomba dia makuta, tike wa diambuluisha anyi formilere wa dibuela mu lupitadi) kunyima kua wewe mumane kufunda dîba dimue, tuaku pa Ctrl + Shift + T (Command + Shift + T pa Mac) bua kunzulula tshitupa tshikanga diakamue, pashishe fina Ctrl + Z munda mua kazubu ka mifundu, anyi tangila tshilaminu tshia tshilaminu tshia tshikebelu kumpala kua kukanga mudimu wa tshikebelu.


Kuepuka: Longolola mikanda idi kayiyi mua kukuata bingoma bua kulama kabidi mudimu

Pita minite isatu bua kushintulula malu anayi aa mu programe yebe ya mudimu lelu:

  • Upuekesha tshitupa tshia Microsoft Office AutoRecover kumbukila ku minite 10 too ne ku minite 2: Mu Word, Excel, ne PowerPoint, kangula File > Options > Save, shintulula "Lama malu a AutoRecover kunyima kua [ 2 ] minite yonso", ne ujadike ne: "Lama version wa ndekelu wa AutoRecovered if I close without saving" mmuteka.
  • Enzela "Always create backup copy" mu Microsoft Word: Enda ku File > Options > Advanced > Save ne ela "Always create backup copy". Misangu yonso iudi ukuma Ctrl + S pa Report.docx, Word udi ulama nkayende version wa kumpala bu Backup of Report.wbk mu tshilaminu tshimue.
  • Kengula LibreOffice Automatic Backup Copies: Kangula Tools > Options > Load/Save > General ne ela "Always create a backup copy" ne "Save AutoRecovery information every 5 minutes".
  • Kuena ne bua kushintulula mikanda ya mushinga mukole buludiludi pa tshiamu tshia USB tshia mushinga mukesa tshidibu mua kumbusha: Misangu yonso funda mukanda au mu SSD webe wa munda (Documents tshilaminu tshikuatshisha kudi 3-2-1 tshilele tshia kulama].

Nkonko itubu bela misangu ya bungi

I worked on a Word document for five hours that I opened directly from an Outlook or Gmail attachment, clicked "Save", closed it, and now my changes are nowhere to be found. Where did my file go?

When you double-click an attachment inside desktop Microsoft Outlook or a web browser without clicking "Save As" to your Documents folder first, your computer saves the attachment into a hidden, randomized temporary cache folder (`%LOCALAPPDATA%\Microsoft\Windows\INetCache\Content.Outlook\` on Windows, or `~/Library/Containers/com.microsoft.Outlook/Data/Library/Caches/` on macOS). When you hit `Ctrl + S`, Word saves your five hours of edits into that hidden `Content.Outlook` sub-folder. Open Word immediately, check **File > Open > Recent** (or run the PowerShell/Terminal search script in Scenario 1 above to scan `INetCache` and `Temp` for all `.docx` files modified in the last 24 hours) and save a copy to your Desktop.

Why did my Word document turn into pages of squares, gibberish symbols, or `########` signs when I opened it from a USB flash drive?

Two distinct errors cause this symptom: (1) If the file shows solid pages of `########` or `NUL` (zero-byte `0x00`) characters in a hex editor (`HxD`), the operating system pre-allocated the file size on the FAT32/exFAT USB drive, **but the USB stick was unplugged before the write cache flushed the actual data blocks to flash memory**. In that case, inspect the computer where the file was written for surviving `.asd` / `.tmp` files, or run `chkdsk E: /f` on a copy of the USB drive to check `FOUND.000\FILE0000.CHK` orphan clusters. (2) If the file shows random ASCII symbols starting with the letters `PK` at the very top of page 1, your file is completely fine, you simply opened a modern `.docx` ZIP file using Word's "Recover Text from Any File" filter instead of the normal XML parser.

If I rename a corrupted `.docx` or `.xlsx` file to `.zip`, can I rescue the high-resolution photos and charts embedded inside the document?

Yes, and this is one of the fastest benefits of the Office Open XML format. Inside every `.docx`, `.xlsx`, and `.pptx` archive is a subfolder named `word/media/`, `xl/media/`, or `ppt/media/` (or `Pictures/` inside a LibreOffice `.odt` file). Unlike older binary `.doc` files that compressed images into proprietary streams, modern Office files store every inserted photograph, logo, and diagram as an individual, unencrypted `.png`, `.jpeg`, `.svg`, or `.emf` file inside that `media/` subfolder. Extracting the archive with 7-Zip recovers all embedded images at their full native resolution in seconds.

Can I use undelete software like Recuva or PhotoRec to recover an unsaved Word document that was never saved to disk even once?

Yes, provided you stop using the computer immediately. Even if you never pressed `Ctrl + S` on "Document1", Microsoft Word and LibreOffice still write temporary swap and AutoRecover files (`.asd` and `~WRDxxxx.tmp`) to your storage drive every few minutes once the document exceeds the small RAM buffer. However, if you live on a modern SSD with `TRIM` enabled and close the app properly, those deleted temp blocks may be trimmed quickly, so always copy the live `%LOCALAPPDATA%\Microsoft\Office\UnsavedFiles` directory **before** running a full-disk carver. For deleted files that were previously saved, follow our [accidental file deletion and formatted drive recovery](accidental-file-deletion-formatted-drive-and-photo-recovery.md) guide.


Malu adi apetangana


Miaba mifumina

  • Ecma International & ISO/IEC (International): ECMA-376 / ISO/IEC 29500 Standard: Office Open XML File Formats (Open Packaging Conventions ZIP Container and WordprocessingML / SpreadsheetML Specifications).
  • OASIS (Organization for the Advancement of Structured Information Standards): OpenDocument Format (ODF) v1.3 Specification for Office Applications (.odt, .ods, .odp XML Package Architecture).
  • Microsoft Learn Official Documentation: Mushindu udi Word wenza ne upingaja AutoRecover (.asd) ne wa tshitupa tshîpi (-WRD*.tmp) Mikanda, ne Dijikija dia bilumbu bia mikanda minyanguke mu Word ne Excel.
  • SQLite Consortium Official Documentation: Dinyanguka dia tshilaminu tshia bintu, difunda dia kumpala (-wal), ne Kuenza mudimu ne .recover CLI Command on Damaged B-Tree Files.
  • Adobe / ISO 32000-2 Specification: Portable Document Format (PDF 2.0) Cross-Reference (xref) Mulongo wa mesa ne dipingaja dia musulu.