Edit a Windows 11 setting using batch

Technical news items, notes & queries.
Post Reply
Posts: 1
Joined: 2023-Mar-19, 2:56 am

Edit a Windows 11 setting using batch

Post by AmNotAGoose »

How do I edit a Windows 11 setting using a batch script?

For example:
If I wanted to edit the touchpad setting to "most sensitive": https://imgur.com/8ZjAWYW
... what the batch script look like?
User avatar
Simon Sheppard
Posts: 191
Joined: 2021-Jul-10, 7:46 pm

Re: Edit a Windows 11 setting using batch

Post by Simon Sheppard »

Most of these settings can be found in the registry


32-Bit DWORD value AAPThreshold.
0 = Most sensitive
1 = High sensitivity
2 = Medium sensitivity (default)
3 = Low sensitivity

So first I would look at that in regedit before and after manually changing the value to be sure which number you need.

Then write a one line script with REG.exe to set the value you want.

If you are doing this for multiple machines, there is very likely a Group Policy setting which will do the same thing.
Post Reply