This website contains age-restricted materials including nudity and explicit depictions of sexual activity.
By entering, you affirm that you are at least 18 years of age or the age of majority in the jurisdiction you are accessing the website from and you consent to viewing sexually explicit content.
Mentioned this in another comment. Take that second dism line, and put it in a batch script and make it a scheduled task that runs at login. Or use a Powershell script to make it a little smarter - check if it’s enabled first and then disable it if it is.
Modern problems require modern solutions.
Any IT admins in the audience: this is what remediation scripts were made for