├── LICENSE
├── OfflineInsiderEnroll.cmd
└── readme.md
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2021 abbodi1406
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/OfflineInsiderEnroll.cmd:
--------------------------------------------------------------------------------
1 | @setlocal DisableDelayedExpansion
2 | @echo off
3 | set "scriptver=2.6.4"
4 |
5 | set "_args=%*"
6 | set "_elv="
7 | if not defined _args goto :NoProgArgs
8 | if "%~1"=="" set "_args="&goto :NoProgArgs
9 | set _args=%_args:"=%
10 | for %%A in (%_args%) do (
11 | if /i "%%A"=="-wow" (set _rel1=1) else if /i "%%A"=="-arm" (set _rel2=1)
12 | )
13 | :NoProgArgs
14 | set "_cmdf=%~f0"
15 | if exist "%SystemRoot%\Sysnative\cmd.exe" if not defined _rel1 (
16 | setlocal EnableDelayedExpansion
17 | start %SystemRoot%\Sysnative\cmd.exe /c ""!_cmdf!" -wow %*"
18 | exit /b
19 | )
20 | if exist "%SystemRoot%\SysArm32\cmd.exe" if /i %PROCESSOR_ARCHITECTURE%==AMD64 if not defined _rel2 (
21 | setlocal EnableDelayedExpansion
22 | start %SystemRoot%\SysArm32\cmd.exe /c ""!_cmdf!" -arm %*"
23 | exit /b
24 | )
25 | set "SysPath=%SystemRoot%\System32"
26 | set "Path=%SystemRoot%\System32;%SystemRoot%\System32\Wbem;%SystemRoot%\System32\WindowsPowerShell\v1.0\"
27 | if exist "%SystemRoot%\Sysnative\reg.exe" (
28 | set "SysPath=%SystemRoot%\Sysnative"
29 | set "Path=%SystemRoot%\Sysnative;%SystemRoot%\Sysnative\Wbem;%SystemRoot%\Sysnative\WindowsPowerShell\v1.0\;%Path%"
30 | )
31 |
32 | for /f "tokens=6 delims=[]. " %%i in ('ver') do set build=%%i
33 |
34 | if %build% LSS 17763 (
35 | echo =============================================================
36 | echo The script is compatible only with Windows 10 v1809 and later
37 | echo =============================================================
38 | echo.
39 | pause
40 | goto :EOF
41 | )
42 |
43 | reg query HKU\S-1-5-19 1>nul 2>nul
44 | if %ERRORLEVEL% equ 0 goto :START_SCRIPT
45 |
46 | echo =====================================================
47 | echo This script needs to be executed as an administrator.
48 | echo =====================================================
49 | echo.
50 | pause
51 | goto :EOF
52 |
53 | :START_SCRIPT
54 | set "FlightSigningEnabled=0"
55 | bcdedit /enum {current} | findstr /I /R /C:"^flightsigning *Yes$" >nul 2>&1
56 | if %ERRORLEVEL% equ 0 set "FlightSigningEnabled=1"
57 |
58 | :CHOICE_MENU
59 | cls
60 | title OfflineInsiderEnroll v%scriptver%
61 | set "choice="
62 | echo.
63 | echo 0 - Canary Channel
64 | echo 1 - Dev Channel
65 | echo 2 - Beta Channel
66 | echo 3 - Release Preview Channel
67 | echo.
68 | echo 4 - Stop receiving Windows Insider builds
69 | echo 5 - Quit without making any changes
70 | echo.
71 | set /p choice="Choice: "
72 | echo.
73 | if /I "%choice%"=="0" goto :ENROLL_CAN
74 | if /I "%choice%"=="1" goto :ENROLL_DEV
75 | if /I "%choice%"=="2" goto :ENROLL_BETA
76 | if /I "%choice%"=="3" goto :ENROLL_RP
77 | if /I "%choice%"=="4" goto :STOP_INSIDER
78 | if /I "%choice%"=="5" goto :EOF
79 | goto :CHOICE_MENU
80 |
81 | :ENROLL_RP
82 | set "Channel=ReleasePreview"
83 | set "Fancy=Release Preview Channel"
84 | set "BRL=8"
85 | set "Content=Mainline"
86 | set "Ring=External"
87 | set "RID=11"
88 | goto :ENROLL
89 |
90 | :ENROLL_BETA
91 | set "Channel=Beta"
92 | set "Fancy=Beta Channel"
93 | set "BRL=4"
94 | set "Content=Mainline"
95 | set "Ring=External"
96 | set "RID=11"
97 | goto :ENROLL
98 |
99 | :ENROLL_DEV
100 | set "Channel=Dev"
101 | set "Fancy=Dev Channel"
102 | set "BRL=2"
103 | set "Content=Mainline"
104 | set "Ring=External"
105 | set "RID=11"
106 | goto :ENROLL
107 |
108 | :ENROLL_CAN
109 | set "Channel=CanaryChannel"
110 | set "Fancy=Canary Channel"
111 | set "BRL="
112 | set "Content=Mainline"
113 | set "Ring=External"
114 | set "RID=11"
115 | goto :ENROLL
116 |
117 | :RESET_INSIDER_CONFIG
118 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Account" /f
119 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f
120 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Cache" /f
121 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f
122 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI" /f
123 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Restricted" /f
124 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ToastNotification" /f
125 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\WUMUDCat" /f
126 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\Ring%Ring%" /f
127 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingExternal" /f
128 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingPreview" /f
129 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingInsiderSlow" /f
130 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingInsiderFast" /f
131 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /f /v AllowTelemetry
132 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\DataCollection" /f /v AllowTelemetry
133 | reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /v BranchReadinessLevel
134 | reg delete "HKEY_LOCAL_MACHINE\SYSTEM\Setup\WindowsUpdate" /f /v AllowWindowsUpdate
135 | reg delete "HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup" /f /v AllowUpgradesWithUnsupportedTPMOrCPU
136 | reg delete "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /v BypassRAMCheck
137 | reg delete "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /v BypassSecureBootCheck
138 | reg delete "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /v BypassStorageCheck
139 | reg delete "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /v BypassTPMCheck
140 | reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\PCHC" /f /v UpgradeEligibility
141 | goto :EOF
142 |
143 | :ADD_INSIDER_CONFIG
144 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Orchestrator" /f /t REG_DWORD /v EnableUUPScan /d 1
145 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\Ring%Ring%" /f /t REG_DWORD /v Enabled /d 1
146 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\WUMUDCat" /f /t REG_DWORD /v WUMUDCATEnabled /d 1
147 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v EnablePreviewBuilds /d 2
148 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v IsBuildFlightingEnabled /d 1
149 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v IsConfigSettingsFlightingEnabled /d 1
150 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v IsConfigExpFlightingEnabled /d 0
151 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v TestFlags /d 32
152 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v RingId /d %RID%
153 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_SZ /v Ring /d "%Ring%"
154 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_SZ /v ContentType /d "%Content%"
155 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_SZ /v BranchName /d "%Channel%"
156 | if %build% LSS 21990 reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Strings" /f /t REG_SZ /v StickyXaml /d "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 Windows Insider 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."
157 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /f /t REG_DWORD /v UIHiddenElements /d 65535
158 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /f /t REG_DWORD /v UIDisabledElements /d 65535
159 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /f /t REG_DWORD /v UIServiceDrivenElementVisibility /d 0
160 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /f /t REG_DWORD /v UIErrorMessageVisibility /d 192
161 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\DataCollection" /f /t REG_DWORD /v AllowTelemetry /d 3
162 | if defined BRL reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /t REG_DWORD /v BranchReadinessLevel /d %BRL%
163 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /f /t REG_DWORD /v UIHiddenElements_Rejuv /d 65534
164 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Visibility" /f /t REG_DWORD /v UIDisabledElements_Rejuv /d 65535
165 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_SZ /v UIRing /d "%Ring%"
166 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_SZ /v UIContentType /d "%Content%"
167 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_SZ /v UIBranch /d "%Channel%"
168 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v UIOptin /d 1
169 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_SZ /v RingBackup /d "%Ring%"
170 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_SZ /v RingBackupV2 /d "%Ring%"
171 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_SZ /v BranchBackup /d "%Channel%"
172 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Cache" /f /t REG_SZ /v PropertyIgnoreList /d "AccountsBlob;;CTACBlob;FlightIDBlob;ServiceDrivenActionResults"
173 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Cache" /f /t REG_SZ /v RequestedCTACAppIds /d "WU;FSS"
174 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Account" /f /t REG_DWORD /v SupportedTypes /d 3
175 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Account" /f /t REG_DWORD /v Status /d 8
176 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f /t REG_DWORD /v UseSettingsExperience /d 0
177 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v AllowFSSCommunications /d 0
178 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v UICapabilities /d 1
179 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v IgnoreConsolidation /d 1
180 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v MsaUserTicketHr /d 0
181 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v MsaDeviceTicketHr /d 0
182 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v ValidateOnlineHr /d 0
183 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v LastHR /d 0
184 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v ErrorState /d 0
185 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v PilotInfoRing /d 3
186 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v RegistryAllowlistVersion /d 4
187 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f /t REG_DWORD /v FileAllowlistVersion /d 1
188 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI" /f /t REG_DWORD /v UIControllableState /d 0
189 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v UIDialogConsent /d 0
190 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v UIUsage /d 26
191 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v OptOutState /d 25
192 | reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v AdvancedToggleState /d 24
193 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\WindowsUpdate" /f /t REG_DWORD /v AllowWindowsUpdate /d 1
194 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup" /f /t REG_DWORD /v AllowUpgradesWithUnsupportedTPMOrCPU /d 1
195 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassRAMCheck /d 1
196 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassSecureBootCheck /d 1
197 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassStorageCheck /d 1
198 | reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassTPMCheck /d 1
199 | reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\PCHC" /f /t REG_DWORD /v UpgradeEligibility /d 1
200 | if %build% LSS 21990 goto :EOF
201 | (
202 | echo Windows Registry Editor Version 5.00
203 | echo.
204 | echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Strings]
205 | echo "StickyMessage"="{\"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 Windows Insider 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}"
206 | echo.
207 | )>"%SystemRoot%\oie.reg"
208 | reg.exe import "%SystemRoot%\oie.reg"
209 | del /f /q "%SystemRoot%\oie.reg"
210 | goto :EOF
211 |
212 | :ENROLL
213 | echo Applying changes...
214 | call :RESET_INSIDER_CONFIG 1>NUL 2>NUL
215 | call :ADD_INSIDER_CONFIG 1>NUL 2>NUL
216 | bcdedit /set {current} flightsigning yes >nul 2>&1
217 | echo Done.
218 |
219 | echo.
220 | if %FlightSigningEnabled% neq 1 goto :ASK_FOR_REBOOT
221 | echo Press any key to exit.
222 | pause >nul
223 | goto :EOF
224 |
225 | :STOP_INSIDER
226 | echo Applying changes...
227 | call :RESET_INSIDER_CONFIG 1>nul 2>nul
228 | bcdedit /deletevalue {current} flightsigning >nul 2>&1
229 | echo Done.
230 |
231 | echo.
232 | if %FlightSigningEnabled% neq 0 goto :ASK_FOR_REBOOT
233 | echo Press any key to exit.
234 | pause >nul
235 | goto :EOF
236 |
237 | :ASK_FOR_REBOOT
238 | set "choice="
239 | echo A reboot is required to finish applying changes.
240 | set /p choice="Would you like to reboot your PC? (y/N) "
241 | if /I "%choice%"=="y" shutdown -r -t 0
242 | goto :EOF
243 |
--------------------------------------------------------------------------------
/readme.md:
--------------------------------------------------------------------------------
1 | # OfflineInsiderEnroll
2 |
3 | 
4 |
5 | ## Description
6 |
7 | OfflineInsiderEnroll is a simple Windows Command Prompt script to enable access
8 | to the Windows Insider Program on machines not signed in with Microsoft Account.
9 |
10 | This script is compatible only with Windows 11 or Windows 10 version 1809 and later.
11 |
12 | * Updated Chinese (Simplified) fork: [简体中文](https://github.com/apoint123/offlineinsiderenroll)
13 | * Chinese (Simplified) fork: [简体中文](https://github.com/wkywky123123/offlineinsiderenroll)
14 |
15 | ## Usage
16 |
17 | This script requires administrative priviliges to run. You can simply execute it
18 | by right clicking it > `Run as Administrator`.
19 |
20 | ### Installation and configuration changes
21 |
22 | After starting, the script offers selection of __*Windows Insider Program*__ channels.
23 | To make a selection, press a letter coresponding to option you choose and press
24 | ENTER.
25 |
26 | If the machine was not enrolled to the Insider Program, you will get prompted to
27 | restart your machine to enable *`Microsoft Flight Signing`* which is required by
28 | *`Windows Insider Program`*.
29 |
30 | **Notice:** Windows Insider Program requires telemetry to be set to *`Full`*.
31 | After enrolling your machine to the *Windows Insider Program* please make sure
32 | that your diagnostic data collection settings are set to *`Full`*. Some `Insider
33 | Preview` builds may not get offered in *`Windows Update`* if you do not have
34 | correct telemetry settings.
35 |
36 | You can verify or modify your telemetry settings as follows:
37 |
38 | __Windows 11__: *`Settings`* > *`Privacy and Security`* > *`Diagnostics & feedback`*
39 |
40 | __Windows 10__: *`Settings`* > *`Privacy`* > *`Diagnostics & Feedback`*
41 |
42 | ### Restoring Windows Insider Program to default options
43 |
44 | To restore *`Windows Insider Program`* to default settings simply choose `Stop
45 | receiving Insider Preview builds` in `OfflineInsiderEnroll Script`. You will get prompted
46 | to reboot, because this option will disable *`Microsoft Flight Signing`*.
47 |
48 | ## How does this work?
49 |
50 | This script takes advantage of undocumented `TestFlags` registry value.
51 | If this value is set to `0x20`, all access to online *Windows Insider* services
52 | gets disabled. Because of this, we can set our own *Windows Insider Preview*
53 | configuration without being overriden by the contact to the service. Since
54 | `Windows Update` does not check if machine is actually enrolled to the program,
55 | you will get offered *Insider Preview* builds by just setting correct values in
56 | the registry.
57 |
58 | ## License
59 |
60 | This project is licensed under the MIT License. See `LICENSE` for details.
61 |
--------------------------------------------------------------------------------