Click here to Skip to main content
15,899,313 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want try to disable windows 10 update in one click ..
How Can I Change Local Group Policy Settings (Gpedit.Msc) Using .Net Code Programmatically to disable update windows 10..

What I have tried:

never try before ---------------------------------------------------------------------
Posted
Updated 13-Nov-17 6:43am
v2

Well have never tried this before but following thread looks can help you doing so-
c# - How to apply Windows group policy using .NET? - Stack Overflow[^]

This is not an answer rather just a pointer to a thread which may contain the answer for you.

Hope, it helps :)
 
Share this answer
 
Policies are just poking values into the registry, nothing more.

If you've got the key names, value names, and the values to write to the registry, you simply write the values to the registry in your code.
 
Share this answer
 
Comments
Khabibb Mubarakk 13-Nov-17 12:34pm    
it's registry should be like that https://www.windowscentral.com/how-stop-updates-installing-automatically-windows-10 and how to write programmatically, it look like simple for expert but i'm a junior ..
Dave Kreskowiak 13-Nov-17 14:55pm    
They hide that kind of information in the documentation[^].
Khabibb Mubarakk 13-Nov-17 15:52pm    
yup I trying.. more clearly information https://www.codeproject.com/Articles/3881/Working-with-Windows-Registry-using-VB-NET

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900