EverythingToolbar icon indicating copy to clipboard operation
EverythingToolbar copied to clipboard

Disable search icon checkbox with lack of registry write permissions

Open Giorno-Giovanna1 opened this issue 2 months ago • 1 comments

Preflight Checklist

  • [x] I have fully read the README and it did not solve the problem.
  • [x] I have read the FAQ and it did not solve the problem.
  • [x] I have searched all open and closed issues for the same bug report without success.

EverythingToolbar Version

2.1.0

Variant

Not applicable / Don't know

Everything Version

1.4.1.1024

Windows Version

Windows10

Steps to reproduce

The inability to modify SearchboxTaskbarMode has resulted in the hidden Windows search icon being unusable. System.UnauthorizedAccessException:“Attempted to perform an unauthorized operation.”

Expected Behavior

Hide the icon of the search bar window

Actual Behavior

System.UnauthorizedAccessException:“Attempted to perform an unauthorized operation.”

Screenshots

No response

Log output

2025-10-22 16:57:50.6455|INFO|Launcher|EverythingToolbar 2.1.0.0 started. OS: Microsoft Windows NT 10.0.19045.0| 2025-10-22 16:59:02.6119|ERROR|Utils|Failed to set taskbar search icon mode.|System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind) at EverythingToolbar.Helpers.Utils.SetWindowsSearchEnabledState(Boolean enabled) in D:\Repos\EverythingToolbar-develop\EverythingToolbar\Helpers\Utils.cs:line 37 2025-10-22 16:59:06.3608|ERROR|Utils|Failed to set taskbar search icon mode.|System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind) at EverythingToolbar.Helpers.Utils.SetWindowsSearchEnabledState(Boolean enabled) in D:\Repos\EverythingToolbar-develop\EverythingToolbar\Helpers\Utils.cs:line 37 2025-10-22 16:59:44.1632|INFO|Launcher|EverythingToolbar 2.1.0.0 started. OS: Microsoft Windows NT 10.0.19045.0| 2025-10-22 16:59:59.5238|ERROR|Utils|Failed to set taskbar search icon mode.|System.UnauthorizedAccessException: Attempted to perform an unauthorized operation. at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str) at Microsoft.Win32.RegistryKey.SetValue(String name, Object value, RegistryValueKind valueKind) at EverythingToolbar.Helpers.Utils.SetWindowsSearchEnabledState(Boolean enabled) in D:\Repos\EverythingToolbar-develop\EverythingToolbar\Helpers\Utils.cs:line 37 2025-10-22 17:00:24.8342|INFO|Launcher|EverythingToolbar 2.1.0.0 started. OS: Microsoft Windows NT 10.0.19045.0| 2025-10-22 17:02:07.7023|INFO|Launcher|EverythingToolbar 2.1.0.0 started. OS: Microsoft Windows NT 10.0.19045.0| 2025-10-22 17:02:29.4954|INFO|Launcher|EverythingToolbar 2.1.0.0 started. OS: Microsoft Windows NT 10.0.19045.0|

Additional Information

No response

Final Checklist

  • [x] I have provided detailed, clear information in all required fields above and put genuine effort into this bug report.

Giorno-Giovanna1 avatar Oct 22 '25 09:10 Giorno-Giovanna1

Hi, it looks like your user account doesn't have permission to write the registry key. I may have to disable the checkbox in such cases.

srwi avatar Oct 23 '25 19:10 srwi