In this case, "Templates" seem to be the best solution for Windows, as Duarte Farrajota Ramos has already noted in the comments.
...However, these do not work exactly as described in the official documentation.
Basically, each custom template can have its own settings for userpref.blend, startup.blend and splash.png (as well as run its own scripts on startup).
The procedure is as follows:
First you have to create the folder "bl_app_templates_user" in the path C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\X.X\scripts\startup\
.
(USERNAME must be replaced with your username and X.X with your Blender version)
In this path a folder for your personal template will be created. In this example I choose the name "Geometry Nodes".
However, this must be done with underscores, so the final path must be as follows:
C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\X.X\scripts\startup\bl_app_templates_user\Geometry_Nodes\
.
You can then save your own configuration files in this path. According to the manuals, these are
- startup.blend (which contains the startup scene)
- userpref.blend (this file contains the preferences)
- splash.png (1500x500 px !)
- __init__.py
Important: The most important point is that the file userpref.blend is present (you can copy this file from another existing configuration and use it as a basis)!
If this file does not exist, the settings are saved in the main configuration file instead!
So the userpref.blend in the path scripts\startup\bl_app_templates_user\Geometry_Nodes\
serves as the basis for your own settings within this template.
To complete the confusion, please note the following:
- The files in
scripts\startup\bl_app_templates_user\Geometry_Nodes\
serve as a starting point and are also used when resetting the configuration.
- However, the final configuration is saved in
config\Geometry_Nodes\
(the files are automatically copied there on first startup), and any further changes to the configuration are also made there!
In this way, there is always an (unchanged) starting point of the configuration to which you can return at any time, and a current configuration that contains the settings made afterwards.
Briefly summarized to repeat:
- Find Blender configuration path, e.g.
C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\X.X\
.
- Create there a folder named
scripts\startup\bl_app_templates_user\Geometry_Nodes\
.
- In this folder save the custom files (userpref.blend, startup.blend, etc.)
And after that, all personal settings for the template based on these files will be automatically saved in config\Geometry_Nodes\
.
The templates can then be easily switched via File > New, or selected on startup at the splash screen.
Choose custom template at startup
Choose custom template from the file menu
And the special thing about this solution is that all settings, including your enabled/disabled add-ons, are saved individually in this way, so you can always set up the optimum environment for you, depending on the application.
You can also start Blender directly via a starter with your individual configuration by using the --app-template
parameter:
"C:\PATH_TO_BLENDER\blender-launcher.exe" --app-template Geometry_Nodes
PS: This solution works with the installed version of Blender as well as with the portable version.