systemctl-preset-all
Reset the enablement state of all installed units to the defaults specified in preset policy files. tldr-pages
On Linux
Linux
Reset the enablement state of all installed units
sudo systemctl preset-allIdentifyEnable only if marked as enabled in the preset policy
sudo systemctl preset-all --preset-mode enable-onlyIdentifyDisable only if marked as disabled in the preset policy
sudo systemctl preset-all --preset-mode disable-onlyIdentifySuppress output and return only the exit code
sudo systemctl preset-all --quietIdentify