• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - JLukins

#1
Thank you, that's great. I obviously hadn't accessed the scheduled tasks as an Adminsitrator.

#2
Hi,

Then something doesn't make sense. I am a standard user and have a schedule set within PatchMyPC to run everyday at 9am. The task is enabled, "Task Visibility" is Silent and "Run Whether or Not Logged In" is true. As the log below shows, updates are being installed but I never see a UAC dialogue so PatchMyPC MUST be running with administrator privileges. My question I think therefore is how is the schedule implemented as I cannot see anything in Task Scheduler in Windows and if it is doing it itself, how does it gain administrator rights?

Here is a log entry from yesterday morning showing updates installing without issue.
18/03/2021 09:00:03 - Patch My PC Started
18/03/2021 09:00:03 - Patch My PC running with command line option: /silent
18/03/2021 09:00:03 - Checking connection to patchmypc.com
18/03/2021 09:00:03 - Verified connection to patchmypc.com. Status Code: 200
18/03/2021 09:00:03 - Getting latest definitions from patchmypc.com
18/03/2021 09:00:03 - Definition load completed in: 0.17 seconds
18/03/2021 09:00:03 - Patch My PC version 4.2.0.2 is running. The latest is 4.2.0.2
18/03/2021 09:00:03 - Performing scan of installed applications
18/03/2021 09:00:04 - Scan completed in: 0.57 seconds
18/03/2021 09:00:04 - Starting to perform updates silently since /silent switch used
18/03/2021 09:00:05 - Patch My PC 4.2.0.2 | Definitions: 17-Mar-2021 | 18/03/2021 09:00:05

18/03/2021 09:00:05 - Run With /SILENT Switch
18/03/2021 09:00:05 - OS: Microsoft Windows 10 Pro x64

18/03/2021 09:00:05 - 2 App(s) to install or update...
18/03/2021 09:00:05 - Download URL: https://patchmypc.com/freeupdater/applications/audacity-win-3.0.0.exe
18/03/2021 09:00:05 - Download Path: C:\PatchMyPCUpdates\Audacity 3.0.0.exe
18/03/2021 09:00:05 - Download size: 28.02 MB
18/03/2021 09:00:05 - Download Starting for: https://patchmypc.com/freeupdater/applications/audacity-win-3.0.0.exe
18/03/2021 09:00:11 - Total download time in seconds: 6.14
18/03/2021 09:00:11 - Install Command: /VERYSILENT /SP- /NOCLOSEAPPLICATIONS /NORESTARTAPPLICATIONS /NORESTART
18/03/2021 09:00:11 - Audacity 3.0.0 Downloaded Successfully
18/03/2021 09:00:11 - Installing Audacity 3.0.0 Silently
18/03/2021 09:00:19 - Install Successful for Audacity 3.0.0

18/03/2021 09:00:19 - Deleted file: C:\PatchMyPCUpdates\Audacity 3.0.0.exe
18/03/2021 09:00:19 - Download URL: https://patchmypc.com/freeupdater/applications/FileZilla_3.53.0_win64-setup.exe
18/03/2021 09:00:20 - Download Path: C:\PatchMyPCUpdates\FileZilla Client 3.53.0 (x64).exe
18/03/2021 09:00:20 - Download size: 10.86 MB
18/03/2021 09:00:20 - Download Starting for: https://patchmypc.com/freeupdater/applications/FileZilla_3.53.0_win64-setup.exe
18/03/2021 09:00:20 - Downloading FileZilla Client 3.53.0 (x64) (10.86 MB)
18/03/2021 09:00:21 - Total download time in seconds: 1.90
18/03/2021 09:00:21 - Install Command: /S
18/03/2021 09:00:21 - FileZilla Client 3.53.0 (x64) Downloaded Successfully
18/03/2021 09:00:21 - Installing FileZilla Client 3.53.0 (x64) Silently
18/03/2021 09:00:30 - Install Successful for FileZilla Client 3.53.0 (x64)

18/03/2021 09:00:30 - Deleted file: C:\PatchMyPCUpdates\FileZilla Client 3.53.0 (x64).exe
18/03/2021 09:00:32 -
Patch My PC Update Complete 18/03/2021 09:00:32
#3
Again, I understand that the scheduled task runs with administrator privileges. I rely on this to update even though I run as a standard user.

The question is how does the silent task elevate privileges without any user interaction.

With the GUI running and depending on UAC settings, a dialogue will appear. How does the silent task bypass the need for a dialogue but still updates with administrator rights?
#4
Hi,

I understand that UAC is required, my question is how does PatchMyPC get administrative rights when running silently as part of a schedule?

Thanks

Jeremy
#5
I am using PatchMyPC and my account is a standard user. When ever I start the UI it asks me for an administrative account (via UAC) and runs normally. This is not a problem.

I have also set up a schedule with "Task Visibility" set to Silent and "Run Whether or Not Logged In" set to True. This works fine but it obviously does not raise a dialgue asking for an adminsitrative account. How does it avoid this? Is this not a security hole in itself?

Does the scheduled task maintain a token?

Thanks.