I've disabled both my keyboard and mouse drivers, any way to enable them back via bmr?
Solution 1:
A few probable solutions:
- Boot into safe mode.
- Before the Windows kernel is fully loaded, hit ctrl and F8 at the same time. Though it doesn't sound very scientific, with faster boot times I will hold ctrl and just spam F8 like crazy (sometimes I'll hit a bunch of keys!)... The key is to hit it AFTER the BIOS posts, but BEFORE you see the windows logo.
- From here, select "Enable Safe Mode" and see if your KB/Mouse works once it boots. If it does, go into device manager and re-enable the drivers, if not, see the next option.
One problem with Safe Mode is it still loads a list of drivers, however it uses a new configuration for them and only loads "official" drivers; If you boot into a recovery mode from an installation media however, it will load Window's default drivers and config, while still letting you edit the config on the installed system.
- Download the media creation tool (assuming you have Windows 10) on another PC and use a USB (easy to follow instructions here)
- Plug the USB into your broken system, and hit some keys (normally F8, F2, or Escape) to get into the boot menu and select your USB drive to boot from (this varies slight from computer to computer)
- Select "Repair Computer" in the left. DO NOT select install.
- From here, follow the prompts on screen until you can get to a terminal (CMD).
- At the terminal you can open
regedit
and navigate to:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
Here you can add entries to files that will run when Windows starts/users login. - Note, that if you have more than one user this won't run until you login, you can change allot of settings from here to make your auto-login if you are not using a MS account or are on versions of windows newer than Windows 10, you can set the auto-logon account and remove the password via the CMD & Regedit (a quick google search will show you how) if you have a Microsoft account, you can use the CMD to create a new local user (admin) and set the password to nothing, and then use the Regedit to set it to auto logon as that user.
- Create a batch file somethingsomething.bat and build a query based on this answer keeping in mind you may have to try this a few times until you get the output and learn what to use for the input etc... (Note, from here you could also do a bunch of options, like enable RDP (remote desktop) stop services (like antivirus) and related that might let you get easier access into the computer. Depending on how your devices got disabled something like RDP may work. Keyboards and Mouses, rrr mice, mices, the pointy thing uses HID drivers (Human Interface Device) so it really depends on what happened to that.
Hopefully something here helped, if you can provide more info we can help more. It would be helpful to know:
- What operating system are you using (Windows 7, 8, 8.1, 10, etc)
- What happened right before the devices stopped working? Do you believe it was something you did or something else (like a virus, corruption, update, hardware failure, etc)
- What are some things you have tried, and what resources do you have access to (do you have another computer you can use, do you have admin rights on the computer, is it a MS account or a local account, etc)
The last thing, that sounds dumb, but it's worked in the past... Change USB ports to a port that has never had a Keyboard or mouse on it. When a new device is recognized Windows associates that port with a device type and driver so just changing ports (or moving from "USB2 to USB3 or vice versa) may help; also reboot the computer with them in different ports so the Kernal loads them (but start by changing them while the system is running, and give Windows time to associate the port and driver (5 mins)).
Solution 2:
I have a few ideas on how to fix this, but I have no idea if any of them would work. I'll post them as separate answers.
If you have RDP or WinRM (or even SSH server. I've never tried it on windows, but I've seen it in advanced features) configured, you could try connecting from another computer and enable it that way.
WinRM shouldn't be dependent on keyboard/drivers as that, if my understanding is correct, is basically remote shell.
RDP could be dependent on the drivers. Or it might not. I'd guess that it is not, but I really have no idea about RDP internals.
Solution 3:
Can you make an autorun.inf file on a USB with another pc and have that file autorun a script containing the steps given by @Esvin Joshua
https://www.samlogic.net/articles/autorun-usb-flash-drive.htm
There's a link on how to make that autorun file. I haven't tried this but good luck!
Solution 4:
Assuming you have an external wireless keyboard(what I am about to say won't require a mouse);
press windows key + r
type cmd and press control + shift + enter
to launch cmd as admin.
Next, write the command rundll32 keyboard, disable
. Hit Enter.
The keyboard will stop functioning(hold on I know you want to turn it back on and I am getting there)
to turn it back on just type rundll32 keyboard, enable
to turn it back on.
Solution 5:
If you have a PS2 keyboard/mouse laying around (and your motherboard has PS2 input connector), you could try that. Maybe USB and PS2 use different drivers.