windows: read the log path from the registry