This operation requires an interactive window station

Julien
Julien
Jan 24, 2018 · 3 min read

TL;DR: Leave your device plugged to your PC and “Refresh your PC”

As an Android developer I’ve been trying to install the USB driver for my Nexus 5 for ADB/debugging purposes. Worked perfectly under Windows 7, works perfectly at home… Fails miserably at my parents’ for some reason.

After going through the 5 stages of grief and finally accepting that I would never be able to develop the ultimate Flappy bird clone while on vacation, I stumbled upon several forums that pointed me to the right direction. But first, let’s point out the problem.

The problem

  • You plug in your USB device
  • It appears unknown in the Device Manager
  • You right-click and try to Update the Driver Software
  • You pick the driver… and then BAM!

Ok, so you’ve got the right driver, the right version, you’re an Administrator… it’s just Windows being a little bitch.

The solution

Well, kinda. A real solution would be for Microsoft to publish a fix, or to move some files around or something, but after trying many “solutions” that didn’t work (changing the permissions to the drivers and Driverstore folders, enabling the administrator account and installing the driver from there, Rebooting the computer and authorizing unsigned drivers, …) I found a solution that worked for me.

Disclaimer / Caveat You won’t lose your personal files (love letters written in notepad, pictures of kitten), but you will have to re-install all your software. All of it. Browser, media player, IDE, cracked Adobe suite… Everything. Now, saving everything in the cloud doesn’t seem like such a bad idea, right?

This is unconvenient but it’s a step above the previous best solution that was to reformat your hard drive and install Windows again.

Step 0: Keep your device plugged in the USB port (or plug it right now)

And then I’ll just Google and copy-paste “Refresh Windows 10”:

Your computer is going to restart and repair your Windows installation. Mine got stuck a long time on 8%, and then went through anyway, so be patient.

When it restarts, you’ll still have your users, your desktop background, everything but your applications. Go back to the device manager, right click on the Unknown device, update it… And this time it works like a charm.

Takes an hour or so, but now you can start a new life, like nothing happened and eat your spaghetti like everything’s right in the world.

cod3

Stuff I wish had been on top of Google results when I was…

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store