How is it possible to read/write to the Windows registry using Java?
The Preferences API approach does not give you access to all the branches of the registry. In fact, it only gives you access to where the Preferences API stores its, well, preferences. It's not a generic registry handling API, like .NET's
To read/write every key I guess JNI or an external tool would be the approach to take, as Mark shows.