Keyboard and mouse not working in Windows


So my keyboard and mouse suddenly stopped working, and I really didn’t know why. What followed was many frustrating hours spent to try and “safe” my machine from a new fresh Windows 7 install, because it would take just too much time to do a fresh install of everything that I currently have on the laptop.

However, the keyboard did work while I was trying to access the BIOS, but as soon as Windows started loading the keyboard and touchpad stopped working. The system booted to the Windows logon screen and I wasn’t able to do anything. Or at least, then I decided to confront the problem. 🙂

Note: First create a backup of your registry or create a System Restore point before you proceed!

The symptoms

Further symptoms manifested themselves by showing that there were some driver problems in the Device Manager. The following devices seemed to have problems:

  • HID Keyboard Device
  • Standard PS/2 Keyboard
  • PS/2 Compatible Mouse

The error codes varied and so it is really dependent of your system configuration, but is should be at least one of the following:

  • This device cannot start. (Code 10)
  • This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)
  • Windows cannot load the device driver for this hardware. The driver may be corrupted or missing. (Code 39)
  • Windows cannot access this hardware because its service key information in the registry is missing or recorded incorrectly. (Code 40)

Fix it automatically in Windows Vista/7

You can fix the problem automatically by downloading and running the following registry file:


Now just restart Windows and the problem should be solved.

If the problem is still present and/or you want to fix it manually, then follow the instructions in the section Fix it manually.

Fix it manually

You should access the registry by clicking on Run and then typing


Now find the following key:


You should now see a key UpperFilters which should contain at least one entry “kbdclass”. If you have the same problem as I do, then you there are more entries there which you should delete. So now after editing, your UpperFilters key should only contain “kbdclass” (without quotes). Restart Windows, and the problem should be fixed. 🙂

If you only have the entry “kbdclass” as value and/or are still experiencing the same problem, then you should search for the word “kbdclass” (without quotes) and replace every UpperFilters key with kbdclass and other values to only kbdclass.


Below you’ll find further information and alternative scenarios on how to fix certain sub-problems.

Problems with logging into Windows

To fix the problem you should be able to access the Registry in some way and change the registry keys. I managed to get into windows by using a separate USB-mouse and accessing the On-Screen Keyboard by which I could login and do the necessary registry changes. You can do this by

  1. Clicking on the Ease of Access button at the bottom-left corner of the login screen
  2. Checking the “Type without the keyboard” and clicking OK
  3. Clicking on: Ctrl+AltGr+Del
  4. Logging in

Fixing other similar problems

The problem in my situation was that there was also a keyboard driver installed from VMware. The VMware Keyboard Driver had an additional entry “vmkbd” in the UpperFilters key, but as I discovered the driver file that was needed (C:\Windows\system32\drivers\VMkbd.sys) was missing which in effect caused all the problems.

The folder with GUID


represents the class Keyboard that is defined by the Windows operating system. It is used to install devices or other drivers. If you have another but similar problem, then you could try to analyze the filters under the GUIDs as listed below (see [3] for a complete list).

Class GUID Device Description
CDROM 4D36E965-E325-11CE-BFC1-08002BE10318 CD/DVD/Blu-ray drives
DiskDrive 4D36E967-E325-11CE-BFC1-08002BE10318 Hard drives
Display 4D36E968-E325-11CE-BFC1-08002BE10318 Video adapters
FDC 4D36E969-E325-11CE-BFC1-08002BE10318 Floppy controllers
FloppyDisk 4D36E980-E325-11CE-BFC1-08002BE10318 Floppy drives
HDC 4D36E96A-E325-11CE-BFC1-08002BE10318 Hard drive controllers
HIDClass 745A17A0-74D3-11D0-B6FE-00A0C90F57DA Some USB devices
1394 6BDD1FC1-810F-11D0-BEC7-08002BE2092F IEEE 1394 host controller
Image 6BDD1FC6-810F-11D0-BEC7-08002BE2092F Cameras and scanners
Keyboard 4D36E96B-E325-11CE-BFC1-08002BE10318 Keyboards
Modem 4D36E96D-E325-11CE-BFC1-08002BE10318 Modems
Mouse 4D36E96F-E325-11CE-BFC1-08002BE10318 Mice and pointing devices
Media 4D36E96C-E325-11CE-BFC1-08002BE10318 Audio and video devices
Net 4D36E972-E325-11CE-BFC1-08002BE10318 Network adapters
Ports 4D36E978-E325-11CE-BFC1-08002BE10318 Serial and parallel ports
SCSIAdapter 4D36E97B-E325-11CE-BFC1-08002BE10318 SCSI and RAID controllers
System 4D36E97D-E325-11CE-BFC1-08002BE10318 System buses, bridges, etc.
USB 36FC9E60-C465-11CF-8056-444553540000 USB host controllers and hubs

The next step is to adjust the UpperFilters like the problem where the CD or DVD drive is missing or not recognized by other programs [1][2].


Cannot Install Microsoft .NET Framework 3.5 SP1

There might be several reasons as to why you can’t install the .NET Framework. I had the problem while installing the framework via the Windows Update.

While trying to install Microsoft .NET Framework 3.5 SP1 Update for Windows 7 x86 (KB982526), Windows Update told me that the update was unsuccessful and gave me the following “useful” error:

“WindowsUpdate_800F081F” “WindowsUpdate_dt000”

You might also get several other errors similar to the following:

  • an error of type 0x643
  • Microsoft .NET Framework 3.5 (x64) ‘package’: [2] Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) ‘package’. MSI returned error code 1601
  • Microsoft .NET Framework 3.5 (x64) ‘package’: [2] Error: Installation failed for component Microsoft .NET Framework 3.5 (x64) ‘package’. MSI returned error code 1603
  • Microsoft .NET Framework 3.0SP1 (x64) (CBS): [2] Error: Installation failed for component Microsoft .NET Framework 3.0SP1 (x64) (CBS). MSI returned error code -2146762496
  • WapUI: [2] DepCheck indicates Microsoft .NET Framework 2.0SP1 (CBS) is not installed
Regarding the installation via Windows Update, you might furthermore experience problems with installing Windows Internet Explorer 9 for Windows 7 by getting an error similar to this:

“WindowsUpdate_00009C47” “WindowsUpdate_dt000”

It strongly depends on the situation and your system but you might try one of the following solutions:

  • You can first try to install the System Update Readiness Tool for Windows 7 which is an August 2011 release (KB947821 – 32-bit (x86)) at this moment of writing. This should solve any inconsistencies in the Windows servicing store which may prevent the successful installation of future updates, service packs, and software. There is also a 64-bit version for Windows 7. Windows Vista: 32-bit (x86), 64-bit (x64).
  • If you’re not using Windows Update, then you can try to download and install the framework manually: Microsoft .NET Framework 3.5 Service Pack 1.
  • There is also a newer version of the framework which most newer applications use which might also suffice: Microsoft .NET Framework 4 (Web Installer).
  • Another thing that you can try on top of all the above is to first remove all the existing .NET framework versions. Do it via Add or remove programs from the Configuration Panel. You can also try the .NET Framework Cleanup Tool.
  • Do the following: Start > Run > type “services.msc”. Now check whether the Startup Type of Windows Installer is set to Manual.
  • Go to Start > Control Panel > Programs > Turn Windows features on or off. Check now that the Microsoft .NET Framework 3.5.1 is checked on.
  • Disable any security/antivirus software while trying to install. Usually this shouldn’t give problems, but it’s worth a try.
If you still didn’t fix your problem, you can start a discussion in the comments below. If you fixed it in another way, then please share it and I’ll add it to the list above.

Restore Outlook Account Settings From Second Drive

In some strange situations it might occur that you want to recover your Outlook Account Settings from an old drive or partition on which you are unable to boot in Windows (or you just don’t want to). Unlike the Outlook mails which are stored in a PST file, the Outlook account settings are located in the Windows Registry. If you haven’t deleted your Windows files it is possible to access certain registry keys so that you can export all the account settings information and import it in your current registry.

This tutorial applies for Outlook 2007, but it might also be usable for Outlook 2003 and Outlook 2010.

Continue reading Restore Outlook Account Settings From Second Drive

Windows 7 Login Error “The referenced account is currently locked out and may not be logged on to”

Today I started my desktop PC and when I wanted to login I got an unexpected Windows message:

The referenced account is currently locked out and may not be logged on to.”

I retyped my username and password without thinking much about it, but it showed again the same message. Even after rebooting the PC, the same message was visible every time. A few minutes I sat and thought about it, but then suddenly I figured out what the real problem was.

Some time earlier I was testing some stuff and changed the domain and computer name of the PC to that of my laptop. So basically, both machines were connected to the network with the same name on the same domain, and that was the obvious problem.

So the problem was clear, and the solution simple. I just had to change the computer name and everything should be fine again, but the problem was that I was unable to login on my PC since my laptop was also running. I switched off the wireless adapter of the laptop, but it didn’t help. I had to switch off the PC wireless adapter, restart the machine and login. After changing the computer name and restarting again, the problem was resolved.

To summarize everything, if you get the same error, it might be the case that two machines are using the same name on the same domain, as was in my case. You should proceed as follows:

  1. If you cannot login to Windows because you are getting the above mentioned error, switch off the wireless adapter, unplug your Ethernet cable or turn off the router and then (re)start your machine and login to Windows (so the machine shouldn’t be connected to the network/internet).
  2. After you have logged in, make sure to change your computer name to some unique name that is accepted by the domain (or fix some other issues if you are experiencing another similar problem).
  3. Now connect again to the network/internet and restart your machine.
  4. You should be able to login again as usual.

Bosanska QWERTY tastatura u Windowsu

Za one koji žele da preskoče moju čitavu pricu i da direktno pređu na instalaciju, mogu nastaviti sa slijedećim linkom:

Download B_QWERTY tastature v1.0 (347kB)

MD5 hash: 5f84c104ba911dfdded60442b6eb4c10

U slučaju da negdje zapne kod instalacije, ispod se može naći čitavo upustvo za instalaciju. Poznati problemi i moguća riješenja se mogu naći na kraju članka.

Konačno sam našao vremena i na kraju i uspio da riješim problem sa afrikatima u Windowsu. 😀 Problem je dakle bio da sam ubacivanje afrikata morao da radim putem unikod brojeva sa alt kombinacijom preko num lock-a [ref]Za one koji nemogu da prate ovo zadnje, uradite slijedeće: drži te ALT dok ukucajete brojeve 0154 i zatim pustite ALT. Ako ste uradili sve kako treba onda bi vam se trebalo pokazati slovo š. Ovo važi samo za tastature koje imaju NUM LOCK sa strane. Na laptopima naprimjer je moguće potrebno da se prvo aktivira num lock.[/ref]. Jedna druga mogućnost je bila da se stavi Bosanska tastatura (BS) koju Windows standardno nudi. Međutim ta tastatura nije QWERTY rasporeda kao što je na fizičkoj tastaturi koju ja lično koristim, nego QWERTZ koja u mom slučaju nije praktična zbog razloga da mi se sve tipke ‘poremete’ [ref]QWERTZ tastature se koriste na primjer u Njemačkoj i Belgiji, dok su QWERTY tastature na primjer u Americi, Engleskoj i Holandiji korištene.[/ref].

Bosanska QWERTY tastatura
Problem je riješen time da sam napravio svoju tastaturu u Windowsu. Nije sad neki genijalni pronalazak, ali ipak mi je dosta olakšao rad sa afrikatima na tastaturi.

Tastatura je ustvari US International tastatura sa dotatim afrikatima (i još par malih izmjena da bi se napravilo mjesta za afrikate). Tastatura je uglavnom definisana na slijedeći način (klikni na sliku za uveličan format):

B_QWERTY standardne tipke
B_QWERTY standardne tipke
B_QWERTY "AltGr" tipke (AltGr = CTRL+ALT)
B_QWERTY “AltGr” tipke (AltGr = CTRL+ALT)
B_QWERTY "AltGr + Shift" tipke (AltGr+Shift = CTRL+ALT+Shift)
B_QWERTY “AltGr + Shift” tipke (AltGr+Shift = CTRL+ALT+Shift)

Znači kombinacije su slijedeće (kombinacija ALT+CTRL je ustvari ista kao dugme AltGr koje se inače može naći na skoro svakoj sadašnjoj tastaturi):

  • ALT+CTRL+C = ć
  • ALT+CTRL+X = č
  • ALT+CTRL+Z = ž
  • ALT+CTRL+D = đ
  • ALT+CTRL+S = š

Meni lično ovo čini rad dosta lakše, pošto su mi sve kombinacije od prilike na jednom mjestu.

Ovdje ću opširno objasniti kako se instalira program, tako da nebi došlo do neke zabune. Krenimo od početka.

  1. Kad skineš fajl, pokreni ga.
  2. Pričekaj barem jedno desetak sekundi dok se sve instalira (može potrajati i malo duže, zavisno od sistema što koristite). Zatim će se pokazati prozorčic da je instalacija tastature završena.
  3. Tastatura je sada instalirana.

Jedino je još potrebno da se aktivira EN tastatura umjesto tastature koju ste već bili koristili. U mom slučaju je to bila NL tastatura. Ovo se može naći desno dole u ćošku.

Aktivirati tastaturu

Tastatura koju ste već bili koristili će ostati kao primarna. To znači da će biti potrebno za svaku aplikaciju posebno odabrati EN kao standardnu tastaturu. Da bi se ovo izbjeglo mora se novo instalirana tastatura staviti kao primarna. To se može uraditi klikom desnim mišem na skraćenicu tastature u desnom doljnem cošku izabirajući postavke (Settings). Zatim se selektira novo instalirana tastatura kao standardna kao što je prikazano na slici ovdje ispod.

Promjeniti primarnu tastaturu - prvi korak.
Promjeniti primarnu tastaturu – prvi korak.
Promjeniti standardnu tastaturu - drugi korak.
Promjeniti standardnu tastaturu – drugi korak.

Kad potvrdite prozor sa OK, nova tastatura će biti standardno aktivna i moći ćete da konačno počnete koristi naše sjajne afrikate. 😀 Ako se ipak desi da ubacivanje afrikata sa gore navedenim kombinacijama neradi, onda provjeri te u ćošku da je tastatura na EN i budite sigurni da je instalirana verzija. U zadnjem slučaju možete isto probati na novo startanje sistema.

Samo još da dodam da je moguće da imate već EN tastaturu instaliranu. U tom slučaju će se vjerovatno pokazati tastaturica, na kojoj iste korake možete pratiti kao što sam gore već naveo.

EN tastatura
EN tastatura

Brisanje tastature
Tastaturu možete jednostavno izbrisati ako pokrenete istu instalaciju ponovo. Zatim će vas installer pitati dali želite da izbrišete tastaturu.

Brisanje tastature
Brisanje tastature

Klikom na Finish će se tastatura kompletno izbrisati sa vašeg sistema. Brisanje tastature je naravno isto moguce preko Control Panel-a u Windowsu.

Poznati problemi
Korištenje tastature u raznim programima može dovesti do problema gdje se određeni afrikati nemogu ubaciti. To se dešava u većina slučajeva zbog razloga da ti sami programi mogu biti naštelovani da koriste iste kombinacije tipki kao što je navedeno i na tastaturi.

Ispod ću držati listu programa koji su poznati da stvaraju ove navedene probleme, i moguća riješenja da se afrikati ipak potpuno mogu koristiti.

1. Microsoft Office Word 2007

Word ima svoje određene kombinacije tipki koje smetaju našim afrikatima kao što su definisane. Potrebno je da izbrišete ili da barem promjenite ove kombinacije. To se može uraditi slijedećim putem, kao što je pokazano na slikama (program kod mene lično je na Engleskom, ali na drugim jezicima će te se uz pomoć ovih slika sigurno isto vrlo lahko snaći) :



Dakle ovdje u ovoj zadnjoj slici se vidi da je naše definisavno slovo š zauzeto za drugu komandu pod imenom InsertEndNoteNow. Ovo se može selektirati i izbrisati, i ako vam je potrebno, novu komandu unijeti. Da izbjegnem još više slika, skupit ću sve ove akcije i njihove komande u jednoj listi.

Kod All Commands:

  • Formatting Pane (Alt+Ctrl+Shift+S)
  • Doc Split (Alt+Ctrl+S)
  • GoBack (Alt+Ctrl+Z)
  • InsertEndNoteNow (Alt+Ctrl+D)

Kod Common Symbols:

  • © Copyright (Alt+Ctrl+C)

Ako još uvjek imate problema da nađete ove akcije, onda možete sami ubaciti komandu (naprimjer CTRL+ALT+C) u polju Press new shortcut key kao što je označeno u slici ispod. Sa ovom metodom će te naći sve definisane kombinacije koje su već zauzete, i stim ih i izbrisati/izmjeniti.

unassigned znači da komanda nije definisana uz neku akciju u wordu i znači da se afrikat č (ALT+CTRL+C) bez problema može ubaciti.


2. Word 2010 i Outlook 2010

Za ova dva programa pogledati noviji članak ovdje.


3. Cataclyst Control Center

Cataclyst Control Center je pogram koji se upotrebljava za grafičke ATI karte. Bez obzira sad na to, program ima, kao i gore navedeni Word, svoje unaprijed definisane kombinacije tipki kao što je CTRL+ALT+C. Pošto je program u pozadini aktivan, ovo će smetati tokom upotrebe afrikata u svim programima i zato je vrlo potrebno da se tzv. Hotkeys promjene (potrebno je CCC ugasiti ili restartovati da bi ovaj efekat postao aktivan).