fsck.winregfs command not found

In this troubleshooting guide we learn how to fix fsck.winregfs command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

fsck.winregfs: command not found

or when using sudo you get the following error message

sudo: fsck.winregfs: command not found

Solutions to fsck.winregfs: command not found

How To Fix fsck.winregfs: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu fsck.winregfs is provided by winregfs package.

winregfs is:

Winregfs is a FUSE-based filesystem driver that enables accessing of Windows registry hive files as ordinary filesystems. Registry hive file editing can be performed with ordinary shell scripts and command-line tools once mounted.

fsck.winregfs scans a Windows registry hive file for problems that indicate the hive has been damaged by hardware or software issues, reading recursively the key and value data structures in the registry hive.

This package provides mount.winregfs and fsck.winregfs commands. Winregfs is useful for pentesters, ethical hackers and forensics experts.

To fix this problem, we can install more using the command below.

sudo apt-get -y install winregfs

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install winregfs.

sudo apt -y install winregfs

Or if you have aptitude installed you can use the following command.

sudo aptitude install winregfs

Summary

In this tutorial we learn how to fix fsck.winregfs command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.