Is there a task for reading values from the windows registry ?
I think one such task could be written, by interfacing with the Preferences API that is in jdk1.4. I think it comes with a provider for the Windows registry.
An undocumented interface to the windows registry; the preferences API only gets at a small subset of the registry HKCU/Software/Sun/ or some such, and escapes/unescapes text strings. You'd need to step into the java source to find the JNI calls they make, replicate them and hope that sun never move them from version to version.
Much easier would it be using one of the many java libraries for accessing the Windows registry.