When trying to open Ardor, the following message "Could not initialize Ardor (likely due to corrupt config files) appears. Run Ardor from a commandline for more information. "
I tried to uninstall and install again, but this problem continues.
That is expected. That re-installs the application, it has no effect on user-preferences.
On Windows they are in %localappdata%\Ardour6 (type %localappdata% in an explorer bar). Remove the Ardour6 folder, or move it out of the way, and re-start Ardour.
hope that helps.
PS. If that solves it. it may be helpful if you could zip up the old prefs and upload it for us to investigate.