If your computer is plugged into a wall socket that's switched on, even when it's in standby or sleep mode, it's vulnerable. That's because the lightning current can travel through the power cord or any other cable connected to your computer, says Phung. So if you think a storm is coming, you should physically disconnect your computer from the mains socket to protect it from a lightning surge, he says.