- Open Start menu.
- Search for "Windows PowerShell".
- Right-click and select "Run as Administrator".
- Paste the following:
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
- Restart your computer.
HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device`
This path refers to all currently connected hardware input devices' registry values.
HKLM
is short for "Handle to Registry Key for Local Machine".
HID
are hardware input devices (such as mice).
FlipFlopWheel
This is a registry property that, when set to 1
, reverses the value sent by the HID
(Natural scrolling).
Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 |
This does the following:
- Scans through all currently connected hardware input devices' registry values.
- Checks if the registry value has a
FlipFlopWheel
property and is set to0
. - Returns a list of all registry values that meets the criteria.
- Passes this list to the next half of the line.
ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 }
This command sets the FlipFlopWheel
value For each object in the list to 1
. This turns on Natural Scrolling.