How to Repair Corrupted Windows System Files using SFC and DISM

If you have used Windows for a long enough time, you may encounter an issue with corrupted system files.

This can be due to:

  • An improper system shutdown (e.g., power loss).
  • A failing hard drive or SSD.
  • Faulty RAM
  • A failed Windows update.
  • A third-party program that modifies system files (e.g., anti-virus).
  • A user accidentally deleting a system file (rare, but can happen).

Corrupted system files can cause Windows to become unstable, leading to blue screens, application crashes, slow performance, and possible data loss.

In this blog post, I will show you how to initiate a Windows system repair using SFC and DISM.

First let’s open PowerShell as Administrator (your computer may show “Command Prompt (Admin)” instead).

Open PowerShell as Admin

Now let’s type in:  sfc /scannow

Run SFC

Wait for the process to complete.

SFC Process Complete

Now if SFC has found no issues (like shown in the image above), then you should be OK. However, if SFC finds issues that it cannot fix, or if you’re experiencing more significant problems, you can then run DISM. This tool can help fix issues that SFC might not be able to address. You can run it with the command:  DISM /Online /Cleanup-Image /RestoreHealth

Run DISM

Wait for the process to complete.

DISM Complete

Please note that in some cases, system file corruption can be too severe for these tools to resolve. If that’s the case, you may need to restore from a system backup (if available) or perform a complete re-installation of Windows.


Posted in Code Snippet, Command Prompt, Computers, Internet and Servers, Operating Systems, PowerShell, Software, Tips & Tutorials

Logical Fallacies – Genetic Fallacy

This logical fallacy is known as the “genetic fallacy”. This fallacy occurs when someone dismisses or accepts an argument / claim based solely on its origin, rather than if the information itself is true or not.

One popular genetic fallacy I have encountered on the Internet is when people say “we cannot accept information from blogs” or “just because it’s on a blog, it is not factual information”.

For example, one subreddit I visited a few weeks ago, stated they do not accept personal blogs. Of course, their context was that blogs are not a “legitimate” source of information, while implying that “official” sources of information are accurate.

A couple of problems with this:  1) It is incorrect to say that all personal blogs are not legitimate sources of information, and 2) “official” news sources are not necessarily the best place to get accurate information too, and are not above having click-bait titles for their articles.

In other words, some blogs will have good info, others will not. Same goes for “official” news sources.

Summary: Genetic fallacies are nothing more than someone’s accepting / rejecting information solely based on the source or origin of said information, instead of checking if the information is accurate.


Posted in General, Logical Fallacies, Society

Resetting Your Graphics Driver on Windows 10/11 with a Simple Keyboard Shortcut

Have you ever experienced screen glitches, freezes, or other display issues while using Windows and wished you did not have to reboot to fix the issue? Fortunately, there’s a quick way to reset your graphics driver that may resolve these problems without the need to restart your PC.

In this blog post, I will show you how to do it:

  1. Ensure all your work is saved as this process has a (very small) potential to crash the computer.
  2. Hold down the ‘Control’ (Ctrl) and ‘Windows’ (Win) keys on your keyboard.
  3. While holding those keys (Ctrl + Win), press the ‘Shift’ key and the ‘B’ key simultaneously.
    1.  Control + Win + Shift + BWindows Keyboard Shortcut to Reset the Video Driver
  4. Once the screen goes blank, release all the keys.
  5. Wait for the screen to come back on and see if your issues have been solved.

That is all there is to it.

Please remember, this isn’t a one-size-fits-all solution. Some people may still require a reboot to resolve their issues, but this tutorial may save some people time rebooting when they did not need to.

 


Posted in Computers, Operating Systems, Tips & Tutorials

RPCS3 Settings Guide for Uncharted: Drake’s Fortune

This tutorial will show you which custom settings to use with Uncharted: Drake’s Fortune on the RPCS3 (PlayStation 3) emulator. These settings are what I personally use. As always, your results may vary.

Known Problems that I Experienced

  • FPS drop when shaders get compiled (nothing you can really do about that)
  • FPS drop when a lot of activity is on the screen (e.g., several enemies on the screen at once)
  • Texture pop-in
  • Texture flicker

Prerequisites

  • Latest copy of RPCS3 (Download Page)
  • A copy of Uncharted: Drake’s Fortune for use with the emulator.
  • A fairly beefy computer (for best performance; can work on slower computers).
  • A PlayStation controller (preferred) or an Xbox controller (connected via wired or wireless).

  • First off, add the game to RPCS3 to get started.

  • Now right-click on the game and select “Change Custom Configuration”.

  • Now we are at the configuration for the emulator’s CPU. Make sure your settings match what is shown in the screenshot.

  • Now click on the “GPU” tab and set your settings to what is shown in the following screenshot.

  • Click on the “Advanced” tab and set your settings to what is shown in the following screenshot.

  • Now click on the “Save custom configuration” button at the bottom of the configuration box.

  • Right-click on the game again and this time select “Change Custom Gamepad Configuration”.

  • Now set your controller input type.

  • Click the “Save” button.
  • Again, right-click on the game and select “Manage Game Patches”.

  • Select the game patches as shown in the screenshot. Your version of the game may show different patches in the list. However, the two patches you want to select should still be available.

That’s it! You will want to run the game to see if everything is in working order.

 

 


Posted in Computers, Software, Tips & Tutorials, Video Games