Hello ! I'm Aymeric, an independent advisor, and I'm here to help !
You cannot enable and disable instruction sets directly from Windows.
Processor instructions such as AVX, AVX2 and AVX512 are managed in your computer's UEFI (make sure your CPU is compatible first!)
To enter into the UEFI, you must press a key when your system starts up. Generally, it can be the Del, Esc or F10 key.
Once you're in, you'll have to find the correct setting to enable the instruction set.
If you're struggling to find the correct setting, please let me know the make and the model of your PC so that I can help you more effectively.
Looking forward to your answer !