Skip to content

nefarius/nefcon

Repository files navigation

nefcon

Windows device driver installation and management tool.

MSBuild GitHub All Releases

About

This little self-contained, no-dependency tool can be built either as a console application or a Windows application which has no visible window (ideal to use in combination with setup makers). It offers a command-line-based driver (un-)installer and allows for simple manipulation of class filter entries. Run nefconc.exe --help to see all the options offered.

Installation

Binaries are available to download in the releases page, just download and extract. However, if you are using a package manager, you can use one of the following options:

Scoop

nefcon is available in the Extras bucket:

scoop bucket add extras
scoop install nefcon

Winget

nefcon is available in the winget-pkgs repository:

winget install nefcon

Examples

For a console example use nefconc, for windowless execution use nefconw binary.

Installing a Primitive Driver

nefconw --install-driver --inf-path "Path\To\Inf.inf"

Uninstalling a Primitive Driver

nefconw --uninstall-driver --inf-path "Path\To\Inf.inf"

Modifying HIDClass upper filters

nefconw --add-class-filter --position upper --service-name HidHide --class-guid 745a17a0-74d3-11d0-b6fe-00a0c90f57da

Create virtual Root-enumerated device node

nefconw --create-device-node --hardware-id root\HidHide --class-name System --class-guid 4D36E97D-E325-11CE-BFC1-08002BE10318

Remove device(s) and driver

nefconw --remove-device-node --hardware-id root\HidHide --class-guid 4D36E97D-E325-11CE-BFC1-08002BE10318

Install file system volume controller driver

nefconw --inf-default-install --inf-path "F:\Downloads\btrfs-1.8\btrfs.inf"

3rd party credits

This project uses the following 3rd party resources: