- Open Task Manager. There are a number of ways you can do this:
- Right-click on an empty space on the taskbar and click Task Manager or Start Task Manager.
- Press Ctrl+Shift+Esc.
- Press Ctrl+Alt+Delete.
- In the list of Applications or Processes, click on the name of your web browser.
- Click End Task. If you are asked if you want to wait for the program to respond, click Close the program.
- In some workplaces, access to Task Manager may be restricted by your network administrator. Contact your IT department for help.
Remove Ransomware If your PC is locked
Method 1: Use the Microsoft Safety Scanner in safe mode first, download a copy of the Microsoft Safety Scanner from a clean, non-infected PC. Copy the downloaded file to a blank USB drive or CD, and then insert it into the infected PC. Try to restart your PC in safe mode:
- In Windows 10
- In Windows 8.1
- In Windows 7
- In Windows Vista
- In Windows XP
Method 2: Use Windows Defender OfflineBecause ransomware can lock you out of your PC, you might not be able to download or run the Microsoft Safety Scanner. If that happens, you will need to use the free tool Windows Defender Offline:
- Download Windows Defender Offline
- See our advanced troubleshooting page for more help.
Steps you can take after your PC has been cleanedMake sure your PC is protected with antimalware software. Microsoft has free security software that you can use:
- If you have Windows 10 or Windows 8.1, your PC comes with antimalware software: Windows Defender.
- If you’re using Windows 7 or Windows Vista, you should install antimalware software, such as Microsoft Security Essentials.
- You can update Microsoft security software on our updates page.