Datalock Virus


Datalock is a Ransomware infection which aims to encrypt your files with a strong algorithm. Datalock is traveling across the web mostly through phishing emails and their malicious attachments.

Datalock ransom note

The Datalock virus ransom note

It can be a terrifying experience to get infected with a Ransomware such as Datalock. The fact that your computer has been compromised and that your personal or professional files have been rendered inaccessible can be devastating. But even more intimidating could be the fact that you have to pay a ransom to access your information again.

The process that viruses such as Datalock implement is called encryption and it targets certain types of files on the computer of the victim. As a result those files become inaccessible without a secret decryption key. No software will be able to open those files which is why the hackers behind the Ransomware immediately demand a ransom in exchange for sending that key to their victims.

The removal guide below, however, has been created as a roundabout to the ransom payment and an alternative solution for those who want to remove Datalock and clean their computer from it. The instructions there will not only help you get rid of the malicious program that targeted you, but also may be effective in retrieving the information that has been encrypted.

The Datalock virus

The Datalock virus is a Ransomware variant that encrypts any files and demands a ransom. You can catch the Datalock virus from spam messages spread through social media, drive-by downloads, or compromised websites.

If Datalock has attacked your system, then you are probably eager to learn what you could do to counteract this horrible infection. Of course, the first option that comes to mind may be paying the ransom, but many security experts can assure you that this is not the best idea. For one, the decryption key that the hackers promise to send you in return for the ransom money may never be obtained. This is, in fact, a fairly common situation that some victims of Ransomware get faced with. The crooks simply vanish once they get the payment and, at that point, the victims are left with their empty pockets and nothing to unlock their data with. Of course, there are situations where the crooks do send a decryption key. However, that key may turn out to be ineffective at reversing the applied encryption or may simply fail to decrypt everything and still leave some data inaccessible.

The Datalock file encryption

The Datalock file encryption is the result of a Ransomware attack. The Datalock file encryption keeps your files inaccessible and prevents any program from opening them.


The Datalock virus file

Alternatives, such as the below-attached removal guide, may sometimes help the victims of Ransomware deal with the infection. They contain instructions on how to remove the virus (which, by the way, is important in order to avoid potential encryption of more files or a second encryption of the files you manage to save) and some file-recovery suggestions. Other alternative options may include reaching out to an expert from your area for personal assistance.

One thing you can do on your own is to search for a free decryptor, such as the ones that we’ve published on our site. We would also like to mention that it would be smart from now on to invest in reliable protection against such infections and do everything possible to prevent any future Ransomware attacks. The best way to do this is to install reliable security software with Ransomware protection and copy all of your most important files on a separate external drive or on a cloud so you can access them at anytime.


Name Datalock
Type Ransomware
Danger Level High (Ransomware is by far the worst threat you can encounter)
Symptoms Very few and unnoticeable ones before the ransom notification comes up.
Distribution Method From fake ads and fake system requests to spam emails and contagious web pages.
Data Recovery Tool Not Available
Detection Tool

Remove Datalock Ransomware


Some of the steps will likely require you to exit the page. Bookmark it for later reference.

Reboot in Safe Mode (use this guide if you don’t know how to do it).



Press CTRL + SHIFT + ESC at the same time and go to the Processes Tab. Try to determine which processes are dangerous. 


Right click on each of them and select Open File Location. Then scan the files with our free online virus scanner:

Each file will be scanned with up to 64 antivirus programs to ensure maximum accuracy
This scanner is free and will always remain free for our website's users.
This file is not matched with any known malware in the database. You can either do a full real-time scan of the file or skip it to upload a new file. Doing a full scan with 64 antivirus programs can take up to 3-4 minutes per file.
Drag and Drop File Here To Scan
Drag and Drop File Here To Scan
Analyzing 0 s
Each file will be scanned with up to 64 antivirus programs to ensure maximum accuracy
    This scanner is based on VirusTotal's API. By submitting data to it, you agree to their Terms of Service and Privacy Policy, and to the sharing of your sample submission with the security community. Please do not submit files with personal information if you do not want them to be shared.

    After you open their folder, end the processes that are infected, then delete their folders. 

    Note: If you are sure something is part of the infection – delete it, even if the scanner doesn’t flag it. No anti-virus program can detect all infections.


    Hold the Start Key and R –  copy + paste the following and click OK:

    notepad %windir%/system32/Drivers/etc/hosts

    A new file will open. If you are hacked, there will be a bunch of other IPs connected to you at the bottom. Look at the image below:

    hosts_opt (1)

    If there are suspicious IPs below “Localhost” – write to us in the comments.

    Type msconfig in the search field and hit enter. A window will pop-up:


    Go in Startup —> Uncheck entries that have “Unknown” as Manufacturer.

    • Please note that ransomware may even include a fake Manufacturer name to its process. Make sure you check out every process here is legitimate.


    Type Regedit in the windows search field and press EnterOnce inside, press CTRL and F together and type the virus’s Name. 

    Search for the ransomware  in your registries and delete the entries. Be extremely careful –  you can damage your system if you delete entries not related to the ransomware.

    Type each of the following in the Windows Search Field:

    1. %AppData%
    2. %LocalAppData%
    3. %ProgramData%
    4. %WinDir%
    5. %Temp%

    Delete everything in Temp. The rest just check out for anything recently added. Remember to leave us a comment if you run into any trouble!


    How to Decrypt Datalock files

    We have a comprehensive (and daily updated) guide on how to decrypt your files. Check it out here.

    If the guide doesn’t help, download the anti-virus program we recommended or try our free online virus scanner. Also, you can always ask us in the comments for help!


    About the author


    Lidia Howler

    Lidia is a web content creator with years of experience in the cyber-security sector. She helps readers with articles on malware removal and online security. Her strive for simplicity and well-researched information provides users with easy-to-follow It-related tips and step-by-step tutorials.

    Leave a Comment

    We are here to help! Use SpyHunter to remove malware in under 15 minutes.

    Not Your OS? Download for Windows® and Mac®.

    * See Free Trial offer details and alternative Free offer here.

    ** SpyHunter Pro receives additional removal definitions and manual fixes through its HelpDesk in cases where they are needed.

    Spyware Helpdesk 1