Monday to Friday, 9am to 5.30pm 0118 359 2220 Talk to us now from your browser

Ransomware: files will not open and there is a note

Ransomware spreads from the first computer to everything it can reach: shared drives, servers, synced folders and backups that are still connected. The first job is to stop the spread without destroying the evidence. Then you work out what you can restore, who you must tell, and whether anything was stolen as well as locked.

Use this when: files will not open or have a new extension, a ransom note has appeared on a screen or in a folder, or several people suddenly cannot reach shared files.

Last checked 27 November 2026. Reporting routes are checked against the official sites on that date.

Do now: the first 15 minutes

  1. Disconnect, do not switch off. Unplug the network cable and turn off Wi-Fi on any computer showing the note or odd files. Leave it switched on unless your IT support or insurer's team says otherwise: switching off can destroy evidence of how they got in.
  2. If more than one computer or a server is affected, disconnect the office from the internet at the router, and unplug any backup drive or storage box (NAS) that is still connected.
  3. Photograph the ransom note and the strange file names with a phone. Do not reply to the criminals or visit any link in the note.
  4. Call for help. Phone your IT support and, if you have cyber insurance, the insurer's incident line. Many policies require you to use their response team and to tell them before you spend money.

In the first hour: stop it spreading and protect what is left

  1. Find out how far it has gone. List which computers, shared drives and servers have locked files, and when people first noticed. Check OneDrive and SharePoint too: files in a synced folder are locked in the cloud as well.
  2. Protect your admin accounts. From a computer you know is clean, change the passwords of your Microsoft 365 and other admin accounts, and in the Microsoft Entra admin centre choose Revoke sessions for them (some apps can keep working for up to an hour). Check their sign-in logs for anything you do not recognise. Attackers often get in through a stolen password before they run ransomware.
  3. Keep your backups out of reach. Do not reconnect a backup drive or restore anything until the infection is found and removed, or the backup may be locked too.
  4. Report it. In England, Wales and Northern Ireland, call Report Fraud's 24/7 line for organisations under attack on 0300 123 2040; in Scotland, call Police Scotland on 101. Report a significant incident to the NCSC as well.
  5. Look for a free decryptor. The No More Ransom project, run by police forces and security companies, publishes free decryption tools for some ransomware. Its Crypto Sheriff page identifies the type from the note or a locked file.

Today: decide, restore and tell people

  • Assume data was stolen. Most ransomware gangs now copy data before they lock it, then threaten to publish it. If personal data was on the affected systems, read our data breach playbook: the ICO deadline is 72 hours from when you become aware. Personal data locked by ransomware is a personal data breach even if you can restore it from backup: whether you must report it depends on the risk, and you must record it either way.
  • On paying. The NCSC and the police do not encourage paying. Payment does not guarantee you get your files back or that stolen data is deleted, and paying a group under sanctions can be a criminal offence. Do not pay, or promise to, without speaking to your insurer, the police and a legal adviser.
  • Restore from clean copies. Infected computers are wiped and rebuilt, not cleaned. Restore files only from a backup you have checked is clean. For files in OneDrive or SharePoint, Microsoft 365 can roll a whole OneDrive or document library back to a time in the last 30 days: in OneDrive on the web, Settings, then Restore OneDrive; in a SharePoint library, a site owner can choose Settings, then Restore this library.
  • Tell staff what to say. Customers and suppliers may hear about it. Agree one simple message and who gives it.

Who to tell

WhoWhenHow
Your bankStraight away, if money has gone or a payment is pendingThe fraud number for your business account, from your card, statement or online banking. 159 also puts you through to your bank, but it is meant for personal accounts
Report Fraud (England, Wales, Northern Ireland)Fraud or cyber crime. 24/7 line for organisations under attackreportfraud.police.uk or 0300 123 2040. It replaced Action Fraud in January 2026
Police ScotlandFraud or cyber crime in ScotlandCall 101
The ICOWithin 72 hours of becoming aware of a personal data breach that is likely to put people at risk. You can report in stagesico.org.uk/report-a-breach or 0303 123 1113. See our data breach playbook
The NCSCA significant cyber incident affecting your organisationreport.ncsc.gov.uk. Not sure where to report? gov.uk/report-cyber
Your insurerAs soon as you can, if you have cyber insurance. Many policies have a notification deadline and an incident lineThe number in your policy

Do not

  • Switch off, wipe or rebuild computers before your IT support or insurer's team says so. That destroys the evidence of how they got in.
  • Contact the criminals or pay before you have spoken to your insurer and the police.
  • Reconnect backup drives or restore files while the infection may still be active.
  • Rely on email to coordinate if your Microsoft 365 accounts may be affected. Use phones.

Afterwards: make the next one fail

  • Backups that ransomware cannot reach. At least one copy offline or immutable, and a restore tested every few months. Microsoft 365 data needs its own backup: backup and disaster recovery.
  • Close the usual ways in. MFA on every cloud account, admins first; no remote desktop open to the internet; critical and high-risk security updates installed within 14 days. These are Cyber Essentials controls: Cyber Essentials.
  • Detection on every device. Microsoft Defender for Business, included in Microsoft 365 Business Premium, can spot and stop ransomware behaviour: what Business Premium gives you.
  • Practise. Walk through this page with the people who would be called, and write down who decides about paying, restoring and telling customers.