As I installed the latest build of Windows 10 on my system I read that it was now possible to set the calendar to also display the Lunar Calendar in the calendar overview. Because I like automating stuff I decided to take a look at where this is configured. Note that the steps in this post are based on Windows 10 Build 15002,
It turns out this in configured in the following registry key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\$$windows.data.lunarcalendar\Current
Interestingly enough, the store cache seems to contain many of the recently released new functionality in Windows 10. At the moment this seems to be the space to watch if you are looking to automate your settings in Windows, although most values are binary so it might take some work to figure out how to configure this.
After setting this value to the three possible options:
- Off
- Lunar Calendar with simplified Chinese characters
- Lunar Calendar with traditional Chinese characters
Unfortunately this because the Data property is a binary string, so this is not that easy to manipulate. The following values correspond with the settings. I will list both the binary strings as well as their base 64 representation.
Settings | Byte Array | Base64 |
Off | 2,0,0,0,88,33,207,247,241,107,210,1,0,0,0,0,67,66,1,0,16,2,0 | AgAAAFghz/fxa9IBAAAAAENCAQAQAgA= |
Simplified | 2,0,0,0,148,217,114,130,241,107,210,1,0,0,0,0,67,66,1,0,16,4,0 | AgAAAJTZcoLxa9IBAAAAAENCAQAQBAA= |
Traditional | 2,0,0,0,75,55,152,236,241,107,210,1,0,0,0,0,67,66,1,0,16,6,0 | AgAAAEs3mOzxa9IBAAAAAENCAQAQBgA= |
To simplify settings these values the Set-AdditionalCalendar function that is included in the CustomizeWindows10 module can be used to configured these settings:
To install this module and configure these settings run the following code:
1 2 | Install-Module -Name CustomizeWindows10 Set-AdditionalCalendar -Simplified |
For more information about the functions and modules discussed in this article, please refer to the following links:
Links in this Article |
PowerShellGallery – CustomizeWindows10 Module |
GitHub – CustomizeWindows10 Module |
GitHub – Set-AdditionalCalendar |
Pingback: Blue light settings in Windows 10 | Jaap Brasser's Blog