process - How to use reg add in java code -
how change control panel windows update setting using java code.
final string reg_add_cmd ="cmd /c reg add \"hkey_local_machine\\software\\microsoft\\windows\\currentversion\\windowsupdate\\auto update\" /v auoptions /t reg_dword /d 1 /f"; process objprocess; objprocess = runtime.getruntime().exec(reg_add_cmd);
above code not disabling update in control panel.please me
Comments
Post a Comment