Crazy mouse issue in Windows PE

By | October 19, 2015
Share

*UPDATED* 2016/10/11 – Script created to automate update on pe WIM: https://gist.github.com/brianfgonzalez/574aa68f4d5c39c5005bfdf15fa6c4b9

The crazy mouse occurs when the embedded GPS module is detected as a Serial mouse.

To prevent this behavior, you must manually import a REG into the Windows PE boot.wim.

A registry entry must be imported into the registry of the WinPE boot media.

  1. Mount the boot wim.

Dism /mount-image /imagefile:boot.wim /mountdir:c:\mount

  1. Mount theWinPE’s SYSTEM Hive into your HKLM via regedit

C:\mount\Windows\system32\config\SYSTEM

Name the imported hive: importedsystem

  1. Import the REG entry below:

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

Windows Registry Editor Version 5.00

 

[HKEY_LOCAL_MACHINE\importedsystem\ControlSet001\Enum\ACPI\PNP0501\a\Device Parameters]

“SkipEnumerations”=dword:fffffffe

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

  • Note: if you run into permissions errors, you may need to take ownership of the imported REG and re-import the REG.

8 thoughts on “Crazy mouse issue in Windows PE

  1. Joshua

    HKEY_LOCAL_MACHINE\importedsystem\ControlSet001\Enum is a protected key. How can someone modify it? It always gives that permission is denied.

    Reply
      1. Joshua

        I was able to add the registry entry. This did not resolve the issue on the Panasonic CF-3112. Is there another work around?

        Reply
          1. Joshua

            No, it stops. I actually “accidentally” fixed the issue. I injected iaStorA.sys in to the boot image trying to fix a driver conflict. I do not know why, but after I did that, no more mouse jump. Coincidence?

  2. NigelB

    Hi there,

    Is the InstanceID of “a” unique for this device?

    Thanks,
    Cheers

    Reply
    1. Brian Gonzalez Post author

      Nigel,

      No, this id is for a Serial mouse in the Windows OS. The reg is instructing the OS to skip detection of this device.

      Reply
      1. NigelB

        Excellent ok than you,

        I ended up adding this key only in WinPE to image correctly – then included the patch in the driver package.

        Thanks

        Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*