{"id":29733,"date":"2022-11-10T09:30:12","date_gmt":"2022-11-10T04:00:12","guid":{"rendered":"http:\/\/198.58.113.91\/blog\/?p=29733"},"modified":"2022-11-29T22:49:56","modified_gmt":"2022-11-29T17:19:56","slug":"tzsync-exe-error-unhandled-system-io-ioexception","status":"publish","type":"post","link":"https:\/\/www.winhelponline.com\/blog\/tzsync-exe-error-unhandled-system-io-ioexception\/","title":{"rendered":"Tzsync.exe Error: Unhandled Exception (System.IO.IOException)"},"content":{"rendered":"<p>When you sync the time zone information using the built-in Tzsync.exe tool, an &#8220;Unhandled Exception&#8221; error occurs.<\/p>\n<pre class=\"err\">Application: tzsync.exe\r\nUnhandled Exception: System.IO.IOException: The specified registry key does not exist.\r\nat Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)\r\nat Microsoft.Win32.RegistryKey.GetValueKind(String name)\r\nat TimeZoneSyncTask.DynamicDstTransform.GetDynamicDstRange(RegistryKey rkTimeZoneRoot, Dictionary`2 mapWinTzToTzid)\r\nat TimeZoneSyncTask.TimeZoneSync.Sync()\r\nat TimeZoneSyncTask.Program.Main(String[] args)<\/pre>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-29734\" src=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/11\/tzsync-error-io-exception.png\" alt=\"tzsync.exe unhandled exception\" width=\"700\" height=\"226\" \/><\/p>\n<p>And the following error shows up on the View Reliability History page in the classic Control Panel.<\/p>\n<pre class=\"err\">TimeZone Sync Task\r\nFaulting Application Path:\tC:\\Windows\\System32\\tzsync.exe\r\n\r\nProblem signature\r\nProblem Event Name:\tCLR20r3\r\nProblem Signature 01:\ttzsync.exe\r\nProblem Signature 02:\t6.2.19041.1\r\nProblem Signature 03:\t99fdcbd2\r\nProblem Signature 04:\tmscorlib\r\nProblem Signature 05:\t4.8.4515.0\r\nProblem Signature 06:\t624ce856\r\nProblem Signature 07:\t133\r\nProblem Signature 08:\t72\r\nProblem Signature 09:\tSystem.IO.IOException\r\nOS Version:\t10.0.19045.2.0.0.256.48\r\nLocale ID:\t1033\r\nAdditional Information 1:\tcd38\r\nAdditional Information 2:\tcd383bc96f44aa9dc0e7b57396226585\r\nAdditional Information 3:\td62c\r\nAdditional Information 4:\td62c082b037d9144b39b68244953838d\r\n\r\nExtra information about the problem\r\nBucket ID:\tffc2d00a5c4e5b4c4117f9aa174b54ff (1231727532039689471)\r\n<\/pre>\n<h2>Solution<\/h2>\n<p>To resolve the tzsync.exe unhandled exception error, restore the missing Time Zone keys in the registry.<\/p>\n<ol>\n<li>Open an <a href=\"https:\/\/www.winhelponline.com\/blog\/open-elevated-command-prompt-windows\/\">Admin CMD Prompt<\/a>.<\/li>\n<li>Export your existing Time Zones key to a REG file. To do so, run the following command:\n<pre>reg export \"HKLM\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones\" c:\\tz_backup.reg<\/pre>\n<\/li>\n<li>Exit the Command Prompt window.<\/li>\n<li>Download <a href=\"https:\/\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/11\/timezones.zip\">timezones.reg<\/a> (zipped) and run it.<br \/>\n<em>(This REG file has been extracted from a Windows 10 22H2 computer.)<\/em><\/li>\n<\/ol>\n<p>That should fix the tzsync.exe System.IO.IOException &#8220;The specified registry key does not exist&#8221; error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you sync the time zone information using the built-in Tzsync.exe tool, an &#8220;Unhandled Exception&#8221; error occurs. Application: tzsync.exe Unhandled Exception: System.IO.IOException: The specified registry key does not exist. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.GetValueKind(String name) at TimeZoneSyncTask.DynamicDstTransform.GetDynamicDstRange(RegistryKey rkTimeZoneRoot, Dictionary`2 mapWinTzToTzid) at TimeZoneSyncTask.TimeZoneSync.Sync() at TimeZoneSyncTask.Program.Main(String[] args) And the following error shows up on the &#8230; <a title=\"Tzsync.exe Error: Unhandled Exception (System.IO.IOException)\" class=\"read-more\" href=\"https:\/\/www.winhelponline.com\/blog\/tzsync-exe-error-unhandled-system-io-ioexception\/\" aria-label=\"Read more about Tzsync.exe Error: Unhandled Exception (System.IO.IOException)\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8,869],"tags":[191,441],"class_list":["post-29733","post","type-post","status-publish","format-standard","hentry","category-windows-10","category-windows-11","tag-error-messages","tag-registry"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":19854,"url":"https:\/\/www.winhelponline.com\/blog\/error-0x800707e7-0x3000d-upgrade-windows-10\/","url_meta":{"origin":29733,"position":0},"title":"Error 0x800707E7 0x3000D during Windows Setup","author":"Ramesh","date":"November 13, 2020","format":false,"excerpt":"When you upgrade from Windows 7 or Windows 8 to Windows 10 or 11 or do a repair installation, the error 0x800707E7 \u2013 0x3000D may occur and the setup is canceled automatically. The same error may occur when installing a Feature Update (e.g., upgrading from 21H2 to 22H2). Here is\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"nvidia updatus user account uninstall","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2020\/11\/nvidia-update.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":27713,"url":"https:\/\/www.winhelponline.com\/blog\/settings-crashes-accessing-system-about-page\/","url_meta":{"origin":29733,"position":1},"title":"Settings Crashes when Opening the About Page in Windows 10\/11","author":"Ramesh","date":"August 29, 2022","format":false,"excerpt":"When you open Settings, click System, and click on \"About\", the Settings app closes automatically and generates an error report. The Reliability History page in the classic Control Panel may show the following error: Description Faulting Application Path: C:\\Windows\\ImmersiveControlPanel\\SystemSettings.exe Problem signature Problem Event Name: MoBEX Package Full Name: windows.immersivecontrolpanel_10.0.2.1000_neutral_neutral_cw5n1h2txyewy Application\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":30313,"url":"https:\/\/www.winhelponline.com\/blog\/error-0x8007001f-feature-update-setup-log\/","url_meta":{"origin":29733,"position":2},"title":"Error 0x8007001F Installing Feature Update or Cumulative Update","author":"Ramesh","date":"November 28, 2022","format":false,"excerpt":"When you attempt to install a feature update such as Windows 11 22H2, the error 0x8007001F may occur. The error code 0x8007001F (\"ERROR_GEN_FAILURE\") means \"A device attached to the system is not functioning.\" The Setupact.log (collected using SetupDiag) contained these significant lines: (The lines containing the phrase \"Found valid profile\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"0x8007001f setup error","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/11\/0x8007001f-wu-error.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/11\/0x8007001f-wu-error.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/11\/0x8007001f-wu-error.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2022\/11\/0x8007001f-wu-error.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1278,"url":"https:\/\/www.winhelponline.com\/blog\/windows-search-error-2-windows-8-1\/","url_meta":{"origin":29733,"position":3},"title":"Fix Windows Search Service Error 2 After Upgrading to Windows 8.1","author":"Ramesh","date":"November 29, 2013","format":false,"excerpt":"When you start the Windows Search service in your Windows 8.1 computer, the following error may occur and the search service fails to start.Windows could not start the Windows Search service on Local Computer.Error 2: The system cannot find the file specified.This problem happens especially after running a registry cleaner\u2026","rel":"","context":"In &quot;Windows 8&quot;","block_context":{"text":"Windows 8","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-8\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/windows-srch-err-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/windows-srch-err-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/archived2\/windows-srch-err-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":6294,"url":"https:\/\/www.winhelponline.com\/blog\/photos-store-apps-file-system-error-2147219196\/","url_meta":{"origin":29733,"position":4},"title":"File System Error (-2147219196) in Photos or Other Store Apps","author":"Ramesh","date":"July 20, 2018","format":false,"excerpt":"With the Photos app set as the default in your Windows 10\/11 computer, when you double-click on a JPG, PNG, or any other image file, the error -2147219196 may occur, and the app may crash. Here is the full error message verbatim: File System Error -2147219196 And, repairing or resetting\u2026","rel":"","context":"In &quot;Windows 10&quot;","block_context":{"text":"Windows 10","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/windows-10\/"},"img":{"alt_text":"photos app installlocation","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/07\/app-photos-installlocation.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/07\/app-photos-installlocation.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/07\/app-photos-installlocation.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2018\/07\/app-photos-installlocation.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1078,"url":"https:\/\/www.winhelponline.com\/blog\/fix-file-association-error-explorer-in-windows\/","url_meta":{"origin":29733,"position":5},"title":"[Fix] Explorer.exe Error &#8220;This file does not have an app associated&#8221;","author":"Ramesh","date":"September 2, 2010","format":false,"excerpt":"When you click the Windows Explorer or File Explorer shortcut Pinned to the Taskbar, or when running explorer.exe directly, the following error message may be displayed: This file does not have an app associated with it for performing this action. Please install an app or, if one is already installed,\u2026","rel":"","context":"In &quot;Windows&quot;","block_context":{"text":"Windows","link":"https:\/\/www.winhelponline.com\/blog\/category\/microsoft\/windows\/"},"img":{"alt_text":"file explorer shortcut association error","src":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.winhelponline.com\/blog\/wp-content\/uploads\/2010\/09\/explorer-error-app-association-1.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/29733","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/comments?post=29733"}],"version-history":[{"count":0,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/posts\/29733\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/media?parent=29733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/categories?post=29733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.winhelponline.com\/blog\/wp-json\/wp\/v2\/tags?post=29733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}