An error occurred while decrypting data. Keyset not defined - Contour.Extern

When logging in after selecting a certificate, the message “Error decrypting data. Keyset not defined "or" Error decrypting data. The operation completed successfully ”.

If a data decryption error occurs after logging into the system when trying to view a document, then you should use the following recommendations.

To resolve the error, follow these steps

1. Check and carry out all recommended actions using the diagnostic service. If the diagnostics show that it is necessary to renew the license for Crypto Pro, then be sure to indicate a new serial number.

Form with serial number on CryptoPro CSP issued upon connection or renewal of service. If you cannot find the form, then you need to contact.

2. Delete cache Internet Explorer... For this:

  • Select Start menu> Control Panel> Internet Options.
  • In the window that opens, click on the "Delete" button and mark the following list items: temporary Internet files and cookies.
  • Press the button « Delete ”, wait for the operation to complete and close the Internet Properties window.

3. Make sure that the medium with the certificate (ruToken smart card, floppy disk or flash drive) is placed in the computer, and reinstall the personal certificate via CryptoPro CSP (see How to install a personal certificate?).

4. Reinstall CryptoPro CSP (see How to reinstall CryptoPro CSP?).

If the proposed solution did not help to fix the error, you need to contact technical support by the address [email protected]... In the letter, indicate the following information:

  • TIN and KPP of the organization;
  • Diagnostic number.

To do this, go to the diagnostics portal at https://help.kontur.ru, press the button "Start diagnostics". Once the verification process is over, the diagnostic number will be displayed on the screen. The assigned diagnostic number must be indicated in the letter.

  • Indicate whether the client-bank was installed at the workplace from which the certificate was requested.

Hello Vladimir! I have a whole epic with the restoration of the repository of the original Windows components 10. I need your advice, I think I will understand you, because I consider myself an experienced user!

Installed on my Windows laptop 10 works with significant errors. I decided to check the integrity system files using the sfc / scannow tool, but got an error: “ Windows Resource Protection found corrupted files, but cannot repair some of them". As I understand it, this error means that the integrity of the Win 10 system components store itself (WinSxS folder) is violated. Then I decided to check the integrity of this very storage with the command , it turned out message " " ... Accordingly, I restore the storage with the command, this command restores the component store using the Center Windows updates, and I get an error again« Failed to download source files... Specify the location of the files required to restore the component using the "Source" parameter».

It is not clear why the error came out this time, because I have the Internet. Okay, I think I'll use it for recoverycomponent store facility PowerShell and Windows 10 ISO Image Downloaded Windows distribution 10 and connected it to a virtual floppy drive, ran PowerShell and entered the command: Repair-WindowsImage -Online -RestoreHealth -Source F: \ sources \ install.wim: 1(where bthe letter "F" corresponds to the letter of the connected image with Win 10, and the number "1" - to the index of the edition in the Win 10 PRO image (this is what I have installed), but once again I failed -« Error: 0x800f081. Recovery failed. Restore source not found or component store cannot be restored».

At one well-known forum, they suggested that you do not need to connect Windows 10 ISO image to a virtual drive, but you need to mountISO image with Win 10 files to a folder using the command: Dism / Mount-Wim / WimFile: F : \ sources \ install.wim / index: 1 / MountDir: C: \ WIM / ReadOnly(where WIM, this is an empty folder on the C: drive where the ISO image, and F: \ sources \ install.wim is the location of the install.wim image file ), but here, too, I missed the mount“Error: 11. An attempt was made to load a program that is not in the correct format».

In short, I gave up and I don't know why I can't do anything.

Repairing a damaged Windows 10 component store using DISM

Hello friends! The purpose of this article is to tell novice users in detail how to restore a damaged store of Windows 10 components in various critical situations.

If you want to check the integrity of system filesin your operating system, the built-in utility “ sfc / scannow » but if it throws an error: "Windows Resource Protection found corrupted files, but cannot repair some of them",

it means in your OS the integrity of the storage of system components itself (the contents of the folder) is violated. In this case, you need to check the integrity of the component store with the command “ Dism / Online / Cleanup-Image / ScanHealth», if at this checkwill come out too various errors, for example:« The component store is recoverable», « Error: 1910 The specified object export source was not found», « Error: 1726 Remote Procedure Call Failed»,

then in this case, you must first restore the component store, and only then restoreintegrity of system files with"Sfc / scannow" , this is where the fun begins, since there are a lot of nuances, let's look at them all.

We use it to restore damaged storage CDeployment Image Servicing and Management (DISM)

Launch command line administrator and enter the command:

DISM / Online / Cleanup-Image / RestoreHealth

- This command restores the component store using Windows Update (you must have the Internet working), the missing components will be downloaded from Microsoft servers and restored on your system.

Recovery completed successfully

But if this command issues error 0x800f0906 “Failed to download source files. Specify the location of the files required to restore the component using the "Source" parameter or

another one will come out error 0x800f081f« Could not find source files. Specify the location of the files required to restore the component using the "Source" parameter»

What you need use to restore storage.

We download the Windows 10 distribution from the Microsoft website and connect it to the virtual disk drive (in my case (G :)), then go to the folder sources and see what compression the Windows 10 image file has,

usually install.esd , remember this, it will be useful when entering subsequent commands (if in your case the fileinstall.wim, then read the information at the end of the article).

respectively, enter the following command:

where G:- letter virtual floppy with Windows 10,

Install.esd- Win 10 image file,

/ limitaccess- a parameter that prevents access to the update center (after all, we use the Win 10 distribution kit for recovery)

The recovery was successful. The operation completed successfully.

In this way we are with you repaired damaged Windows 10 component store!

The component store has been restored, now we restore the integrity of the system Windows files 10 with the "sfc / scannow" command.

Windows Resource Protection has detected damaged files and successfully restored them.

The integrity of Windows 10 system files has been restored!

Another way to restore a component store using a virtual hard disk VHD

Friends, but I want to tell you that in particular difficult cases, when entering the command

Dism / Online / Cleanup-Image / RestoreHealth /Source:G:\Install.esd / limitaccess you will get an error again, for example: "Error: 1726 Failed on remote procedure call",

in this case, you need to do so.Create virtual HDD and unpack the contents of the install.esd image file on it, then run the command:

«»,

where D: - the letter of the connected virtual disk VHD with expanded Windows 10 files.

as a result, the repository of components will be restored due to the unpacked on virtual disk VHD files operating system.

Go to Disk Management and create a virtual disk VHD.

Action -> Create Virtual Hard Disk

We mark the item "Dynamic expandable".

The size of the virtual hard disk is 20 GB.

Click on the "Browse" button.

In the explorer, select the location to save the virtual hard disk.

I will select drive (F :). I assign a name to the virtual disk - "Win10" and press the "Save" button.

The created virtual disk is 20 GB unallocated space (Disk 1) in Disk Management.

Click on Disk 1 with the right mouse and select "Initialize Disk"

By and large, it doesn't matter which item to check: MBR or GPT.

I will mark the item "Table with GUID Partitions (GPT)" and press "OK"

After initializing the disk, create a simple volume on the unallocated space.

A new volume (G :) has been created.

Operating system archives - install.esd or install.wim may contain several other archives (releases) of operating systems (Pro, Home, etc.) and these images are assigned indexes 1, 2, 3, 4. To find out which Images are inside our install.esd file, enter the command:

Dism / Get-WimInfo /WimFile:G:\sources\install.esd

Where G is the letter of the virtual drive with Windows 10,

Sources \ install.esd - the address of the install.esd image file in the Win 10 distribution.

Windows 10 PRO is installed on my computer and that is what I want to restore. The Win 10 PRO image I need has index 1.

We enter the command:

Dism / apply-image /imagefile:G:\sources\install.esd / index: 1 / ApplyDir: D: \

where G: \ sources \- the address of the location of the install.esd file,

index: 1- Windows 10 PRO index,

D : - a connected virtual disk VHD (partition D :).

The operation completed successfully.

The install.esd file (Win 10 PRO) is deployed to a virtual disk VHD (section D :).

Well, now we are restoring the component store. and the count of files of the Win 10 operating system unpacked to a virtual disk VHD (section D :), with the command:

Dism / Online / Cleanup-Image / RestoreHealth / Source: D: \ Windows / limitaccess

The recovery was successful. The operation completed successfully.

In this way, we restored the damaged storage of Windows 10 components! T Now we restore the integrity of Windows 10 system files using the "sfc / scannow" command.

At the end of the article, you will need the following information:

If in the Windows 10 ISO image, in the sourses folder, you find the install.wim file instead of the install.esd file, then the restore command will change slightly:

Dism / Online / Cleanup-Image / RestoreHealth /Source:G:\install.wim / limitaccess(command to restore component store).

When working with any files, the user may encounter the message "The operation was not completed successfully because the file contains a virus or potentially unwanted program", after which the launch of the specified file is blocked. The reason for blocking is the system antivirus (usually it is " Windows Defender"), Which restricted user access to the suspicious file. Below we will analyze the essence of this dysfunction and methods for its solution.

Microsoft is committed to combating malware and viruses. As a result, modern Windows 10 acquired a built-in antivirus known as Windows Defender.

By default, Windows Defender is activated, and constantly checks user software for potentially dangerous programs. When such a program is found, access to it is blocked, and itself malware can be quarantined. In this case, the user receives the already mentioned message "The operation was not completed successfully because the file contains a virus or potentially unwanted program.", and the launch of the specified file becomes impossible.

Both a virus file and a completely safe software used for many years can get under such blocking. In the latter case, this causes a number of inconveniences, since we cannot use the proven software that we need for various tasks.

How to fix the "File contains a virus or unwanted program" dysfunction

The simplest and most obvious solution in this situation is. But I would not recommend rushing with such a shutdown, especially in a situation when your PC does not have a constantly running antivirus. In this case, you risk making your system vulnerable to virus programs, which will lead to its potential failure.

Check the executable file for a virus

First of all, to fix "The operation was not completed successfully, because the file contains a virus", I recommend checking the executable file for viruses in order to make sure that Windows Defender "swears" at the file in vain. For this, you can use as alternative antivirus software level "DoctorWeb Kureit", and upload the file to a specialized verification resource at the level of virustotal.com for verification.

Check the file on virustotal

Add the problematic file to the antivirus exclusions

If the file turns out to be clean, you should add it to the exceptions of Windows Defender or the antivirus installed on your PC. In the case of the Defender, it is recommended to click on "Start", select "Options" there, then "Update and Security", then "Windows Defender", and then "Open Windows Defender Security Center".

A similar exclusion option can be found in the settings of other antiviruses.

Temporarily disable your antivirus

Enough effective way The solution to the problem "The operation was not completed successfully" is to temporarily deactivate the antivirus. In the case of Windows Defender, this is done as follows:

  1. In the taskbar, click on the search button (with a magnifying glass), in the query line we write "protection", click at the top of the found option "Protection against viruses and threats";
  2. In the window that opens, we find "Protection against viruses and other threats" and also click on it.
  3. In the next window that opens, we find the option "Real-time protection" and deactivate it.

For some time, the Defender will be deactivated, but later it can turn on again on its own (under the influence of the next system update). To prevent it from turning on, we can turn it off using the system registry.

Do the following:

  • Click on Win + R, enter regedit there and press enter;
  • Follow the path
  • Hover over the empty panel on the right, right-click, and select New - 32-bit DWORD Parameter, name it “DisableAntiSpyware” and press enter;

Update the problematic software

If the antivirus software continues to signal the unreliability of your software, try downloading and installing the latest version of it. In some cases, this allows you to get rid of the "Operation was not completed successfully" error on your PC.

Restore the Explorer to work

In some cases, problems with the explorer.exe file can cause the dysfunction discussed in the article. Run the command line from the admin, and type in it sequentially, remembering to press enter after each command:

sfc /SCANFILE=c:windowsexplorer.exe

sfc /SCANFILE=C:WindowsSysWow64explorer.exe

Running these commands may resolve the "file contains a virus" error on your computer.

Conclusion

The appearance of the message "The operation could not be completed because the file contains a virus or potentially unwanted program" signals that an antivirus (usually Windows Defender) has found a potentially unsafe file. The best solution in this case is to add the problem file to the antivirus exceptions, provided that the user is sure that it is clean. of this file... It is not recommended to disable the antivirus completely - this can lead to the penetration of potentially dangerous programs on user PCs.

In contact with

Share this