]> us-delaporte.pagekite.me Git - dotfiles.git/commitdiff
Add fix for Ctrl+Shift+C on Windows
authorEdward Delaporte <delaport@illinois.edu>
Fri, 18 Oct 2024 19:32:20 +0000 (14:32 -0500)
committerEdward Delaporte <delaport@illinois.edu>
Fri, 18 Oct 2024 19:32:20 +0000 (14:32 -0500)
files/fix-ctrl-shift-c.ps1 [new file with mode: 0644]

diff --git a/files/fix-ctrl-shift-c.ps1 b/files/fix-ctrl-shift-c.ps1
new file mode 100644 (file)
index 0000000..9cba2cb
--- /dev/null
@@ -0,0 +1,7 @@
+$RegistryPath = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\GameDVR'
+
+$Name         = 'AllowgameDVR'
+$Value        = '00000000'
+New-Item -Path $RegistryPath -Force
+# Set-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -Force 
+New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -PropertyType DWORD -Force