When Cheap Batteries Leak in the Remote

We moved to a new house and just got our WiFi setup. Unfortunately, the remote for our Roku TV wasn’t working. We use the app on our phones as a remote. While the remote sat forgotten in a desk drawer the cheap alkaline batteries leaked and corroded the terminals. BUT… we needed the remote to connect to the new network. There was no way to do it through the menu buttons on the TV. Sanding the terminals in the control