lfiwnl / service-list-builder

Create batch scripts to seamlessly toggle between minimal and default services in Windows based on user-defined lists

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

service-list-builder

I am not responsible for damage caused to computer. This tool is powerful and for advanced users only. There is a risk of damaging your operating system if you disable core services that are required for Windows to function correctly. It is your responsibility to use suitable service configurations for your specific operating system. It is also recommended that you use this tool before installing any programs as any other services not defined in the lists will be disabled (e.g. services installed by anticheats, or you could simply enable them after building the scripts, but the first method is recommended). If you would like to rebuild the scripts, ensure to run the generated Services-Enable.bat script beforehand as the tool relies on the current state of services for building future scripts.

Buy Me A Coffee

Usage and Program Logic

  • Download the latest release from the releases tab

  • Open lists.ini in a text editor

    • Note: All entries are case-sensitive

    • Every user mode service NOT specified in the [enabled_services] section will get disabled. These two sections act as whitelist of user mode services NOT to disable

    • Individual services to disable can be explicitly specified in the [individual_disabled_services] section. This section does not follow the disable all except logic. Only the services specified in this section will get disabled. This is useful in situations where the user only needs to disable a few user mode services instead of using the batch approach with [enabled_services] or would like to disable kernel mode services at all

    • Paths to folders or binaries can be specified in the [rename_binaries] section. The logic behind this is that when a binary gets renamed to anything other than its original file name, it will not run. Avoid folders and binaries with # in the name due to conflict with inline comments

  • Pass lists.ini as an argument to the program through the command-line with the command below to build the scripts

    service-list-builder "lists.ini"
  • The scripts will be built in the build folder. NSudo is required to run the scripts with Enable All Privileges checkbox enabled to prevent errors when writing to registry and renaming files

Example

About

Create batch scripts to seamlessly toggle between minimal and default services in Windows based on user-defined lists

License:GNU General Public License v3.0


Languages

Language:Python 100.0%