Windows 11 Upgrades not attempting

Patch Remedy 5 is the next generation of the Plugins4Automate Patch Remedy family of products.
This forum is used to support Patch Remedy 5 only, if your using a previous version of Patch Remedy please see the forum for that version below.
Inside you will find the documentation project for the plugin were you can get insights on how to operate and use Patch Remedy 5.
LHChris
Posts: 11
Joined: Fri May 10, 2024 5:59 pm
1

Windows 11 Upgrades not attempting

Post by LHChris »

I scheduled a client to upgrade to Win11 last night and all of the agents still just show them as scheduled for 5/15/2024 10:30:00 PM with "None" for last attempt and last log.

I tried re-scanning agent but still looks the same.

There are 28 Agents in this Client that are capable of upgrading to Win11.

Is there a log for patch remedy somewhere so I can see if it is at least attempting to do something or receiving an error?

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Windows 11 Upgrades not attempting

Post by Cubert »

Yes, There are server level logs at C:\Program Files\LabTech\logs\plugin_patch_Remedy.log

This is where Automate stores all the automation requests the plugin makes. We log when schedules are fired off so if it was attempted, it would show here.

Was this scheduled same day or did you schedule it out several days?

LHChris
Posts: 11
Joined: Fri May 10, 2024 5:59 pm
1

Re: Windows 11 Upgrades not attempting

Post by LHChris »

Was the day before, so on 5/14 I scheduled it to run 5/15.

LHChris
Posts: 11
Joined: Fri May 10, 2024 5:59 pm
1

Re: Windows 11 Upgrades not attempting

Post by LHChris »

This is the entirety of the logs for 5/15

Code: Select all

LTAgent  v240.146	 - 5/15/2024 12:05:48 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Windows OS Upgrade Operations starting.:::
LTAgent  v240.146	 - 5/15/2024 12:05:48 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: (Windows Update Assistant) Service Disabled.:::
LTAgent  v240.146	 - 5/15/2024 12:05:48 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Windows OS Upgrade Operations completed.:::
LTAgent  v240.146	 - 5/15/2024 12:30:52 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Windows Updates Operations starting.:::
LTAgent  v240.146	 - 5/15/2024 12:30:52 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: (New agent detection) Started.:::
LTAgent  v240.146	 - 5/15/2024 12:30:53 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: (New agent detection) Completed, added [4] new agents:::
LTAgent  v240.146	 - 5/15/2024 12:30:53 AM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Windows Updates Operations completed.:::
LTAgent  v240.146	 - 5/15/2024 2:33:43 PM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Windows Updates Operations starting.:::
LTAgent  v240.146	 - 5/15/2024 2:33:43 PM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: (Windows Update Scheduler) Service started:::
LTAgent  v240.146	 - 5/15/2024 2:33:43 PM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: (Windows Update Scheduler) scripted for [0] agents.:::
LTAgent  v240.146	 - 5/15/2024 2:33:43 PM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Windows Updates Operations completed.:::
LTAgent  v240.146	 - 5/15/2024 11:04:32 PM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Current Version is (1.0.5.18) and the available version is (1.0.5.18):::
LTAgent  v240.146	 - 5/15/2024 11:04:32 PM	 - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: Plugin version is current:::

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Windows 11 Upgrades not attempting

Post by Cubert »

Interesting OK,

From logs... It looks like the following is being triggered.
LTAgent v240.146 - 5/15/2024 12:05:48 AM - Plugin PatchRemedy, Version=1.0.5.18, Culture=neutral, PublicKeyToken=null: (Windows Update Assistant) Service Disabled.:::
Here is where we test for disabled services and exit scheduler task automation if value is found.

Code: Select all

If CInt(myICC.GetSQL(String.Format("SELECT count(*) FROM `properties` WHERE `Name` = 'PatchRemedyWindowsUpgradeService' and `Value` = '1';"))) = 0 Then
    myICC.LogMessage("(Windows Update Assistant) Service Disabled. ")
    Exit Sub
End If

So to fix,

You need to clear the flag .

Code: Select all

UPDATE `properties` SET `value` = 0 WHERE `Name` = 'PatchRemedyWindowsUpgradeService'


Afterwards reschedule agent(s) again. Must schedule over 24 hours or next day to trigger automated schedule else if you schedule same day, we just schedule the script for the time frame at the point you save schedule. This is why I asked if it was a same day or next day schedule. Two different processes take place based on same day/any other days.

LHChris
Posts: 11
Joined: Fri May 10, 2024 5:59 pm
1

Re: Windows 11 Upgrades not attempting

Post by LHChris »

Cubert wrote: Fri May 17, 2024 5:24 pm
So to fix,

You need to clear the flag .

Code: Select all

UPDATE `properties` SET `value` = 0 WHERE `Name` = 'PatchRemedyWindowsUpgradeService'

Where do I do this?

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Windows 11 Upgrades not attempting

Post by Cubert »

Not to worry, Ill fix it here so You have a control to manage that setting. I'll get an update out today that will allow you to switch that setting in the plugin.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Windows 11 Upgrades not attempting

Post by Cubert »

I have now posted the latest update to Patch Remedy
Auto update should kick in tonight and update the plugin automaticlly, but if you want the fix now... The link is here.

https://delivery.shopifyapps.com/-/3aa5 ... 8876b24ff7


Here is how it works:
  • Left Click Hamburger
  • If the menu item says Disable Windows Upgrade Service then you are enabled and clicking the menu item will disable you.
  • If the menu item says Enable Windows Upgrade Service then you are currently disabled and clicking the menu item will enable you again.
This is only available in the Main Patch Remedy View and not in the Client Console view.

Screenshot 2024-05-20 101757.png
Screenshot 2024-05-20 101757.png (17.31 KiB) Viewed 5205 times

LHChris
Posts: 11
Joined: Fri May 10, 2024 5:59 pm
1

Re: Windows 11 Upgrades not attempting

Post by LHChris »

Been trying to upgrade windows 10 to 11 and upgrade windows 10 feature updates to newer versions (ie 1908>22H2) and Patch Remedy is still seemingly doing nothing.

Here is log from the whole day of 6/19, that day I scheduled 2 whole clients to upgrade windows 10. I set the scheduled upgrade 3 days before.

Code: Select all

LTAgent  v240.223	 - 6/19/2024 12:00:06 AM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Windows OS Upgrade Operations starting.:::
LTAgent  v240.223	 - 6/19/2024 12:00:09 AM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Windows OS Upgrade Operations completed.:::
LTAgent  v240.223	 - 6/19/2024 12:31:23 AM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Windows Updates Operations starting.:::
LTAgent  v240.223	 - 6/19/2024 12:31:24 AM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: (New agent detection) Started.:::
LTAgent  v240.223	 - 6/19/2024 12:31:24 AM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: (New agent detection) Completed, added [20] new agents:::
LTAgent  v240.223	 - 6/19/2024 12:31:24 AM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Windows Updates Operations completed.:::
LTAgent  v240.223	 - 6/19/2024 2:32:51 PM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Windows Updates Operations starting.:::
LTAgent  v240.223	 - 6/19/2024 2:32:51 PM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: (Windows Update Scheduler) Service started:::
LTAgent  v240.223	 - 6/19/2024 2:32:51 PM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: (Windows Update Scheduler) scripted for [0] agents.:::
LTAgent  v240.223	 - 6/19/2024 2:32:51 PM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Windows Updates Operations completed.:::
LTAgent  v240.223	 - 6/19/2024 11:04:11 PM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Current Version is (1.0.5.19) and the available version is (1.0.5.19):::
LTAgent  v240.223	 - 6/19/2024 11:04:11 PM	 - Plugin PatchRemedy, Version=1.0.5.19, Culture=neutral, PublicKeyToken=null: Plugin version is current:::
Any help here would be appreciated.

User avatar
Cubert
Posts: 2694
Joined: Tue Dec 29, 2015 7:57 pm
9
Contact:

Re: Windows 11 Upgrades not attempting

Post by Cubert »

Sure,

Can you tell when you set the schedule to? time and date.

According to your log the upgrade scheduler fired off, found no agents for date and exited.


We query Automate for a list of agents where the date they have for schedule is current days date. This would be the list of agent that were scheduled for that day.

You can test your agents dates to see if they are showing up. I would modify SQL query below and remove WHERE statement to get a list of all agents scheduled settings. Lets see if something is malformed.

Code: Select all

SELECT ComputerID,ComputerName,WUGSchedule,WUGPolicyID FROM plugin_p4a_patch_remedy_agent WHERE date(`WUGSchedule`) = curdate();

Post your data back here
.

Post Reply

Return to “Patch Remedy 5”