Trying to Uninstall PS/2 Keyboard  

Page 1 of 2 12 LastLast

  1. Posts : 5
    Windows 7 Home Premium 32 Bit SP1
       #1

    Trying to Uninstall PS/2 Keyboard


    In December 2010, I spilled water on my computer and that caused the keyboard to malfunction. Since then I have used 2 different wireless keyboards with great success. The issue is that my old keyboard still types things when I put pressure on certain keys and it is on my last nerve.

    I uninstalled it on Device Manager but then Device Manager recognized it again and the computer reinstalled the driver. I have a Toshiba T135-S1305 running Windows 7. If you need anymore information from me, please let me know. Thanks in advance.

    Ericbn2011
      My Computer


  2. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #2

    Erichbn,
    Welcome to SevenForums.

    Try:
    Go into device manager.
    rt-click on the defective device.
    choose Disable.
    After confirming that you want to disable,
    choose Uninstall and confirm.
    Immediately power off your computer.
    Power On your computer.

    Is the problem gone?
    ===========================================
    ===========================================

    I would like for to use following to collect info about your system. Use the info to complete your system specs.

    Attach the resulting MySystem.txt file to your next post.

    =====================================

    # **********************INSTRUCTIONS**************************
    # STEP 1 ** RUN POWERSHELL AS ADMINISTRATOR ******************
    # ************************************************************
    #
    # WIN key | type POWERSHELL | do NOT hit ENTER |
    # in the PROGRAMS list, right-click on WINDOWS POWERSHELL |
    # choose "Run as administrator" |
    # Click on the YES button (if such appears)
    #
    # WIN key = key with Microsoft log on top
    #
    # for the guru:
    # WIN | type POWERSHELL | CTRL+SHIFT+ENTER key combo | ALT+Y keycombo
    # ************************************************************
    # STEP 2 ** COPY AND PASTE ***********************************
    # ************************************************************
    #
    # COPY the script using CTRL+C,
    # COPY every line of script down thru both EXIT statements
    #
    # PASTE into Powershell
    #----Right-Click at the PowerShell Prompt
    #----(Ctrl+V does not work)
    #
    # Start copying with first script line without a # at start of the line
    # Note: Actually, you can paste the entire file if you rather
    #-------Lines starting with a # are ignored by PowerShell
    # ************************************************************
    # STEP 3 ** SCRIPT OUTPUT & SCRIPT PURPOSE *******************
    # ************************************************************
    # --The script output and purpose is given at the very front of the script
    #
    # --The script output and purpose is given at the very front of the script
    #
    # ************************************************************
    # ***************** NOTE - POWERSHELL VERSION*****************
    # if you receive this error msg:
    #--The system can not find the path specified
    # you may need to update your PowerShell
    # you must be using Powershell 2.0 or later.
    #
    # To determine your Powershell version:
    #---Run PowerShell
    #---enter $host.version
    #---you should see at least:
    # Major Minor Build Revision
    # ----- ----- ----- --------
    # 2......0......-1.....-1
    #
    # If you do not see the above, update your Vista/Win 7.
    # ************************************************************
    # *************** NOTE - EXECUTION POLICY*********************
    # If you haven't set the execution policy, you may need to:
    #---Run PowerShell
    #---enter SET-EXECUTIONPOLICY -EXECUTIONPOLICY REMOTESIGNED
    # ************************************************************
    Script:
    # ***********************************************************************
    # Places MySystem.txt on your desktop
    # MySystem.txt contains info about your system
    # ***********************************************************************
    function bytesize ($n)
    { If (
    $n -ge 1tb)
      { 
    $result "{0:n2}" -($n 1tb) + " TB" }
      elseif (
    $n -ge 1gb)
       { 
    $result "{0:n2}" -($n 1gb) + " GB" }
      elseif (
    $n -ge 1mb
       { 
    $result "{0:n2}" -($n 1mb) +  " MB" 
      elseif (
    $n -ge 1kb)
       { 
    $result "{0:n2}" -($n 1kb) + " KB" 
      elseif ( 
    $n -ge 0
        {
    $result = [string][int]($n) + " bytes" 
      else
       { 
    $result "n/a"}
      
    $result }    

    function 
    asc2str ($str) {$l=$str.length;$b "";$j=0
    If ($l -gt 1) {
    for (
    $i=0$i -lt $l$i +=2) { $b += [char](([byte][convert]::toint16($str[$i],16) * 16) + ([byte][convert]::toint16($str[$i+1],16) ))
    $j++ } } $b.trim() }

    $obj = new-object -typename PSobject
    $os 
    gwmi win32_operatingsystem
    $cs   
    gwmi Win32_ComputerSystem
    $CSprod  
    gwmi Win32_ComputerSystemProduct
    $bios 
    gwmi win32_bios
    $bb 
    gwmi win32_baseboard 
    $vc 
    = @(gwmi Win32_VideoController)
    $snd = @(gwmi win32_sounddevice)
    $dd= @(Gwmi win32_diskdrive)
    $CD = @(gwmi win32_cdromdrive)
    $cpu = @(gwmi win32_processor
    $kbd = @(gwmi win32_keyboard)
    $pntr = @(gwmi win32_pointingdevice)
    $mem gwmi win32_memoryarray
    $ram 
    = @(gwmi win32_physicalmemory)


    $obj 
     
    add-member -membertype noteproperty -name "MAIN" -value ("") -passthru |
     
    add-member -membertype noteproperty -name "Operating System" -value ($os.caption " " $os.csdversion " " $os.osarchitecture) -passthru |
     
    add-member -membertype noteproperty -name "Computer Manufacturer,model, version, system type" -value ($cs.manufacturer " || " $cs.model " || " $csprod.version " || " $cs.systemtype) -passthru |
     
    add-member -membertype noteproperty -name "BIOS Version, date, name" -value ($bios.smbiosbiosversion "||" $bios.converttodatetime($bios.releasedate) + "||" $bios.name) -passthru |
     
    add-member -membertype noteproperty -name "Motherboard Manufacturer, Product" -value ($bb.manufacturer " " $bb.product
    $cnt $cpu.count
    for ($ndx=1$ndx -le $cnt$ndx++) {
      
    $o $cpu[$ndx -1]
      
    $tmp "{0:N3}" -($o.maxclockspeed 1000)
      
    $obj add-member -membertype noteproperty -name ("Processor " $ndx "--Description, Manufacturer, Max Speed") -value ($o.Name " || " $o.manufacturer " || " $tmp " GB"
    }
    $obj add-member -membertype noteproperty -name "VIDEO,SOUND,KEYBOARD,MICE" -value (""
    $cnt $vc.count
    for ($ndx=1$ndx -le $cnt$ndx++) {
      
    $o $vc[$ndx -1]
      
    $obj add-member -membertype noteproperty -name ("Video Controller " $ndx "--Description, Driver Version, Driver Date") -value ($o.caption " || " $o.DriverVersion " || " $o.converttoDateTime($o.driverdate)) 
    }
    $cnt $snd.count
    for ($ndx=1$ndx -le $cnt$ndx++) {
      
    $o $snd[$ndx -1]
      
    $obj add-member -membertype noteproperty -name ("Sound Device " $ndx "--Description, Sound Manufacturer") -value ($o.caption " || " $o.Manufacturer
    }
    $cnt $kbd.count
    for ($ndx=1$ndx -le $cnt$ndx++) {
      
    $o $kbd[$ndx -1]
      
    $obj add-member -membertype noteproperty -name ("Keyboard " $ndx )  -value ($o.name " " $o.description
    }
    $cnt $pntr.count
    for ($ndx=1$ndx -le $cnt$ndx++) {
      
    $o $pntr[$ndx -1]
      IF (
    $o.manufacturer -eq "(Standard system devices)") {$o.manufacturer "Mouse"
      elseif ((
    $o.manufacturer -eq "Microsoft") -AND ($o.hardwaretype "PS/2 Compatible Mouse")) {$o.manufacturer "Touchpad"
      
    $obj add-member -membertype noteproperty -name ("Pointing Device " $ndx "--Device, INF file and INF section")  -value ($o.manufacturer " " $o.hardwaretype " || " $o.inffilename " in " $o.infsection)
    }
    $obj add-member -membertype noteproperty -name "MEMORY" -value ("")
    $obj add-member -membertype noteproperty -name "Total RAM" -value (bytesize(($mem.endingaddress $mem.startingaddress) * 1024))
    $cnt $ram.count
    for ($ndx=1$ndx -le $cnt$ndx++) {
      
    $o $ram[$ndx -1]
      
      
    $obj add-member -membertype noteproperty -name ("RAM " $ndx +"--Manufacturer, Speed, Part #, Serial #, Data width" ) `
    -value ((bytesize(
    $o.capacity)) + " || " + $o.manufacturer + " || " + [string]($o.speed) + " MHz " + " || " + $o.partnumber + " || " + $o.serialnumber + " || " + $o.datawidth) 
    }
    $obj | add-member -membertype noteproperty -name "DRIVES" -value ("") 
    $cnt = $dd.count
    for (
    $ndx=1; $ndx -le $cnt$ndx++) {
      
    $o = $dd[$ndx -1]
      
    $sernum = (asc2str($o.serialnumber))
      
    $obj | add-member -membertype noteproperty -name ("Drive " + $ndx + "--Size, Model, firmware version, serial number ") -value ((bytesize($o.size)) + " || " + $o.model + " || " + $o.firmwarerevision + " || " + $sernum
    }
    $cnt = $cd.count
    for (
    $ndx=1; $ndx -le $cnt$ndx++) {
      
    $o = $cd[$ndx -1]
     
    $obj | add-member -membertype noteproperty -name ("Optical Drive " + $ndx + "--Name, Revision, Type") `
    -
    value ($o.name $o.description " || " $o.mfrassignedrevisionlevel " || " $o.mediatype )
    }

    #$obj | fl

    $obj $env:userprofile\desktop\MySystem.txt

    EXIT
    EXIT 
      My Computer


  3. Posts : 5
    Windows 7 Home Premium 32 Bit SP1
    Thread Starter
       #3

    Hi Karlsnooks. I have attached my "Mysystem.txt" file for you to look at.

    In regards to your instructions, I could not choose disable so I chose uninstall. Then it asked me if I wanted to restart. I did not restart but I shut down like you told me to. So I turned the computer back on and it booted up and when it got to the sign in screen I tried to use the keyboard I was trying to uninstall and it still worked so, no, my problem was not fixed.

    I don't know if this is important or not, but the keyboard I am trying to uninstall is a keyboard built into the laptop. Would I have to take it out physically?

    I hope this helps

    Eric
      My Computer


  4. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #4

    while I study some of the data in the mysystem.txt file, please add info into your system specs so that others will know about your system.
    Be sure to add the SP1 to the operating system info.

    Here is a write-up to guide you.Update your SevenForums System Specs
    User CP (located on the top menu bar) |
    Your Profile | Edit System Spec
    (left-hand column)

    To gather info, use Speccy (my favorite) or SIW or System Info

    In the System Manufacturer Block, enter:
    Ř Manufacturer and Model OR Custom build.
    Ř ADD the word laptop, desktop, netbook or tablet.
    For example:
    Toshiba Satellite L305D notebook.

    Provide full windows version info, for example:
    MS Windows 7 Ultimate SP1 64-bit

    Use the “Other Info” block for Optical Reader,
    Mouse, touchpad, wifi adapter, speakers, monitor, etc

    Scroll down and click on SAVE CHANGES.

    With Speccy, you can select with your mouse/touchpad info from the display
    and paste that info into your specs.

    SIW is a marvelous program, but the free version does not offer
    this capability.
      My Computer


  5. Posts : 5
    Windows 7 Home Premium 32 Bit SP1
    Thread Starter
       #5

    I updated it to the best of my ability. I hope this helps.
      My Computer


  6. Posts : 10,200
    MS Windows 7 Ultimate SP1 64-bit
       #6

    Eric,
    I've never done this myself, but you can try:
    Boot up into safe mode
    go to a command prompt
    carry out following commands:
    cd /d c:\window\system32\drivers
    ren kbdclass.sys kbdclass.ysy
    exit

    shutdown
    Power up
      My Computer


  7. Posts : 5
    Windows 7 Home Premium 32 Bit SP1
    Thread Starter
       #7

    So I booted up into Safe Mode without networking and launched a command prompt. Was I supposed to choose "Safe Mode with Command Prompt"?

    Anyway, I typed in the cd command and it changed directories like it was supposed to. Also, I put in "c:\windows" not "c:\window." Then I typed in the second command and it said "Access is denied."

    I then shut down and powered it up again and the keyboard is still typing. I'm assuming the problem lies in the "Access is denied" response. Any help would be appreciated.

    Eric
      My Computer


  8. Posts : 8
    Win 7 64 bit, 32 bit, Professional (Multiple instances)
       #8

    The keyboard is damaged. It needs to be replaced. While it is still connected it will be found by the system. You could try pulling the cable that connects it to the mother board but I'm not sure whether your wireless kybd will be recognised at bootup so you can login. Worth a try though.
    Otherwise get a replacement keyboard. Water is not good for keyboards.
      My Computer


  9. Posts : 5
    Windows 7 Home Premium 32 Bit SP1
    Thread Starter
       #9

    Yeah all I had to do was take the keyboard connector out of the computer and voila! it doesn't work. I couldn't be happier.

    Thanks for the help and attempted help
    Eric
      My Computer


  10. Posts : 8
    Win 7 64 bit, 32 bit, Professional (Multiple instances)
       #10

    Excellent, please flag this as solved.
      My Computer


 
Page 1 of 2 12 LastLast

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:56.
Find Us