I have installed version 5.1 on several of my home devices. All are running okay except for one Windows tablet.
The program appears to install okay but when it starts to check application versions it comes up with an error message about not having sufficient permissions to access the registry. I have tried everything I can think of but the problem remains.
I've gone back to version 4.5.0.5 which runs okay on all devices.
Could you please check the log at: %programdata%\PatchMyPCHomeUpdater\
It's likely something blocking access to our process such as anti-virus.
Thanks for the reply. I thought I had replied yesterday but must have forgotten to hit the Post button.
I've done a clean install and the .log file is below. Unfortunately it doesn't mean anything to me.
[2025-03-24 09:27:55] INFO Application launch.
[2025-03-24 09:27:56] DEBUG View MainViewModel has been loaded
[2025-03-24 09:28:01] ERROR System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at ModernHomeUpdater.ClientApp.Services.Implementations.RegistryManager.InternalGetRegistryObjects(RegistryQuery query, RegistryKey node)
at ModernHomeUpdater.ClientApp.Services.Implementations.RegistryManager.GetRegistryObjects(RegistryQuery query)
at ModernHomeUpdater.ClientApp.Services.Implementations.ApplicationManager.InitializeApps(IEnumerable`1 apps)
at ModernHomeUpdater.ClientApp.ViewModels.ApplicationViewModel.LoadAppsAsync()
[2025-03-24 09:28:01] ERROR We are sorry, but there was an error.
Message: Requested registry access is not allowed.
[2025-03-24 09:31:50] INFO Started auto-updater task.
[2025-03-24 09:31:50] DEBUG Starting updater with following args: /silentall -nofreqcheck
Quote from: latimers on March 23, 2025, 02:35:06 PMThanks for the reply. I thought I had replied yesterday but must have forgotten to hit the Post button.
I've done a clean install and the .log file is below. Unfortunately it doesn't mean anything to me.
[2025-03-24 09:27:55] INFO Application launch.
[2025-03-24 09:27:56] DEBUG View MainViewModel has been loaded
[2025-03-24 09:28:01] ERROR System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at ModernHomeUpdater.ClientApp.Services.Implementations.RegistryManager.InternalGetRegistryObjects(RegistryQuery query, RegistryKey node)
at ModernHomeUpdater.ClientApp.Services.Implementations.RegistryManager.GetRegistryObjects(RegistryQuery query)
at ModernHomeUpdater.ClientApp.Services.Implementations.ApplicationManager.InitializeApps(IEnumerable`1 apps)
at ModernHomeUpdater.ClientApp.ViewModels.ApplicationViewModel.LoadAppsAsync()
[2025-03-24 09:28:01] ERROR We are sorry, but there was an error.
Message: Requested registry access is not allowed.
[2025-03-24 09:31:50] INFO Started auto-updater task.
[2025-03-24 09:31:50] DEBUG Starting updater with following args: /silentall -nofreqcheck
Do you get the error if you run the home updater as administrator?
Yes, I do. And I still get it if I turn off all of my anti-virus programs.
Note that all of my devices are running the same up-to-date version of Windows 10 and the same ant-virus programs. But the issue occurs only on one tablet.
Quote from: latimers on March 23, 2025, 04:17:13 PMYes, I do. And I still get it if I turn off all of my anti-virus programs.
Note that all of my devices are running the same up-to-date version of Windows 10 and the same ant-virus programs. But the issue occurs only on one tablet.
Bummer, this is likely something unique to that machine. Then, with how the permissions of the registry are set, we ready a key reg keys under HKLM.
Sorry, didn't understand that last bit.
(Version 4.5.0.5 will run okay on that machine and the others.)
I've tried everything I can think of but cannot get it to work.
It looks like the registry interrogation with the latest version is significantly different from the older version.
How do I stop it from automatically updating to the latest version?