I try to open Visual Studio Code app and I get the following error: "The stub received bad data." If I open the app again, it will open without a problem. This occurs with other apps.
I have Windows 10 Pro. Any idea or reason for this error?

enter image description here

I executed the commands (https://answers.microsoft.com/en-us/windows/forum/windows_10-start/the-stub-received-bad-data/f4829753-484e-4cf8-b123-6caf2422d17b) and got the following answers:

C:\WINDOWS\system32>sfc /scannow

Windows Resource Protection did not find any integrity violations.

C:\WINDOWS\system32>DISM.exe /Online /Cleanup-image /Scanhealth

[==========================100.0%==========================] No component store corruption detected. The operation completed successfully.

C:\WINDOWS\system32>DISM.exe /Online /Cleanup-image /Restorehealth

[==========================100.0%==========================] The restore operation completed successfully. The operation completed successfully.

But the problem continues

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.