Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Something went wrong during updating #12219

Closed
1 task done
1v4r opened this issue Jul 5, 2021 · 4 comments
Closed
1 task done

Something went wrong during updating #12219

1v4r opened this issue Jul 5, 2021 · 4 comments
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@1v4r
Copy link

1v4r commented Jul 5, 2021

Microsoft PowerToys version

0.41.4.0

Running as admin

  • Yes

Area(s) with issue?

Installer

Steps to reproduce

Version: 0.41.4.0
OS Version: Microsoft Windows NT 10.0.18363.0
IntPtr Length: 8
x64: True
Date: 05.07.2021 08:45:25
Exception:
System.UnauthorizedAccessException: Access to the registry key 'HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{dd5cacda-7c2e-4997-a62a-04a597b58f76}\LocalServer32' is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.CreateSubKeyInternalCore(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey, RegistryKeyPermissionCheck permissionCheck, RegistryOptions registryOptions)
at Microsoft.Win32.RegistryKey.CreateSubKey(String subkey)
at Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat.RegisterComServer[T](String exePath)
at Microsoft.Toolkit.Uwp.Notifications.DesktopNotificationManagerCompat.RegisterAumidAndComServer[T](String aumid)
at Wox.PublicAPIInstance..ctor(SettingWindowViewModel settingsVM, MainViewModel mainVM, ThemeManager themeManager)
at PowerLauncher.App.<>c__DisplayClass13_0.b__0()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

✔️ Expected Behavior

Updating software

❌ Actual Behavior

"Something went wrong."

Other Software

No response

@1v4r 1v4r added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 5, 2021
@yuyoyuppe
Copy link
Collaborator

The error happens already on the stage where newly installed PT Run is launched. On startup, it tries to register toast notification via registry (see PublicAPIInstance ctor) but gets access denied error to HKCU key.

Judging from the callstack, that happened in Microsoft.Toolkit.Uwp library, and 'HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID{dd5cacda-7c2e-4997-a62a-04a597b58f76}\LocalServer32' seems to miss \ after CLSID.

To verify that whether it's an installation issue, @1v4r, could you please open regedit and go to 'HKEY_CURRENT_USER\SOFTWARE\Classes\CLSID\{dd5cacda-7c2e-4997-a62a-04a597b58f76}\LocalServer32' and check whether you have Allow checked for both Full Control and Read there.

@mykhailopylyp perhaps we've updated Microsoft.Toolkit.Uwp recently which now has this bug?

@mykhailopylyp mykhailopylyp added the Product-PowerToys Run Improved app launch PT Run (Win+R) Window label Jul 5, 2021
@mykhailopylyp
Copy link
Contributor

perhaps we've updated Microsoft.Toolkit.Uwp recently which now has this bug?

We had this issue reported for previous versions so don't think it's a case

@mykhailopylyp
Copy link
Contributor

Looks like duplicate of #11216

@mykhailopylyp mykhailopylyp added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Jul 5, 2021
@ghost
Copy link

ghost commented Jul 6, 2021

This issue has been marked as duplicate and has not had any activity for 1 day. It will be closed for housekeeping purposes.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-PowerToys Run Improved app launch PT Run (Win+R) Window Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants