Cut the network, keep the power
- Pull the Ethernet cable from the affected machine.
- Turn Wi-Fi off on the device.
Do not hold the power button or pull the plug.
Shutting down wipes memory, which holds the traces an investigator needs to identify the malware.
This stops ransomware reaching other machines and stops data leaving, and it costs one cable.