The simplest way to write/delete to the registry would be via windows scripting host and a copule of vb scripts.
You can automate many tasks on your Windows 11 PC using batch files. I’ll explain what a batch file is, how you can create one, and show you some interesting and useful uses of these files. A batch ...