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

Hi again :)

I have one small issue, when I deploy the script [all configured as per instructions], first I get standard Software Center popup, instead of the hta. The below screen shows the timing to be next available deployment occurrence, for testing purposes I have 9:20 AM daily. Once I click OK on the below, only then the hta windows is brought with all the user information and deferrals count. Am I missing something maybe?

image.png.fb378dcd4f1840cd00705a3e266b501a.png

Share this post


Link to post
Share on other sites

have you tried modifying your client agent settings,  you can make custom client settings for these specific  collections if needed

 

Share this post


Link to post
Share on other sites

also check your User Notification settings on the task sequence properties, here's an example. It will only display IF the user launches the required upgrade from the software center

 

image.png

Share this post


Link to post
Share on other sites

Hi Niall

Thank you. Tthis is what I already have in the TS, with some custom information like new default BitLocker PIN after completion etc :)

The side effect of hiding the Software Center notification to have TS initiate the program without the standard message as above is that at the same time the monthly updates can be running.

I have clicked Upgrade Now, but the updates were already running [or just started] so the upgrade did not start straightaway, letting updates to complete. Once updates were completed, the Upgrade has resumed and TS initiated, but the script has skipped the condition for reboot, as this was checked before the updates completed. 

2018-03-06 12:28:34 Upgrade_Forced found in HKCU, checking for DO_NOT_UPGRADE.txt file...
2018-03-06 12:28:34 C:\ProgramData\DO_NOT_UPGRADE.txt doesn't exist. Upgrade is allowed
2018-03-06 12:28:34 creating Upgrade_Forced.txt file
2018-03-06 12:28:34 Checking is model supported...
2018-03-06 12:28:34 Model detected=20FAS4RU0K
2018-03-06 12:28:34 Computer model is supported
2018-03-06 12:28:34 Checking for on battery...
2018-03-06 12:28:34 computer does have a battery...
2018-03-06 12:28:34 computer IS connected to Power...
2018-03-06 12:28:34 computer IS connected to Power...
2018-03-06 12:28:34 Checking for free disc space...
2018-03-06 12:28:34 computer has more than 25GB disc space...181.87
2018-03-06 12:28:34 Checking for VPN...
2018-03-06 12:28:35 VPN not found...
2018-03-06 12:28:35 Checking for pending reboot...
2018-03-06 12:28:35 computer did NOT need a reboot...
2018-03-06 12:28:35 exiting wrapper script with exit code 0
2018-03-06 12:28:35  The registry value does  not exist.
2018-03-06 12:28:35  The 5 registry value exists, deleting it !.
2018-03-06 12:28:35 exiting wrapper script with exit code 0, task sequence should begin after this...

And the upgrade has started at 2PM approximately. 
 

Share this post


Link to post
Share on other sites

ok i understand your scenario, i guess the wrapper would have to be modified to do an additional check for that, i'll see if it's possible and update the thread if i can

Share this post


Link to post
Share on other sites

you could modify Eswar's script here to detect/verify that there are no updates pending, and if so allow it to continue

http://eskonr.com/2016/11/sccm-configmgr-powershell-script-to-install-software-updates-on-remote-clients/

 

cheers

niall

Share this post


Link to post
Share on other sites

Hi Niall,

First, thank you very much for this thread and your site. I am a new member, but I have been browsing this board for months. Excellent work. A gold mine for admins.

For some reason, my image is stuck here and it has been this way for quite some time. It happens after downloading the OS. What could be the issue? I can use that OS package for my regular images.

Thanks.

UpgradeWindows10.jpg

Share this post


Link to post
Share on other sites

First, thank you very much for this thread and your site. I am a new member, but I have been browsing this board for months. Excellent work. A gold mine for admins. 

thanks for the kind words ! and welcome to windows-noob :-)

as regards your issue it's hard to tell without seeing the logs, so can you please zip up and attach your smsts*.log file from c:\windows\ccm\logs\SMSTSLOG here

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.