Skip to content

Commit 70d26b4

Browse files
committed
v2.6.2
1 parent eb0a830 commit 70d26b4

2 files changed

Lines changed: 29 additions & 17 deletions

File tree

OfflineInsiderEnroll.cmd

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@setlocal DisableDelayedExpansion
22
@echo off
3-
set "scriptver=2.6.1"
3+
set "scriptver=2.6.2"
44

55
set "_cmdf=%~f0"
66
if exist "%SystemRoot%\Sysnative\cmd.exe" (
@@ -45,8 +45,8 @@ if %ERRORLEVEL% equ 0 set "FlightSigningEnabled=1"
4545

4646
:CHOICE_MENU
4747
cls
48+
title OfflineInsiderEnroll v%scriptver%
4849
set "choice="
49-
echo OfflineInsiderEnroll v%scriptver%
5050
echo.
5151
echo 1 - Enroll to Dev Channel
5252
echo 2 - Enroll to Beta Channel
@@ -160,6 +160,13 @@ reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f
160160
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v UIUsage /d 26
161161
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v OptOutState /d 25
162162
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsSelfHost\UI\Selection" /f /t REG_DWORD /v AdvancedToggleState /d 24
163+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\WindowsUpdate" /f /t REG_DWORD /v AllowWindowsUpdate /d 1
164+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\MoSetup" /f /t REG_DWORD /v AllowUpgradesWithUnsupportedTPMOrCPU /d 1
165+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassRAMCheck /d 1
166+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassSecureBootCheck /d 1
167+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassStorageCheck /d 1
168+
reg add "HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig" /f /t REG_DWORD /v BypassTPMCheck /d 1
169+
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\PCHC" /f /t REG_DWORD /v UpgradeEligibility /d 1
163170
if %build% LSS 21990 goto :EOF
164171
(
165172
echo Windows Registry Editor Version 5.00

readme.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,50 @@
11
OfflineInsiderEnroll
22
--------------------
3-
3+
![](https://i.imgur.com/hzusXzd.png)
44
### Description
55
OfflineInsiderEnroll is a simple Windows Command Prompt script to enable access
66
to the Windows Insider Program on machines not signed in with Microsoft Account.
77

8-
This script is compatible only with Windows 10 RS5 and later.
8+
This script is compatible only with Windows 11 or Windows 10 version 1809 and later.
99

1010
### Usage
1111
This script requires administrative priviliges to run. You can simply execute it
1212
by right clicking it > `Run as Administrator`.
1313

1414
#### Installation and configuration changes
15-
After starting the script offers selection of *Windows Insider Program* channels.
15+
After starting, the script offers selection of __*Windows Insider Program*__ channels.
1616
To make a selection, press a letter coresponding to option you choose and press
1717
ENTER.
1818

1919
If the machine was not enrolled to the Insider Program, you will get prompted to
20-
restart your machine to enable *Microsoft Flight Signing* which is required by
21-
*Windows Insider Program*.
20+
restart your machine to enable *`Microsoft Flight Signing`* which is required by
21+
*`Windows Insider Program`*.
2222

23-
**Notice:** Windows Insider Program requires telemetry to be set to *Full*.
23+
**Notice:** Windows Insider Program requires telemetry to be set to *`Full`*.
2424
After enrolling your machine to the *Windows Insider Program* please make sure
25-
that your diagnostic data collection settings are set to *Full*. Some *Insider
26-
Preview* builds may not get offered in *Windows Update* if you do not have
27-
correct telemetry settings. You can verify or modify your telemetry settings in
28-
*Settings* > *Privacy* > *Diagnostics & feedback*.
25+
that your diagnostic data collection settings are set to *`Full`*. Some `Insider
26+
Preview` builds may not get offered in *`Windows Update`* if you do not have
27+
correct telemetry settings.
28+
29+
You can verify or modify your telemetry settings as follows:
30+
31+
__Windows 11__: *`Settings`* > *`Privacy and Security`* > *`Diagnostics & feedback`*
32+
33+
__Windows 10__: *`Settings`* > *`Privacy`* > *`Diagnostics & Feedback`*
2934

3035
#### Restoring Windows Insider Program to default options
31-
To restore *Windows Insider Program* to default settings simply choose `Stop
32-
receiving Insider Preview builds` in OfflineInsiderEnroll. You will get prompted
33-
to reboot, because this option will disable *Microsoft Flight Signing*.
36+
To restore *`Windows Insider Program`* to default settings simply choose `Stop
37+
receiving Insider Preview builds` in `OfflineInsiderEnroll Script`. You will get prompted
38+
to reboot, because this option will disable *`Microsoft Flight Signing`*.
3439

3540
### How does this work?
3641
This script takes advantage of undocumented `TestFlags` registry value.
3742
If this value is set to `0x20`, all access to online *Windows Insider* services
3843
gets disabled. Because of this, we can set our own *Windows Insider Preview*
3944
configuration without being overriden by the contact to the service. Since
40-
Windows Update does not check if machine is actually enrolled to the program,
45+
`Windows Update` does not check if machine is actually enrolled to the program,
4146
you will get offered *Insider Preview* builds by just setting correct values in
4247
the registry.
4348

4449
### License
45-
This project is licensed under the MIT License. See `LICENSE` for details.
50+
This project is licensed under the MIT License and GNU License. See `LICENSE` for details.

0 commit comments

Comments
 (0)