I decided to finally get GTA The Trilogy on steam during a sale, I tried to play GTA Vice City but every time I open the game it says the game requires at least directx 1.8 (even know I directx 12 comes with windows 10) to play the game and also says "An app on your PC requires the following feature Directplay. I looked at some articles online and they said to Control Panel > Programs and Feature > Turn Windows features on or off > Legacy Components > Direct Play, I did what they said but every time I try to do it the computer says that it needs to restart, so I restart the computer but after the computer restarts it gets unchecked and I'm back where I was again. If anyone knows how to fix this please let me know.
Edit: Just realized as soon as I restart my computer there is a error in notifications. The error code only shows sometimes this also happens on GTA SA and 3