Browse Source

remove reg-import from new-volume-control

pull/31/head
Alex Hirsch 9 years ago
parent
commit
35acad9917
  1. 8
      scripts/disable-new-volume-control.ps1

8
scripts/disable-new-volume-control.ps1

@ -1,10 +1,6 @@
# Description:
# This script restores the old volume slider.
Import-Module -DisableNameChecking $PSScriptRoot\..\lib\reg-helper.psm1
echo "Restoring old volume slider"
Import-Registry(@"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC]
"EnableMtcUvc"=dword:00000000
"@)
mkdir -Force "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC"
sp "HKLM:\Software\Microsoft\Windows NT\CurrentVersion\MTCUVC" "EnableMtcUvc" 0

Loading…
Cancel
Save