Jump to content




anyweb

How can I forcefully upgrade Windows 7 or Windows 10 to the latest version of Windows 10 using System Center Configuration Manager (Current Branch)?



Recommended Posts

well spotted, except that one is remmed out hence the //

so it doesn't do anything (it's a comment)

cheers

 niall

Share this post


Link to post
Share on other sites


12 hours ago, anyweb said:

well spotted, except that one is remmed out hence the //

so it doesn't do anything (it's a comment)

cheers

 niall

ooh wow, totally missed that.. 

Thanks..

Share this post


Link to post
Share on other sites

if you open the HTA using Notepad ++ and change the Language used to VBScript (VBS) or HTML in Notepad ++ you'll see it format the HTA nicely and it'll make more sense.

Share this post


Link to post
Share on other sites

Hello,

First of all, congratulations for your great work !

I'm trying to edit the HTA to disable checkbox / onedrive, but I can not ... Is there a simple way to do it?

(Sorry if this is a dumb question)

Share this post


Link to post
Share on other sites

thanks !

you need to cut out this bit

image.png

and then modify this function to ensure that Upgrade Now button is not disabled

 

function disable_enable(){
    if (document.getElementById("Checkbox1").checked == true)
      //alert('checked');
      document.getElementsByName("run_vbscript_button").item(0).disabled = false;
    else
    //alert('not checked');
    document.getElementsByName("run_vbscript_button").item(0).disabled = true;

 

cheers

niall

Share this post


Link to post
Share on other sites

that's exactly what I did, but then I had an error on line 78.

I will watch ...

Thank you so much !

Edited by lololo

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×