File-New-Project / EarTrumpet

EarTrumpet - Volume Control for Windows
https://eartrumpet.app
Other
8.85k stars 513 forks source link

EarTrumpet isn't starting on boot on Windows 10 #468

Closed dasme closed 1 year ago

dasme commented 4 years ago

Since reinstalling Windows, EarTrumpet is no longer starting on boot. I'm unable to find any "Load on Boot" settings in the settings menu, and it isn't listed in the "Startup Apps" section of the windows settings panel.

This is for the Windows 10 Store version.

Zcehtro commented 4 years ago

Same problem with me. After an update, it won't start automatically and I can't find any setting within the app that will make it start at logon.

riverar commented 4 years ago

What version/build of Windows 10 are you two using?

dasme commented 4 years ago

I'm running

Windows 10 Pro Version 1909 Build 18363.657

Yang-Richard commented 4 years ago

Same problem here as well.

Currently set to start on boot. The application is listed as a background process in task manager and the "start" screen shows up (cannot un-click data share), however the icon is not in the task bar and cannot access the EarTrumpet UI.

When I manually end task and start it again, the start screen pops up and then the same issue as above. Only this time, the task is not even in background processes.

Windows 10 Education Version 1909 Build 18363.720

Zcehtro commented 4 years ago

Now it's working like normal again. I just turned on my computer and found EarTrumpet in the system tray, but I had to move it out from the hidden menu and next to the clock to have its icon always visible. Most likely it was solved somehow.

Just in case, here's my data: Windows 10 Pro Version 1909 OS Build 18363.720

Yang-Richard commented 4 years ago

Unfortunately I can't share the same resolution, still seeing the same issue. Just tried rebooting, EarTrumpet is showing as a background process in Task Manager with EarTrumpet (32bit) and Runtime Broker sub-processes.

Can't find the icon hidden away in the system tray, and Ear Trumpet does not appear as an option when going to the "select which icon appears on the taskbar" settings page in Taskbar Settings.

riverar commented 4 years ago

@Yang-Richard Does it show up in Task Manager > Startup tab?

Yang-Richard commented 4 years ago

Yes, listed with status enabled and startup impact not measured.

When I manually end task and start it again, the start screen pops up and then the same issue as above. Only this time, the task is not even in background processes.

Slight update to my previous post. I can now start and stop the background process, but still doesn't show up as visible or hidden in the task bar.

dasme commented 4 years ago

I have nothing EarTrumpet related in Task Manager > Startup. Just rebooted and no EarTrumpet task is currently running. It's not listed in Settings -> Startup -> Startup Apps either.

riverar commented 4 years ago

Are you using Windows 10 Pro For Workstations by any chance? If you Start > Run > ms-settings:startupapps and click OK, what happens?

Can you also use regedit to check HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and see if the following values exist?

SupportFullTrustStartupTasks EnableFullTrustStartupTasks

Also, check HKCU\Software\Policies\Microsoft\Windows\Explorer for EnableAllStartupApplications.

Yang-Richard commented 4 years ago

Unclear if you're speaking to dasme or everyone, but I'm not on Win10Pro. Entering that in run just brings me to the settings startup apps page.

image

I could not find SupportFullTrustStartupTask or EnableFullTrustStartupTasks in that directory as far as I can tell. This is what exists at that directory.

image

I could not find EnableAllStartupApplications at that final directory.

riverar commented 4 years ago

@Yang-Richard Can you save this as StartupTasks.reg, double-click it, merge it into the registry and reboot? Should resolve your issue.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableFullTrustStartupTasks"=dword:00000002
"EnableUwpStartupTasks"=dword:00000002
"SupportFullTrustStartupTasks"=dword:00000001
"SupportUwpStartupTasks"=dword:00000001
riverar commented 4 years ago

I'm also interested to hear if any of you are running third-party utilities that may have deleted the policies above. Are you using any sort of "de-bloating" or privacy-related tools for Windows 10? W10Privacy? Windows10Debloater? Any sort of telemetry blocking tools? Any registry cleaners or similar utilities?

Was this a machine upgraded from a previous version of Windows (e.g. Windows 7 or 8)? OEM provided or clean/self-installed?

Zcehtro commented 4 years ago

I'm also interested to hear if any of you are running third-party utilities that may have deleted the policies above. Are you using any sort of "de-bloating" or privacy-related tools for Windows 10? W10Privacy? Windows10Debloater? Any sort of telemetry blocking tools? Any registry cleaners or similar utilities?

No. Once in a while I run CCleaner, but only for file cleanup. I don't touch anything in the registry.

Was this a machine upgraded from a previous version of Windows (e.g. Windows 7 or 8)? OEM provided or clean/self-installed?

In my case, I set up my computer from scratch with Win10 Home in Spanish, then change the default system language to English-US. Then set it up with en Education license. Finally upgrade to a OEM Pro license.

Hope that info helps.

dasme commented 4 years ago

Are you using Windows 10 Pro For Workstations by any chance? If you Start > Run > ms-settings:startupapps and click OK, what happens?

Nope, just Windows 10 Pro. This is a fresh install that I did in December. Installed my GoXLR Mixer, OBS and other streaming apps and hardware. I installed EarTrumpet from the Windows Store. Images of my settings follow:

version startup

Can you also use regedit to check HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and see if the following values exist?

SupportFullTrustStartupTasks EnableFullTrustStartupTasks

Yep.

regedit

Also, check HKCU\Software\Policies\Microsoft\Windows\Explorer for EnableAllStartupApplications.

Hmm. I don't seem to have an Explorer entry.

regedit2
dasme commented 4 years ago

I'm also interested to hear if any of you are running third-party utilities that may have deleted the policies above. Are you using any sort of "de-bloating" or privacy-related tools for Windows 10? W10Privacy? Windows10Debloater? Any sort of telemetry blocking tools? Any registry cleaners or similar utilities?

Was this a machine upgraded from a previous version of Windows (e.g. Windows 7 or 8)? OEM provided or clean/self-installed?

Sorry forgot to add that I haven't run any cleaning utils or anything else on this machine that would touch the registry. Just did a clean install of Windows 10 from scratch.

Yang-Richard commented 4 years ago

@riverar Tried the solution you suggested, reporting back that it did not work. I did check to make sure the registry edits were made. No changes to how EarTrumpet is currently acting on boot.

image

No cleaners on my PC, only thing I could think of is Disk Cleanup or MalwareBytes. This is a fresh self-install from approximately 2 months ago.

One thing I did randomly stumble upon is that the program is underlined in the Start Menu, see below. Not sure if this is related, no other selection is like that.

image

riverar commented 4 years ago

@Yang-Richard Interesting, that's a progress bar. It's as if it never fully finished installing? Can you try uninstalling/reinstalling now that the registry entries are in place? (right-click that tile in Start)

Yang-Richard commented 4 years ago

That's odd. I just uninstalled and attempted to reinstall through the Microsoft Store. Goes through the following actions

  1. Is there an alternate location or .exe I can download from?
  2. Perhaps there's still some config files somewhere. I couldn't find EarTrumpet in Program Files or appdata after uninstalling.
riverar commented 4 years ago

Sounds like something is latching onto %LocalAppData%\Packages\40459File-New-Project.EarTrumpet_1sdd7yawvg6ne. You could perhaps try launching Process Explorer as Administrator > Find > Find Handle or Dll > "EarTrumpet".

lisonge commented 4 years ago

[win10x64 pro 2004] can not also find start-boot setting and I use scoop install eartrumpet but you can copy the shortcut of "D:\scoop\apps\eartrumpet\current\EarTrumpet.exe" to folder"C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" then the eartrumpet will start on boot

riverar commented 4 years ago

@lisonge Can you also perform the steps here? I would like to see your registry settings. https://github.com/File-New-Project/EarTrumpet/issues/468#issuecomment-601000004

lisonge commented 4 years ago

@riverar

  1. Start > Run > ms-settings:startupapps, item eartrumpet not exists, but if "C:\Users\lisonge\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup" has eartrumpet shortcut, item eartrumpet will exists

  2. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System has both values SupportFullTrustStartupTasks=(int32)1 and EnableFullTrustStartupTasks=(int32)2

  3. my computer does not have item "computer\*\Software\Policies\Microsoft\Windows\Explorer"

Yang-Richard commented 3 years ago

Been a while but I just wanted to provide an update on my side since I still see this as open.

Tried installing a couple months back and it seems to work now, running Windows 10 Education version 2004 (OS Build 19041.1052). If anyone is still troubleshooting or experiencing this bug, let me know and I can provide logs/info from a working PC.

robinhood2014 commented 3 years ago

Some weird behavior I've noticed while experiencing the same issue:

  1. When I open Task Manager and click the Startup tab, EarTrumpet shows as disabled. So I right-click and tell Task Manager to "Enable" that startup program, and it now shows as enabled.
  2. BUT... When I open Task Manager again, and click the Startup tab, EarTrumpet is shown as disabled again.

Which means SOMETHING on my system is automatically setting that startup program to disable.

Taking a look at Process Explorer, I found something called "PowerLauncher.exe," a component of Microsoft PowerToys for Windows 10 (https://www.github.com/Microsoft/PowerToys) in the same process tree as EarTrumpet.exe. And so:

  1. Thinking it was interfering with enabling the startup task, I disabled PowerToys Run.
  2. I tried uninstalling all of PowerToys.
  3. I also uninstalled CCleaner, which is known to cause havoc with a lot of stuff on lots of Windows computers.

None of these actions changed the behavior.

My next step will be to try a vanilla boot by way of msconfig.exe.

riverar commented 3 years ago

@robinhood2014 Can you screenshot the registry settings, like the others did above? This sounds a lot like those policies aren't set properly.

robinhood2014 commented 3 years ago

I'm afraid not. As I was undergoing a myriad of other problems with my PC at the time, I simply decided to invoke the "Reset this PC" option, which (yes, I know) doesn't really do anything as far as diagnosing where the problem was coming from... but at least I finally got the stupid thing to work.

So, all things considered, I suppose we can eliminate there being a problem with EarTrumpet itself.

riverar commented 3 years ago

@robinhood2014 No problem, reach out again if you see it, especially on Windows 11 when that's released.

mkruselj commented 1 year ago

Happens here on W10 Pro 22H2, too...

mkruselj commented 1 year ago

No response?

riverar commented 1 year ago

@mkruselj Hey there, this is sadly a Windows bug. Can you verify the registry settings listed above?

mkruselj commented 1 year ago

OK, I just checked. I did not have those registry keys at all under Policies\System, so I have added them. Rebooting to test...

EDIT: Looks like that fixed the issue! Thank you!

kebek commented 1 year ago

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "EnableFullTrustStartupTasks"=dword:00000002 "EnableUwpStartupTasks"=dword:00000002 "SupportFullTrustStartupTasks"=dword:00000001 "SupportUwpStartupTasks"=dword:00000001

I did this and fixed the issue, I'm on Windows 10 Pro Version 22H2 OSbuild 19045.2486

riverar commented 1 year ago

Hi there. I'm cleaning up the issues list. There's no work to be completed here so am closing this issue for now. Feel free to keep the discussion going. (This seems to be a popular Windows bug) Thanks!

Sybawayh commented 1 month ago

@Yang-Richard Can you save this as StartupTasks.reg, double-click it, merge it into the registry and reboot? Should resolve your issue.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableFullTrustStartupTasks"=dword:00000002
"EnableUwpStartupTasks"=dword:00000002
"SupportFullTrustStartupTasks"=dword:00000001
"SupportUwpStartupTasks"=dword:00000001

You are amazing bro, thx

Bigdeath commented 1 month ago

@Yang-Richard Can you save this as StartupTasks.reg, double-click it, merge it into the registry and reboot? Should resolve your issue.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"EnableFullTrustStartupTasks"=dword:00000002
"EnableUwpStartupTasks"=dword:00000002
"SupportFullTrustStartupTasks"=dword:00000001
"SupportUwpStartupTasks"=dword:00000001

Helped me! Thx!