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

great stuff glad to hear it :)

 

Share this post


Link to post
Share on other sites


Hi,

Thanks for this guide, it's very helpful for me (upgrade Win 7 to Win 10) and i've learned lot of things with :)

I have an issue with the reg add for the date. After the deployment, the value is "%date%".

I've create a task sequence test just with the command, same thing.

When i tried with psexec, no problem.

No error in smsts.log

Anyone have the sameissue ?

Thanks :)

 

Share this post


Link to post
Share on other sites

Hi,

I am unable to download the zip files. Looks like they are missing.

Could you upload them again?

Thanks!

 

Never mind. I just suck.

I got them now!

Edited by noobulan

Share this post


Link to post
Share on other sites
6 hours ago, tasmo said:

Hi,

Thanks for this guide, it's very helpful for me (upgrade Win 7 to Win 10) and i've learned lot of things with :)

I have an issue with the reg add for the date. After the deployment, the value is "%date%".

I've create a task sequence test just with the command, same thing.

When i tried with psexec, no problem.

No error in smsts.log

Anyone have the sameissue ?

Thanks :)

 

hi can you show the step in your task sequence please

Share this post


Link to post
Share on other sites
11 hours ago, anyweb said:

hi can you show the step in your task sequence please

Hi,

"Disable 64-bit" is checked but i also tried uncheck, same.

Thanks !

RegAdd.PNG

RegAdd - Date.PNG

RegAdd - Registry.PNG

Share this post


Link to post
Share on other sites

I see you are using french, have you tried the equivalent word in French in case that's the issue ?

Share this post


Link to post
Share on other sites
On 6/1/2018 at 3:23 PM, anyweb said:

I see you are using french, have you tried the equivalent word in French in case that's the issue ? 

In french it's date too, it works if i run the command.

Share this post


Link to post
Share on other sites

so if you manually run the command in a command prompt, does it work ?

Share this post


Link to post
Share on other sites
3 hours ago, anyweb said:

so if you manually run the command in a command prompt, does it work ?

Yes

 

reg add.PNG

Share this post


Link to post
Share on other sites

odd, my working ts has MDT integration, can you try adding a Use Toolkit Package and then MDT gather step before this, and see does it make any difference in your task sequence

Share this post


Link to post
Share on other sites

I see, i can't add MDT on my server because it's not the primary SCCM server add i don't have sufficient access to do this on my server. I manage only my DP server 😕

Nevermind, i'll disable this step. I'll use other kind of report :)
Anyway, thanks you to allowed time for answer me !

 

Share this post


Link to post
Share on other sites

First of all, many thanks for this excellent solution and making it available to the community.

Microsoft should learn from this and design and out-of-box solution for Windows 10 In-place upgrade similar to this.  

Having said that, I'm having some issues, one with the %date% same as "tasmo".  The other issue is, the task sequence is always starting after 4 hrs delay.  As well no progress bar shows up once i click the "Upgrade now" button

Any help would be greatly appreciated.

thanks

 

Share this post


Link to post
Share on other sites
Quote

First of all, many thanks for this excellent solution and making it available to the community.

thanks I appreciate it !

as regards the %date% issue, can you tell me if you are you using MDT integrated with ConfigMgr or not ? as regards the progress bar not showing up, you probably need to modify the pixel settings  as described in the blogpost, i'll include that info again here for you

Tip: If you have rendering issues with the popup on different devices then edit the call ResizeWindow(425,335,500,375) values and ResizeWindow Function  to fit your specific needs, I don't have access to too much hardware to test this on. The popup is fixed, if you want the user to be able to move it change the line caption="no" to caption="yes". If you want to programmatically use it then add a Window.moveTo(x, y) line.   

 

Share this post


Link to post
Share on other sites
16 hours ago, anyweb said:

thanks I appreciate it !

as regards the %date% issue, can you tell me if you are you using MDT integrated with ConfigMgr or not ? as regards the progress bar not showing up, you probably need to modify the pixel settings  as described in the blogpost, i'll include that info again here for you


Tip: If you have rendering issues with the popup on different devices then edit the call ResizeWindow(425,335,500,375) values and ResizeWindow Function  to fit your specific needs, I don't have access to too much hardware to test this on. The popup is fixed, if you want the user to be able to move it change the line caption="no" to caption="yes". If you want to programmatically use it then add a Window.moveTo(x, y) line.   

 

Thanks for the quick reply.

I had already played around with the ResizeWindow values and wasn't having much success.  As well my task sequence is an MDT integrated one so the %date% value not getting populated is a mystery.  Regardless, not a big deal since I have other methods.

The most important issues right now are the 4hr delay plus the progress bar not showing.  All the machines wait for 4 hrs as soon as I click "Upgrade now" and progress bar never shows up.

Share this post


Link to post
Share on other sites

if you have access to teamviewer i can remote in and help, do you ?

Share this post


Link to post
Share on other sites

First thanks for all your work on this, I like the process and the amount of control it gives us over the upgrade.  I implemented everything a month ago when I was running SCCM 1607 and after I upgraded to 1709 I'm experiencing an extra prompt before the HTA. See below.  If the user closes this the HTA is never displayed, circumventing the deferrals.    I see someone had this problem before you mentioned changing client settings. (See Page 5)   What settings were changed to stop this prompt?     

I have this advertised as required, and this prompt is pops-up automatically, i'm not invoking it from the software center.  Alos I do not have any custom user notifications set on the TS. 

Thanks!

Mark

 

1089071291_SCCMmessage.jpg.b191d58a517990dce5babdfa98018d86.jpg

Share this post


Link to post
Share on other sites
On 3/28/2017 at 10:33 PM, anyweb said:

Hi anyweb, is there any way to increase the time for example 8 hours or 1 day?

 

Share this post


Link to post
Share on other sites

yes of course just edit the wrapper.vbs, i completely forgot to update the scripts as i've rewritten the wrapper in PowerShell, i'll try and update it later this weekend

Share this post


Link to post
Share on other sites
On 9/21/2018 at 3:58 PM, MarkH1381 said:

First thanks for all your work on this, I like the process and the amount of control it gives us over the upgrade.  I implemented everything a month ago when I was running SCCM 1607 and after I upgraded to 1709 I'm experiencing an extra prompt before the HTA. See below.  If the user closes this the HTA is never displayed, circumventing the deferrals.    I see someone had this problem before you mentioned changing client settings. (See Page 5)   What settings were changed to stop this prompt?     

I have this advertised as required, and this prompt is pops-up automatically, i'm not invoking it from the software center.  Alos I do not have any custom user notifications set on the TS. 

Thanks!

Mark

 

1089071291_SCCMmessage.jpg.b191d58a517990dce5babdfa98018d86.jpg

To anyone else having this issue I found a workaround.  Instead of calling the Task Sequence directly, I created a another program which calls the upgrade TS without the warning prompts.  See https://ccmexec.com/2017/09/launching-a-task-sequence-using-an-application-link-in-configmgr-1706/ and https://powersheller.wordpress.com/2012/05/24/sccm-2012-execute-task-sequence-with-powershell/ for the PowerShell script.  

Share this post


Link to post
Share on other sites

interesting but shouldn't be needed, I'll try and post the client settings you do need to avoid the popup, (try)

Share this post


Link to post
Share on other sites

are you referring to the 4 hour countdown that occurs after you run out of deferrals ? or something else

Share this post


Link to post
Share on other sites

there are two main options:

 

  • change the deployment schedule, when you deploy it you create a schedule, by default in my blog post it runs every day at 11am, you can change that to run every 2 days or whatever schedule you want, does that help ?
  • the other place is a timer is in the upgrade.hta, in that if the user ignores the popup (clever users...) then it will auto-timeout after 8 hours or so, and reduce the deferals by one, here's the section of code to edit, it's in milliseconds so 8 hours...

https://duckduckgo.com/?q=28800000+milliseconds+to+hour&t=ffab&ia=answer

 

 ' is the user ignoring the HTA ? if so, let's exit 99 and remove one deferral after <scheduled time>
       ' Note: this value must be LESS than the schedule of your deployment
       ' Note: this value must be MORE than the HTA countdown (pbwaitTime)
        iTimerID = window.setInterval("UserIgnoringHTA", 28800000)

 

Share this post


Link to post
Share on other sites

Hi Niall, 

I´m working on adding the new version of your great tool and noticed a reg value that looks out of Place.

In the upgrade.hta, line 352 "//var key = "HKCU\\Software\\windowsnoob\\UpgradeComputer";"

Shouldn´t this line also be something like " + CompanyName + "?

 

Kind regards

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


×