That malware will be remove using an offline method.
Using another computer and a USB disk, create a Kaspersky rescue disk.
https://support.kaspersky.com/14226
This article has the download link and the instruction to create a bootable USB disk.
After that, you must boot your computer using Kaspersky Rescue Disk, update the antivirus database and run a full scan.
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.