@garlin is there a command to set all services to "automatic" ?
No... and that isn't a good idea.
When you mess up Windows, and don't want to re-install... do an In-Place Upgrade...
An In-Place Upgrade "compares" what is installed on the computer, with the Windows ISO image.
Then, it overwrites any corrupted Windows files, with clean copies from the ISO image.
This is how it "repairs" Windows while allowing you to keep your programs and personal files.
This tutorial will show you how to do a repair install of Windows 11 by performing an in-place upgrade without losing anything. If you need to repair or create a new recovery partition or having problems with the Windows 11 operating system on your PC, and the usual solutions will not fix it...
www.elevenforum.com
Here is the short version of the In-place upgrade tutorial...
DISABLE non-Microsoft:
a) antivirus software
b) firewall software
c) drive encryption software
Make a full OS backup with a program like Macrium Reflect or AOMEI Backupper Standard
Making a backup is optional, but always a smart move.
Macrium Reflect
AOMEI Backupper Standard (free)
Hasleo Backup Suite (free)
Get the
Windows 11 ISO (Option #2), and save it to your desktop...
Right click the ISO image and choose:
MOUNT
Open File Explorer and you will see a new drive letter. It will "look" like a DVD optical drive.
Double click the new drive letter to open it.
Find
setup.exe and double click it to start the in-place upgrade.
Choose the
Keep personal files and apps option.
After it's all done... to UNmount the ISO image, right click the new drive letter and choose:
EJECT.
The ONLY thing you will lose is about 1% of your personalizations.
Your drivers, programs and data will be intact.