Share via

Leave Win10 Insider Preview program, programmatically?

David Moon 631 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 for business | Windows Client for IT Pros | User experience | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. abbodi86 4,916 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  
    

    Was this answer helpful?

    0 comments No comments

Your answer

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