ShareX is a free and open source program that lets you capture or record any area of your screen and share it with a single press of a key. It also allows uploading images, text or other types of files to many supported destinations you can choose from.
More Details Below: https://learn.microsoft.com/en-us/windows/win32/secauthz/appcontainer-for-legacy-applications-
Also enable exploit mitigations such as Control Flow Guard and Control Enforcement Technology.