Restoring an Encrypted File Using the Command Line Interface

Exclude the folder where you want to restore the encrypted file from security scans before continuing.

See Excluding Folders from Scans for more information.


Decrypting an infected file could spread the virus/malware to other files.

  1. Open a command prompt and go to the folder where the tool is located.
  2. Run the tool using the following parameters:
    • no parameter: Encrypt files in the Quarantine folder

    • -d: Decrypt files in the Quarantine folder

    • -debug: Create debug log and output in the root folder of the client

    • -o: Overwrite encrypted or decrypted file if it already exists

    • -f: {filename}. Encrypt or decrypt a single file

    • -nr: Do not restore original file name

    • -u: Launch the tool’s user interface

    • -r: <Destination folder> The folder where a file will be restored

    • -s: <Original file name> The file name of the original encrypted file


    You may not be able to encrypt or decrypt files that are locked.

    For example, you can type VSEncode [-d] [-debug] to decrypt files in the Quarantine folder and create a debug log. When you decrypt or encrypt a file, the decrypted or encrypted file is created in the same folder.