Ok, if the reg works, then i will add it to the next version (maybe at the weekend).
The problem with spaces in the folder name is allready known, but the problem is not located in my files. It's a problem of the PrepareRelease.cmd as i remember.
I believe, that entering the path to the WSUS OU folder manually is not the correct way to automate this and so i will not change it.