diff --git a/src/modules/fancyzones/lib/JsonHelpers.cpp b/src/modules/fancyzones/lib/JsonHelpers.cpp index b7e89c057e..c4deaadff6 100644 --- a/src/modules/fancyzones/lib/JsonHelpers.cpp +++ b/src/modules/fancyzones/lib/JsonHelpers.cpp @@ -626,6 +626,21 @@ namespace JSONHelpers { it->second.uuid = uuid = it->first; } + else + { + GUID guid; + auto result = CoCreateGuid(&guid); + if (result != S_OK) + { + return; + } + wil::unique_cotaskmem_string guidString; + if (SUCCEEDED_LOG(StringFromCLSID(guid, &guidString))) + { + it->second.uuid = uuid = guidString.get(); + } + } + switch (zoneSetData.type) { case CustomLayoutType::Grid: {