# We recovered a bar’s POS when Windows would no longer boot

> A bar lost its POS to a Windows failure. Here is how we recovered its data, rebuilt the computer and verified it with AI and our own tools.

A bar’s computer showed the message “Automatic Repair couldn’t repair your PC”. Without that machine there are no payments, no receipts and no price list. This is what we did, using artificial intelligence and our own tools, to give the business back without losing its data. In short: we read the damaged disk without making it worse, rescued the database of the management software, rebuilt the computer in a virtual environment and wrote it to a new SSD with full verification. The client is already working with it. We also generated a digital menu in PDF from the POS’s own data. The case in numbers ItemFigure POS files rescued6,454 (≈ 2 GB) Unreadable on a 60 GB disk180 KB Bad sectors on the new SSD0 Products on the digital menu202 The problem: a bar can’t wait The POS computer started up, tried to repair Windows, failed and started over. Everything important was inside: the hospitality management software with its databases (sales, products, prices by bar, dining room and terrace) and the receipt printer configuration. Without the data there is no history and no price list. And without the computer, the bar can’t take payments normally. First step: don’t make anything worse We connected the disk to another computer as an external drive. Windows flagged it as damaged, and a read-only check showed thousands of unreadable file records. The temptation is to run an automatic repair. We didn’t, because repairing a disk with unstable reads can erase precisely the records it can’t read. A mistake that taught us something: when we copied files directly from the damaged disk, the PC froze. Every failed read locks up Windows. We stopped immediately and set a rule: never work on the original. Diagnosis: is the SSD failing or is it logical corruption? The SSD’s SMART reading said something curious: “good” health at 94% and a single reallocated block. But the unexpected power loss counter stood at 300, with about 25,000 hours of use. SMART indicatorValue Unexpected power losses300 Reallocated blocks1 Power-on hours≈ 25,000 h Conclusion: the problem was logical corruption caused by power cuts and sudden shutdowns, not an SSD about to die. A good diagnosis avoids replacing parts that don’t need it and points to the real cause, which is what must be prevented. A copy that survives damaged sectors The standard tool for converting the disk gave up without showing any error when it hit an unreadable sector. So, with the help of AI, we wrote our own script on the spot that: reads the disk in 1 MB blocks; retries in 4 KB chunks when a read fails; fills what can’t be read with zeros and keeps a log of the damaged areas; can be stopped and resumed. Result: 60 GB copied in 5.5 minutes, with only 180 KB unreadable (0.0003%). Repairing in a virtual lab We mounted the copy in a virtual machine and only there did we run the repair, with no risk to the original. The file table and 326 orphaned files were recovered. But Windows still wouldn’t boot. We ruled out causes one by one: the frozen screen came from the virtual machine’s graphics driver, and the hung boots from its paravirtualization. With that fixed, a clean installation booted fine, which proved that the client’s Windows copy was really damaged. The system file repair tools got stuck for more than 20 minutes without progress. For technicians chkdsk /f was used on the copy (never on the original), vmsvga as the graphics controller and --paravirtprovider none in VirtualBox. sfc /scannow and offline DISM /restorehealth hung (DISM at 44.8%). Part of the 180 KB lost probably fell inside system files. Decision with the technician: stop insisting and reinstall a clean Windows, keeping identity and data. Leaving the computer as it was Without booting it, we read the registry of the damaged Windows to get the original computer and user names, and did an unattended installation of Windows 10 Pro with the same details. Then: We transferred the management software (1.9 GB, 6,454 files) over an internal local network, exposing nothing to the Internet. We reproduced its original startup: two database servers plus the POS, with automatic start. We opened the firewall for private networks only. We installed the receipt printer drivers that were compatible with Windows 10. The acid test: the POS opened its main menu with the databases connected. Verifying before delivery We wrote the image to a 240 GB SSD with our own writer with safeguards: it only writes if there is exactly one SSD of the expected model and size that is not a system or boot disk. Then came verification of random blocks, signing of the partition table and reading of empty blocks. The story of the 79 GB When checking the space, the partition showed 79.3 GB used although the real image was about 20 GB. The “empty” blocks of the image had not been zeroed and kept remains of the previous copy. We added a mode that fills those blocks with zeros and, after repairing it, the used space dropped to 19.3 GB with a clean check. MomentSpace used Before79.3 GB After19.3 GB What we learned: mistakes happen, the method catches them. Always verify, measure before and after. What the AI did and what the technician did The AI (Claude Code)The Bytechip technician Analyze logs, SMART data and database structureConnect the disk and provide the ISO and the hardware Write custom tools in minutes (copy, writer, verifier)Run with administrator rights every operation that writes to physical disks Automate the virtual machine and rule out hypothesesDecide when to stop repairing and reinstall Extract the POS data and lay out the menuApprove every destructive action and review results Our principle: the AI proposes and runs what is safe and reversible; whatever could erase data is launched by a person. Always with verification afterwards. Bonus: the digital menu that came out of the POS data With the products, categories and the three price lists (bar, dining room and terrace) from the software itself we generated a 5-page PDF menu with 202 products, with accents and typos fixed and duplicates resolved. An extra deliverable the client can print or share. How to avoid it happening to you A UPS for the POS: the root cause of this case was sudden power cuts. Automatic daily backup, outside the computer. Regular check of the SSD’s health (SMART reading). If it fails, touch nothing. Every restart and every automatic repair can make it worse. Call us first. See other jobs in our success stories. Frequently asked questions Can data be recovered if Windows won’t boot? Yes, in most cases. The disk is usually healthy and can be read from another computer without booting the damaged system. What should I not do with a disk that shows errors? Don’t run repairs (chkdsk /f) and don’t keep turning the computer on: information is lost. First the disk is copied and the copy is repaired. Is a failing SSD always unrecoverable? No. Many failures are logical (power cuts, file system corruption) rather than physical. Why reinstall Windows instead of repairing it? When system files are damaged, repairing can take hours and doesn’t guarantee it will boot. Reinstalling while keeping data and settings is faster and safer. How do I prevent it from happening to my POS? With a UPS, an automatic daily backup outside the computer and a regular check of the SSD’s health. Is your POS not booting? Call us before touching anything. The less the disk is touched, the more data is recovered. Tell us about it in the contact form and we will review it with you, no strings attached. Real case. The client’s data has been anonymized.
