Support Forum: Get Support for Patch My PC Products and Services

Home Updater (Free Updater) => Report Detection Issues Here (Free Home Updater) => Topic started by: rfischer on March 13, 2018, 09:33:22 AM

Title: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant 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.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant on March 15, 2018, 07:49:02 AM
Can you send the PathMyPC.log?
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer on March 15, 2018, 11:05:15 AM
I'll send two.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer on March 15, 2018, 06:42:43 PM
Another one with the same problem.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant 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?
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant 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?
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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.

Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant on March 17, 2018, 08:56:51 AM
Have you restarted? Or manually killed all processes starting with patchmypc*.exe
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant on March 17, 2018, 10:22:09 AM
Weird. What version is currently being run?
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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?
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer 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.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant on March 17, 2018, 12:32:51 PM
Ah bummer. Yeah, AV does give some false positives. It's likely because we had to release a PatchMyPCUpdater.exe to address the bug so it's a fairly new file.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant on March 17, 2018, 12:36:13 PM
Looks like all AVs definitions are setting it as clean: https://www.virustotal.com/#/file-analysis/ZjM4ZmUyMDllOTc3ZTgxNjg1OTQwZjA0ZmFmZTZhMGI6MTUyMTMxMTY1Ng==

But it's hard to say it cloud/realtime still may be blocking things for some vendors.
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: Justin Chalfant on March 17, 2018, 12:46:15 PM
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?

Missed this question in my reply. Settings are stored in: HKEY_LOCAL_MACHINE\SOFTWARE\Patch My PC\Options
Title: Re: Scheduled Tasks fails when Patch My PC self updates
Post by: rfischer on March 17, 2018, 02:11:18 PM
Everything is working now. Thank you