This repository was archived by the owner on May 28, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ SetVisualFXPerformance # SetVisualFXAppearance
118118# DisableStartupSound # EnableStartupSound
119119# DisableChangingSoundScheme # EnableChangingSoundScheme
120120# EnableVerboseStatus # DisableVerboseStatus
121+ DisableF1HelpKey # EnableF1HelpKey
121122
122123### Explorer UI Tweaks ###
123124# ShowExplorerTitleFullPath # HideExplorerTitleFullPath
Original file line number Diff line number Diff line change @@ -1844,6 +1844,25 @@ Function DisableVerboseStatus {
18441844 New-ItemProperty - Path ' HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\System' - Name ' VerboseStatus' - Value ' 0' - PropertyType DWORD - Force
18451845}
18461846
1847+ # Disable F1 Help key in Explorer and on the Desktop
1848+ Function DisableF1HelpKey {
1849+ Write-Output " Disabling F1 Help key..."
1850+ If (! (Test-Path " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win32" )) {
1851+ New-Item - Path " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win32" - Force | Out-Null
1852+ }
1853+ Set-ItemProperty - Path " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win32" - Name " (Default)" - Type " String" - Value " "
1854+ If (! (Test-Path " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" )) {
1855+ New-Item - Path " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" - Force | Out-Null
1856+ }
1857+ Set-ItemProperty - Path " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0\win64" - Name " (Default)" - Type " String" - Value " "
1858+ }
1859+
1860+ # Enable F1 Help key in Explorer and on the Desktop
1861+ Function EnableF1HelpKey {
1862+ Write-Output " Enabling F1 Help key..."
1863+ Remove-Item " HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0" - Recurse - ErrorAction SilentlyContinue
1864+ }
1865+
18471866# #########
18481867# endregion UI Tweaks
18491868# #########
You can’t perform that action at this time.
0 commit comments