You were right about the sub-key. It doesn't always ends with: "0000001". it can also be "0000002" enz...

I tried the last script and it doesn't work.
I don't get an error message or something, but the registry settings are not changed.