Last active
May 18, 2021 02:53
-
-
Save shurizzle/aca769fafccb53629bdc0c062aff4bfe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$code=@' | |
[DllImport("user32.dll", EntryPoint = "SystemParametersInfo")] | |
public static extern bool SystemParametersInfo(uint uiAction, uint uiParam, int[] pvParam, uint fWinIni); | |
'@ | |
Add-Type $code -name Win32 -NameSpace System | |
$A = 0,0,0 | |
[System.Win32]::SystemParametersInfo(3,0,$A,2) | |
$A[2] = 0 | |
[System.Win32]::SystemParametersInfo(4,0,$A,2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/shurizzle/aca769fafccb53629bdc0c062aff4bfe/raw/f53263b7f5ad62cecd4540130bffdc9568ec56f3/disable-enhance-pointer-precision.ps1')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment