After deleting some Virtual studio c++ files, Krita started not to open

After deleting some Virtual studio c++ files, Krita started not to open. (virtual studio c++ 2009 ,virtual studio c++ 2010,virtual studio c++ 2012,virtual studio c++ 2013 ,virtual studio c++ 2015)( I never deleted virtual studio c++ 2015-2022.) I tried. It didn’t work: I uninstalled and reinstalled the program a few times. I installed other versions. I ran it as an administrator. I changed the compatibility settings from properties, added a new user in the security settings, and allowed everything. I Krita open it after tried to run Kritaruner . I reinstalled virtual studio c++ 2010, virtual studio c++ 2012, virtual studio c++ 2013, virtual studio c++ 2015. I installed virtual studio c++ 2008.
Do you know the solution to my problem?

Hello and welcome to the forum :slight_smile:

Do you mean Visual studio?

Which version number of krita are you using and which operating system?

also have you tried restoring them to see if it fixes the problem?

@QWX8YK92.0 , Visual C++ Redistributable files are libraries that applications need to have in place. Krita might not be the only app that isn’t able to run properly. If you know exactly which Visual C files you deleted you can locate them at Microsoft.com and reinstall them. These files can’t be simply deleted or copied pasted. They need to be installed like apps are installed to become part of the operating system. Why you would delete these files i have no idea. It’s like you yanked some motor parts out of your car.

If you can’t find and reinstall the Visual C libraries you might need to reinstall apps that installed the libraries as part of the apps installation.

This isn’t a Krita problem, it’s about Windows. You’ve disabled parts of your operating system.

As @kacart mentioned, try it with the system-restore-mechanisn of Windows and try to restore your PC with this (I don’t know its exact name in English because I have to translate it).
You can get there via the key-combination Windows-Key + R and in that upcoming input field you have to put in “sysdm.cpl” and press enter, there the computer-protection should be on the fourth tab. On that tab, you should have the option to go back to a point before the uninstalling of your Visual Studio files, if the computer protection is enabled on your PC.

Michelist

1 Like

Also, when you deleted them by simply moving them to the recycle bin (which is usually the default) then you can restore them from there.

1 Like

Yes, if manually deleted, restore or restore Windows…

I’ve had any number of issues with Visual C/C++ libraries and files over the years…

I removed the files from the Control panel program and its properties.

I think you are talking about Windows own Software Uninstallation Utility, right?

It looks like this:

Have you looked in the system-restore-utility I mentioned above?
Are there restore points that are relatively new, but from a date before you uninstalled Visual Studio? Or is this too finicky for you?

Michelist

1 Like

Yes. This. If they were removed by the control panel app/software uninstallation the only way to get them back would be to ‘restore to a previous time’ as they would not be in the Recycle bin as far as I know.

Uninstalling the files but my purpose was to download the program. (there wasn’t enough room.) I didn’t know they were so important.

If there isn’t much room left on your drive then you should consider offloading your personal data files onto a USB memory stick or something like that.

You should also try deleting your temporary files, browser cache, and all but the last two backup points to free up space. Unfortunately, I’m afraid that this will present you with an impossible task when I look at this topic.
Perhaps a tool like Bleachbit (system cleanup software) would be a solution to help you free up space? Also, CCleaner would be such a tool. It is a bit clearer than Bleachbit and offers more settings and explanations. But if you don’t know what you are doing, you can do damage even with these relatively safe tools.
Do you have friends or acquaintances who are confident with PCs, could you ask them for assistance?

Michelist

Please don’t recommend using CCleaner anymore.
The program is notorious for doing weird stuff to the operation system especially when you use the registry and file clean up. The application was hacked at least twice (as far as I can remember) and distributed with backdoors and is known for punching holes into Windows’ own security. And it also spies on files and sends a lot of data home. Nothing that anyone should have on their computer.

If you felt the need to remove random libraries from your computer to make space for a application you probably wont have enough space left to save any files you created with Krita. But there is a portable version you could put on a USB drive, and also save your files there, assuming you get your PC running again. System restore points, like mentioned before, are the easiest way to get windows and programs back to a previous state but windows doesn’t create them constantly by itself, so when you’re unlucky there’s no system restore point you could rewind back to.

1 Like

I was a long time user of Windows and i can tell you that System Restore rarely works even when the user has turned it on and set restore points. For it to work in a case like this there would have to be a valid restore point set immediately before uninstalling the Visual C libraries.

System Restore works like this. You want to make an important change to tbe system. You set a restore point immediately before you make the change.

In this case i would back up data files - not system files, they’re corrupted - and reinstall windows. From my experience i would say System Restore is smoke and mirrors.

But look, i doubt that Krita needs Visual C libraries to run in the first place. Think back. It’s likely you made other changes that stopped Krita.

Taking a look into the crash log or the console output, could help us, too.

1 Like

Which version of Windows are you using?

Art…I’ve used system restore many many many times throughout my use of Windows 10 and it has saved my bacon!!

If it’s set up properly it will do a save before installing new software or other times including manually
which is not a bad idea :slight_smile:

It shows “suspended” when I try to open it. It shuts down after a few seconds.

1 Like