steam3d / MagicPods-Windows

Add little magic to your Airpods
273 stars 11 forks source link

[Feature Request] Start magic pods at login instead of the system startup. #317

Closed bigplayer-ai closed 1 year ago

bigplayer-ai commented 1 year ago

[Feature Request] Start magic pods at login instead of the system startup Hey, Sometimes, Magic Pods does not open after restarting windows after an update or some edge cases. The fix for this problem is to add Start magic pods at login instead of system startup. When you log in → the system is a start-up when the system is a start-up -/> Does not mean you log in.

steam3d commented 1 year ago

Windows starts all apps in startup list after log-in. It is default behavior. This feature already made.

bigplayer-ai commented 1 year ago
Once you logout of a specific user and login to the other user. The application does not start. That’s why task scheduler have At-logon, and system startup as a different options. Sent from Mail for Windows From: Alexander MaslovSent: Thursday, 2 March 2023 23:25To: steam3d/MagicPods-WindowsCc: bigplayer-ai; AuthorSubject: Re: [steam3d/MagicPods-Windows] [Feature Request] Start magic pods at login instead of the system startup. (Issue #317) Windows starts all apps in startup list after log-in. It is default behavior. This feature already made.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***> 
steam3d commented 1 year ago

Here is the video. It work absoluty the same as you describe. (It's virtual machine so it has graphic bugs and very slow, but anyway)

https://user-images.githubusercontent.com/30986874/222650501-226cef44-386a-46ea-b806-bf3bd77ff1a4.mp4

bigplayer-ai commented 1 year ago

This is strange:O That's the first time I've heard that. In task scheduler windows, I believed the distinction between run at any user log-on and run at start-up was that run at any user log-on means the task will run whenever any user signs on to the computer, whereas run at start-up indicates the process will run just when the computer boots up.

steam3d commented 1 year ago

Maybe it just a naming problem. The Microsoft doc says it is a startup task.

I am not as good as Windows administrator, but what you described sounds like " Windows service."

Services start at during Windows loading and work always while PC turned on. All users can access services.

The MagicPods is ordinary application. So it can't has such behavior.

bigplayer-ai commented 1 year ago

good to know. Keep up the good work @steam3d. Your application is mentioned in big articles/magazines.

bigplayer-ai commented 1 year ago

Hey, I’m having hard time trying to make magicpods start at system startup properly (as this is microsoft store application). Sometimes it launches and sometimes it does not. I tried repairing and reinstalling magic pods Do you have any ideas how can I fix this issue? Best regards,

steam3d commented 1 year ago

Maybe it crashes on startup. But I am not sure because I use the MagicPods each day more than 3 years and I got 2-3 crashes at startup.

bigplayer-ai commented 1 year ago

I think I fixed the issue. I just restarted my device 3 times, And Magic Pods launched every time. It was a registry fix:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize]
"StartupDelayInMSec"=-

Additionally: I found that this is a known problem in this bug-report: EarTrumpet isn't starting on boot on Windows 10 #468.

The solution there was to run the following .reg file:

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

This fix was validated as solving the problem by three participants in the post, and was the reason that a moderator closed the issue with the comment of: "This seems to be a popular Windows bug". On my computer, these values are already set, so please check yours before doing this.

Before running this .reg file, I suggest taking a backup of the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System by running regedit, navigating to the key and right-clicking it, then choosing "Export". Creating a System Restore point would also be a good idea before doing registry modifications.

Reboot after running the .reg file and check. I hope this will help someone.

steam3d commented 1 year ago

Thanks I will add it to help.magicpods.app