From c5c7023e973044f4008cf2b206522b60a0a80faa Mon Sep 17 00:00:00 2001 From: abbodi1406 Date: Tue, 29 Jun 2021 06:01:56 +0300 Subject: [PATCH] Add StickyMessage --- OfflineInsiderEnroll.cmd | 1 + 1 file changed, 1 insertion(+) diff --git a/OfflineInsiderEnroll.cmd b/OfflineInsiderEnroll.cmd index 39b8d9a..09af83e 100644 --- a/OfflineInsiderEnroll.cmd +++ b/OfflineInsiderEnroll.cmd @@ -101,6 +101,7 @@ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /t reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /t REG_DWORD /v UIErrorMessageVisibility /d 192 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /t REG_DWORD /v AllowTelemetry /d 3 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /t REG_DWORD /v BranchReadinessLevel /d %BRL% /f +reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Strings" /t REG_SZ /v StickyMessage /d "{"^""Message"^"":"^""Device Enrolled Using OfflineInsiderEnroll"^"","^""LinkTitle"^"":"^"""^"","^""LinkUrl"^"":"^"""^"","^""DynamicXaml"^"":"^""This device has been enrolled to the Windows Insider program using OfflineInsiderEnroll v%scriptver%. If you want to change settings of the enrollment or stop receiving Insider Preview builds, please use the script. Learn more %Fancy%Windows Insider Program requires your diagnostic data collection settings to be set to Full. You can verify or modify your current settings in Diagnostics & feedback."^"","^""Severity"^"":0}" /f goto :EOF :ENROLL