One of the kids I teach coding has one of those "everything must go through mother's approval " applications scenarios. Poor kid, but regardless, we were installing the Arduino IDE, which went by just fine, but on the first launch, Arduino usually sets up all the default drivers, dependencies and daemon. This is where the proverbial caca hit the fan. Every single driver and package that Arduino Prompted to install on the first launch were blocked with a parental password request. And the parent was not available to approve them, so we had to cancel each and every one of them.
The following week, during our session, we launched Arduino again, this time with the warden at the ready to enter all the passwords, but this time, none of the popups appeared. The Daemon remains offline and we can't use the IDE.
Is there a way to relaunch the process of dependencies installation? We tried uninstalling the IDE using windows uninstall utility but there might be some cache files still sitting somewhere, because once we re-installed, we didn't get the prompts either.
Here's a step-by-step guide to help you troubleshoot this issue:
Uninstall Arduino IDE
Uninstall Arduino IDE using Windows uninstall utility.
Clean Registry and Orphan Files
Important: Before proceeding, make sure to backup the registry. Editing the Windows Registry improperly can cause problems that may require you to reinstall Windows.
Use a Registry Cleaner or manually go into the registry (type regedit in the Windows search bar and press Enter) to remove all entries related to Arduino.
You may also need to delete any files or folders that remain in the Arduino directory. These are usually located in the Program Files or Program Files (x86) directory.
Remove Driver Cache
Go to Device Manager by right-clicking the Start button and choosing Device Manager.
If you can find any Arduino related drivers under Ports (COM & LPT) or anywhere else, right-click them and choose "Uninstall device."
Reinstall Arduino IDE
Download the latest version of Arduino IDE and install it.
Run as Administrator
After installation, try right-clicking the Arduino IDE shortcut and choosing "Run as administrator". This will give the application the permissions it needs to install drivers and other software components.