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

not starting up with windows #417

Closed
dselias opened this issue Sep 18, 2019 · 25 comments
Closed

not starting up with windows #417

dselias opened this issue Sep 18, 2019 · 25 comments
Labels
status: can't reproduce We cannot reproduce this issue

Comments

@dselias
Copy link

dselias commented Sep 18, 2019

Since this is a windows 10 store program I can't find a .exe so I can't place it in shell:startup to autorun it, same goes with task scheduler, not possible since I don't know the file locations. Looked in settings and didn't find it anywhere in there.

This worked all the time and stopped working a few months ago.

@davuxcom
Copy link
Contributor

You can use this command to start EarTrumpet:
explorer.exe Shell:AppsFolder\40459File-New-Project.EarTrumpet_1sdd7yawvg6ne!EarTrumpet

@riverar
Copy link
Contributor

riverar commented Sep 18, 2019

EarTrumpet already registers a startup task. You should see EarTrumpet in Settings > Apps > Startup.

@dselias
Copy link
Author

dselias commented Sep 20, 2019

You can use this command to start EarTrumpet:
explorer.exe Shell:AppsFolder\40459File-New-Project.EarTrumpet_1sdd7yawvg6ne!EarTrumpet

Thanks!

@tophattwaffle
Copy link

tophattwaffle commented Oct 2, 2019

In Task Manager > Startup there is an EarTrumpet entry, however it always reverts back to "Disabled" as soon as I close Task Manager. This happens 2 of the W10 1903 installs I have.
2019-10-02_16-15-27

For now I am launching EarTrumpet using the previously mentioned command in a startup script.

@riverar
Copy link
Contributor

riverar commented Oct 2, 2019

Strange, can you open the Registry Editor, navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion and cut/paste the BuildLabEx value here?

@Snaacky
Copy link

Snaacky commented Oct 3, 2019

I'm also having the Task Manger close disabled issue on 1903.

My BuildLabEx value is 18362.1.amd64fre.19h1_release.190318-1202

@riverar
Copy link
Contributor

riverar commented Oct 3, 2019

Thanks @Snaacky; And you're on Windows 10 Pro? Can you take a look at HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\40459File-New-Project.EarTrumpet_1sdd7yawvg6ne\EarTrumpet for us? State should change to 1 when disabled via Task Manager (and 2 when enabled). Can you confirm?

@Snaacky
Copy link

Snaacky commented Oct 3, 2019

XRCCh9OFnS

Windows 10 Pro Version 1903 (OS Build 18362.356)

State is set to 2 regardless of whether or not the application is listed as Enabled or Disabled under Task Manager > Startup and will always revert back to Disabled after closing Task Manager as shown in the GIF above.

@tophattwaffle
Copy link

The state is the same for me as well. Always "2" no matter what.

@riverar
Copy link
Contributor

riverar commented Nov 3, 2019

@Snaacky @tophattwaffle Are you still seeing this issue? Some steps we can try:

  1. Download and execute https://live.sysinternals.com/procmon.exe
  2. In the Process Monitor filter window, add a filter for [Path] [contains] [40459File-New-Project.EarTrumpet_1sdd7yawvg6ne] then click the Add button
  3. Open Task Manager and enable EarTrumpet to run at startup
  4. In Process Monitor, Click the magnifying glass 🔍 (or type CTRL+E) to stop monitoring
  5. In Process Monitor, click File > Save and in the Save To File dialog, ensure All Events is selected. Change the path for the output PML as needed.
  6. Compress the PML output (zip, 7zip, rar, etc.) and email us a copy (team@eartrumpet.app). If it's too large, we can provide a OneDrive upload location. Let us know in the email.

Thanks for helping us get to the bottom of this weird behavior!

@riverar
Copy link
Contributor

riverar commented Nov 26, 2019

@Snaacky @tophattwaffle Any updates?

@riverar riverar added the status: can't reproduce We cannot reproduce this issue label Nov 26, 2019
@bacitoto
Copy link

bacitoto commented Dec 12, 2019

Thanks @Snaacky; And you're on Windows 10 Pro? Can you take a look at HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\40459File-New-Project.EarTrumpet_1sdd7yawvg6ne\EarTrumpet for us? State should change to 1 when disabled via Task Manager (and 2 when enabled). Can you confirm?

Yes the state changes to 1
image
I close task manager, and it reverts back to disable and still has a 1 on the STATE value of reg

Only got this problem with the latest windows update

@TheAresjej
Copy link

Same here: Windows 10 1909 (build 18363.535) (latest release) 🙁 @riverar

@riverar
Copy link
Contributor

riverar commented Dec 12, 2019

@TheAresjej @bacitoto Hey, can you perform the steps listed above #417 (comment)? Haven't received anything yet, should help shed some light on this!

@bacitoto
Copy link

@riverar Just did, I jsut didn't have the time before to do so.
Hope it's helpful

@riverar
Copy link
Contributor

riverar commented Dec 13, 2019

@bacitoto Haven't received anything yet.

@TheAresjej
Copy link

Hmm... I have a guess... In older versions of windows we have a startup options in settings (settings/apps/startup) but for some reason it was removed so maybe there is something left in the settings application and overwrites the selected settings? 😄

@TheAresjej
Copy link

Done (I sent the logs by e-mail) @riverar

@bacitoto
Copy link

@bacitoto Haven't received anything yet.
Weird I just double-checked and I did send the email to the correct address...can I just post the link here s oyo ucan download the log? Or the .log as info I shouldn't display publicly or not

@riverar
Copy link
Contributor

riverar commented Dec 13, 2019

@TheAresjej Thanks, taking a look now!

@bacitoto Weird, send an email to the above address and I'll reply with a OneDrive area you can upload to. Sorry for the headache.

@riverar
Copy link
Contributor

riverar commented Dec 16, 2019

@TheAresjej @bacitoto Can you open Registry Editor, navigate to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and provide a screenshot or export?

Also, question from Microsoft -- are these work machines or machines on an Active Directory that could be receiving policies to block startup apps?

@bacitoto
Copy link

bacitoto commented Dec 16, 2019

@bacitoto Weird, send an email to the above address and I'll reply with a OneDrive area you can upload to. Sorry for the headache.

I guess my emails aren't being received, weird stuff, anyway here's my log (got it, thanks -rafael)

@TheAresjej @bacitoto Can you open Registry Editor, navigate to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and provide a screenshot or export?

image

Also, question from Microsoft -- are these work machines or machines on an Active Directory that could be receiving policies to block startup apps?

This is my personal computer....I might have (a long time ago) blocked some w10 features such as store, xbox app and etc, BUT, everything was working fine untill the latest w10 update 18362.1.amd64fre.19h1_release.190318-1202

@TheAresjej
Copy link

I use WPD but the only similar option to block "startup apps" is "background apps" setting... 🤔 As for the registry screen, unfortunately I don't have access to this system anymore because there were still problems with it so I switched to Windows 8.1 😜

@riverar
Copy link
Contributor

riverar commented Dec 18, 2019

@bacitoto Yikes, that's not correct. Sounds like whatever you used to "block" those features wiped out important system policies. Can you share the software/guides you used?

In the meantime, try re-adding the startup policies via this script (save as .reg and double-click):

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

Then try your Task Manager actions again.

@riverar
Copy link
Contributor

riverar commented Feb 24, 2021

Closing as we don't have a stable repro. There were Windows bugs in this area that have been resolved over the last few releases. Please open a new issue to let us know if you hit this problem again. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: can't reproduce We cannot reproduce this issue
Projects
None yet
Development

No branches or pull requests

7 participants