Author Topic: Scheduled Tasks fails when Patch My PC self updates  (Read 3316 times)

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Scheduled Tasks fails when Patch My PC self updates
« on: March 13, 2018, 09:33:22 AM »
When Patch My PC needs to self update it fails to do so via scheduled task. Then it hangs and never updates anything until I open Patch My PC manually to get the update. After that the schedule tasks start working again. I notice that the PatchMyPCUpdates directory is showing on the C:\ and there exist two updater files in there. Furthermore, the Patch My Pc updater is running in task manager, but I guess it is just hanging for some reason.  This is happening on serveral Windows 10 (1709) computers.
« Last Edit: March 13, 2018, 10:53:35 AM by rfischer »

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2093
    • View Profile
    • Patch My PC Support
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #1 on: March 14, 2018, 11:06:20 PM »
Do you know what version was failing to update via scheduled task. We have a bug in version 3x where the scheduled task would hang if it was set to run whether or not a user was logged in. This should have been fixed in version 4.0. So if you manually ran it and it updated it should be good going forward.

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #2 on: March 14, 2018, 11:58:09 PM »
As far as I can tell this has been happening to me in the last few versions of version 4. Just a few minutes ago I had to run it manually to get the update, and I know I did this about a week ago too which would have been version 4.0.0.7. I was wondering if it was the graphic that loads when you manually run patchmypcupdater.exe which may be making it hang when running silently.

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2093
    • View Profile
    • Patch My PC Support
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #3 on: March 15, 2018, 07:49:02 AM »
Can you send the PathMyPC.log?

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #4 on: March 15, 2018, 11:05:15 AM »
I'll send two.

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #5 on: March 15, 2018, 06:42:43 PM »
Another one with the same problem.

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2093
    • View Profile
    • Patch My PC Support
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #6 on: March 16, 2018, 08:57:10 PM »
What is the path patchmypc.exe is running from? Are there any patchmypc*.exe processes running in the background?

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2093
    • View Profile
    • Patch My PC Support
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #7 on: March 16, 2018, 09:56:23 PM »
First off, we really appreciate you finding this issue and providing details. We think we found the bug you were hitting. Can you run the scheduled task and see if auto updates works now?

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #8 on: March 17, 2018, 08:31:16 AM »
I create a directory called "C:\program files\pmpc" and run it from there.

 I assume I'll have to first update and then wait for the next update to see if it is working. I'll let you know.

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #9 on: March 17, 2018, 08:37:38 AM »
I tried to update and scheduled task was failing. Now update failed when manually opening PMPC with the attached error.

« Last Edit: March 17, 2018, 08:49:20 AM by rfischer »

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2093
    • View Profile
    • Patch My PC Support
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #10 on: March 17, 2018, 08:56:51 AM »
Have you restarted? Or manually killed all processes starting with patchmypc*.exe

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #11 on: March 17, 2018, 10:10:38 AM »
I just gave it a reboot and tried running the scheduled task which did not work to update. I checked the task manager there was no running patch my pc processes, but it did create the patchmypcupdates dir on the c: with the updater. I deleted that and tried to open patch my pc manually and received the same errors.

Offline Justin Chalfant

  • Patch My PC Support
  • Administrator
  • Hero Member
  • *****
  • Posts: 2093
    • View Profile
    • Patch My PC Support
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #12 on: March 17, 2018, 10:22:09 AM »
Weird. What version is currently being run?

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #13 on: March 17, 2018, 10:41:48 AM »
4.0.0.8. However, I just noticed my Antivirus program is blocking the updater. Let me add some rules and try again.

Side question, where does Patch My PC store its settings such as the settings checked or unchecked in the options menu?

Offline rfischer

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: Scheduled Tasks fails when Patch My PC self updates
« Reply #14 on: March 17, 2018, 11:00:01 AM »
Alright I can confirm that it is working now after allowing it in my antivirus program. I can also confirm that my antivirus program was not blocking it prior to the bug fix. Thank you.
« Last Edit: March 17, 2018, 11:20:09 AM by rfischer »