Leave Win10 Insider Preview program, programmatically?

David Moon 601 Reputation points
2022-07-14T00:57:19.807+00:00

Hi All

I have found several win10 machines on 10.0.19042.508, which i believe is insider preview channel.
Now i have found articles to show how to leave this program manually.

eg. https://support.microsoft.com/en-us/windows/stop-receiving-insider-builds-for-windows-10-be2c37cf-ae6e-c654-a6df-b3ebbcdc3404#:~:text=Select%20the%20Start%20button%2C%20then%20select%20Settings%20%3E%20Update%20%26%20security,to%20opt%20out%20your%20device

However, does anyone know if this is possible to do programmatically? such as powershell?

Thanks
DM

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
12,066 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. abbodi86 4,026 Reputation points
    2022-07-15T00:46:18.817+00:00

    You can do it from command prompt as administrator, then reboot

    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\Account" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\Applicability" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\Cache" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\ClientState" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\UI" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\Restricted" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\WindowsSelfHost\ToastNotification" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\WUMUDCat" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingExternal" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingPreview" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingInsiderSlow" /f  
    2>nul reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\SLS\Programs\RingInsiderFast" /f  
    2>nul reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate" /f /v BranchReadinessLevel  
    2>nul bcdedit /deletevalue {current} flightsigning  
    
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.