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

How to Restart the Windows File Sharing Service

This quick tutorial will show you how to restart the Windows file sharing service on your Windows desktop / server. This can be useful if you encounter issues sharing files on your computer, and cannot or do not want to reboot the system.

This tutorial is intended for Windows 10 / 11 and Windows Server 2016 or later. It assumes that you have already enabled and configured Windows file sharing on your computer.

  • Open the Start menu and type “services.msc” in the search box. Press Enter to open the Services window.Opened the start menu and typed in "services.msc". 
    • Alternatively, you may use the keyboard combination Win+R to open the Windows run box and type in “services.msc”.Opened the run box (using the key combination Win+R) and typed in "services.msc".
  • Locate the service named “Server” in the list of services.Located the "Server" service.
  • Right-click on the service and click “Restart”. This will stop and start the service again.Restarting the "Server" service.
  • Now you can verify if your issue has gone away. If not, then a reboot might be in order.

 That’s it! Hopefully someone will find this tutorial useful.


Posted in Computers, Internet and Servers, Operating Systems, Software, Tips & Tutorials

How to Enable NVIDIA RTX Video Super Resolution Upscaling Technology in Mozilla Firefox

This quick tutorial will show you how to enable the NVIDIA RTX Video Super Resolution in Mozilla Firefox.

As RTX Video Super Resolution utilizes the Tensor Cores present in NVIDIA GeForce RTX GPUs, it is exclusively compatible with graphics cards from the 30 and 40 series.

Prerequisites

  • Mozilla Firefox version 116 (or above)
  • NVIDIA graphics card (30 and 40 series only)
  • RTX super resolution enabled via the NVIDIA Control Panel

  • Open your Mozilla Firefox web browser and enter “about:config” in the search bar.

  • Type in “gfx.webrender.super-resolution.nvidia” into the search box.

  • Click on the toggle icon to adjust the setting to “true”.

  • Now you should see the value set to “true”.

  • Restart the Mozilla Firefox web browser.

You have successfully activated the feature in your web browser. It is important to note this feature is currently in an experimental phase, and you may encounter potential issues with it enabled, such as inaccuracies in image upscaling or even the feature failing to work at all on your computer.


Posted in Computers, Internet and Servers, Software, Tips & Tutorials

File Backups: Self-Hosted vs. Cloud Storage

In the digital age, safeguarding data has become very important. Whether it’s cherished memories, important documents, or sensitive information, losing data can be a major problem for both personal reasons (e.g., irreplaceable family photos) as well as business reasons (e.g., customer data, data breach).

There are two popular ways to backup your files. One, backing up your files to your own hard drives, and two, backing up your files to a remote location (e.g., cloud storage). Which of these two are best for your needs you ask?

In this blog post, I’ll explain the and pros and cons of these two approaches (self-hosted vs. cloud storage) and help you make an informed decision.

 

Self-Hosted Backups

Using your own hard drives for storing your backups provides complete control and customization at the cost of time to setup and manage. Here’s a breakdown of the pros and cons:

 

Pros

  • Total Control: When you store your own backups, you have complete control over the storage environment. You decide the hardware specifications, security measures, and software configurations for your backups.
  • Privacy and Security: Storing backups on your own gives you more control over data privacy and security. You can implement encryption, compression, backup automation (your own automation or paid software) and anything else you may need.
  • Cost Efficiency: Over the long term, self-hosted backups are almost always more cost-effective, especially if you have a large amount of data to back up. If you require more than 1TB of disk space, rolling your own backups is going to be less costly in the long run.

 

Cons

  • Technical Expertise: Setting up and maintaining a proper self-hosted backup environment requires technical knowledge. You’ll want to have a separate computer dedicated to hosting your backups. This will entail needing to manage software updates, security patches, and troubleshoot any issues that arise (e.g., failed backup hard drives; trust me, this will eventually happen in the long-term).
  • Resource Management: You’re responsible for managing the backup server’s resources. This can become complex as your backup needs grow. You will need to have some kind of alert letting you know if a hard drive is near full, so you can plan accordingly.
  • Physical Security: Hosting your own backups ultimately means you are responsible for the physical security of your backups. If anyone can just walk up and steal a backup hard drive, you have greater problems to worry about.

 

Cloud Storage: Convenience and Accessibility

Cloud storage services like Google Drive and Microsoft OneDrive offer convenience and ease of use at the expense of flexibility and control. Here’s a look at the pros and cons of cloud storage:

 

Pros

  • Simplicity: Cloud storage services are user-friendly and require no technical expertise to get started. Most tasks, such as uploading, organizing, and sharing files, are straightforward.
  • Accessibility: Your backups are accessible from any device with an internet connection. This accessibility proves invaluable, especially in situations where you need to retrieve data urgently.
  • Automated Services: Many cloud storage platforms offer automated backups, ensuring that your data is continuously and seamlessly protected without manual intervention.

 

Cons

  • Cost Scaling: While cloud storage is convenient, costs can increase as your storage needs grow. Monthly subscription fees can add up, making it potentially more expensive over time.
  • Dependency: Relying on a third-party service means entrusting your data security and availability to that provider. This can raise concerns about data breaches and service outages. (Encrypting your data on your computer before uploading to the cloud storage is highly recommended.)
  • Limited Customization: Cloud storage services provide a proprietary environment, potentially limiting your ability to customize the storage infrastructure according to your specific requirements.

 

Conclusion

The decision to self-host or use cloud storage for your backups ultimately depends on your individual needs and priorities. If you value control, customization, and have the technical know-how, a self-hosted backup environment might be the right fit. On the other hand, if convenience, accessibility, and automated services are crucial, cloud storage could be more suitable.

In some cases, a hybrid approach might be the optimal solution, combining the control of self-hosted backups with the convenience of cloud storage for redundant backups. Whichever way you choose, remember that the key to effective backup strategies is consistency, security, and regular testing of backups.

Personally, the hybrid approach is my favorite method, since I can quickly restore from my backup, since I have it local, but I have the reassurance that if my local backup gets destroyed (natural disaster, drive failure, etc.), I have (encrypted) copies of my data in cloud storage just in case.

Also, as I previously mentioned, please keep in mind to always (where possible), encrypt your data before uploading your data to the cloud. Otherwise, you risk someone at one of the cloud storage’s data centers snooping through your files.

Click here to view how to keep your files in cloud storage secure.


Posted in Cloud, Computers, Internet and Servers, Security, Software, Tips & Tutorials