Giter VIP home page Giter VIP logo

nefcon's Introduction

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:

nefcon's People

Contributors

nefarius avatar sitiom avatar ng75063 avatar dependabot[bot] avatar

Stargazers

Janusz Dziurzyński avatar cosmoslx lin avatar  avatar yun wang avatar  avatar  avatar TERAGAWA, SHORYU avatar  avatar 追风 avatar  avatar  avatar  avatar  avatar enfpdev avatar Kris avatar dannyt avatar William Bedard avatar Carlo Rosales avatar  avatar Hemanth avatar  avatar IvanY avatar  avatar  avatar Gleb Maksimov avatar  avatar  avatar  avatar  avatar  avatar winterknife avatar André M. avatar Dmitry Bolshakov avatar tzf-omkey avatar 突突兔 avatar  avatar MeeSong avatar カシオ 金城 大関 avatar Arkadiusz Michał Ryś avatar

Watchers

 avatar  avatar  avatar  avatar

nefcon's Issues

Suppress another restart dialog

The following dialog (via RestartDialogEx API) can get invoked and ruin a scripted sequence on e.g. a class filter driver installation, despite giving it "suppress all UI interaction" flags on Windows 10 (couldn't provoke this on Windows 11 so maybe MS silently fixed that):

image

Create equivalent of "devcon install" command

The command devcon install InfFile.inf Root\HardwareId is quite common to add a software node for a root-enumerated driver to load onto. Currently this is possible but requires at least two separate commands and the caller has to provide device class name and GUID by themselves. This information is all in the target INF and can be parsed, so something like

nefcon -i --inf-name InfName.inf --hardware-id Root\HardwareId

could be provided that shortens the call significantly. Also the --inf-name and --hardware-id could be inferred from the usage and be omitted as well. Resulting in

nefcon -i InfName.inf Root\HardwareId

Port over some commands from BthPS3Util

nefcon and BthPS3Util have a lot of historical overlap, consider migrating over the few missing commands required to install and remove Bluetooth services so we end up with one tool and code base instead of how it is right now.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.