Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Commit

Permalink
Merge pull request #2 from Cubox-/patch-1
Browse files Browse the repository at this point in the history
Add ShowBuildNumberOnDesktop function
  • Loading branch information
Cubox committed Jul 20, 2019
2 parents f489347 + 3472bde commit 6d1b6b7
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Win10.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -1998,6 +1998,16 @@ Function EnableF1HelpKey {
Remove-Item "HKCU:\Software\Classes\TypeLib\{8cec5860-07a1-11d9-b15e-000d56bfe6ee}\1.0\0" -Recurse -ErrorAction SilentlyContinue
}

# Show Windows build number and Windows edition (Home/Pro/Enterprise) from bottom right of desktop
Function ShowBuildNumberOnDesktop {
Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "PaintDesktopVersion" -Type DWord -Value 1
}

# Remove Windows build number and Windows edition (Home/Pro/Enterprise) from bottom right of desktop
Function HideBuildNumberOnDesktop {
Set-ItemProperty -Path "HKCU:\Control Panel\Desktop" -Name "PaintDesktopVersion" -Type DWord -Value 0
}

##########
#endregion UI Tweaks
##########
Expand Down

0 comments on commit 6d1b6b7

Please sign in to comment.