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
Image for post
Image for post
  • You right-click and try to Update the Driver Software
  • You pick the driver… and then BAM!
Image for post
Image for post
Image for post
Image for post

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?

Image for post
Image for post

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…

Julien

Written by

Julien

Entrepreneur / App developer & designer / Desktop, web & mobile

cod3

cod3

Stuff I wish had been on top of Google results when I was stuck, mostly about web development. Also anything I feel like sharing.

Julien

Written by

Julien

Entrepreneur / App developer & designer / Desktop, web & mobile

cod3

cod3

Stuff I wish had been on top of Google results when I was stuck, mostly about web development. Also anything I feel like sharing.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

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