INTERACT FORUM

More => Old Versions => JRiver Media Center 23 for Windows => Topic started by: terrym@tassie on September 04, 2016, 07:25:11 pm

Title: Windows 10 Start Menu and Modern Apps 'problem' - superseded
Post by: terrym@tassie on September 04, 2016, 07:25:11 pm
EDIT: 3-November-2017 This script has been superseded by w10spk V2 please this post for details:
https://yabb.jriver.com/interact/index.php/topic,113034.0.html (https://yabb.jriver.com/interact/index.php/topic,113034.0.html)

Some users who run JRiver Media Center on Windows 10 encounter a problem.
 
After a period of playback from JRiver Media Center exceeding about 40 minutes:
Processes in a suspended state crash when accessed and then fail to return to a running state.
The processes affected include the Start Menu, Search panel, Settings panel and any ‘Modern Apps’(such as Calculator, Store and Edge browser).

The result of this will be well known to anyone who has encountered the problem:
The Start Menu does not appear when clicked on.
Any 'Modern Apps' that have been minimized can be maximized again but do not function and eventually crash.
Frequently the Settings panel will open, then crash and have to be opened again.

These process crashes only occur after periods of continuous playback from JRiver Media Center.
If JRiver Media Center is left open for any period without any playback (just importing, tagging browsing the tree etc) then Windows 10 is completely unaffected and no process crashes occur.
Why this occurs with Windows 10 and JRiver MC (and other applications such as Foobar and some Adobe packages, to name a few) is a matter of some conjecture that I will not go into here.

Isn't this fixed in Windows 10 Release 1607 (Anniversary Update)?
Sort of. Release 1607 has only partially addressed the problem.
Prior to this release if the problem described above occurred then the user was left without a Start Menu.
With 1607 the Start Menu now restarts following a crash (click once, Start Menu does not respond, click again and it generally appears).
1607 has not fixed the issue with the minimized 'Modern Apps' or the Settings panel and still takes two clicks to open the Start Menu.

How can this problem be worked around until Microsoft come up with a fix?

Run JRiver Media Center on an earlier version of Windows.
This not a facetious answer!
Windows 8.1 is recommended as a stable OS for HTPC use by Madshi and Hendrik and as they are both bona-fide geniuses who am I to argue?
Windows 7 is still in full support by Microsoft.

Sticking with Windows 10?
OK then:
Simply sign out and sign in again, this is completely effective, if time consuming (if the Start Menu has gone, right click it to access sign out).
OR
Using Task Manager, restart Explorer, the drawback is you will frequently lose program icons from the Notification area (such as Nvidia Geforce).
OR
Using Task Manager, terminate all the suspended processes that are owned by your user ID, drawback is this is time consuming and tedious.
OR
You could use a script that detects when JRiver Media Center is playing and automatically terminates any suspended processes owned by your user ID.
Using such a script would result in the Start Menu, Settings panel and Search panel opening first click, any minimized 'Modern Apps' removed from the task bar and ready to run again.
All the time, without you doing anything......

If that sounds interesting then you need to read the next post in this thread......
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 04, 2016, 07:26:45 pm
It was found with older Windows 10 releases that if the ShellExperienceHost and SearchUI processes were terminated (using Task Manager for instance) then the Start Menu and Search panel would become responsive again.
It was further found that if these processes were terminated before any attempt was made to access them, then no process crashes occurred and the Start Menu responded on first click.
Terminating the processes 'resets' them so they successfully transition from suspended to running when needed.

Based on the above I shared on the JRiver forum A solution to the Windows 10 Start Menu problem (http://yabb.jriver.com/interact/index.php?topic=104591.0) a small script, w10smk (Windows 10 Start Menu Keeper), that terminated the ShellExperienceHost and SearchUI processes every 20 minutes when JRiver MC was open on the system.
A later version (1.3) used an additional Powershell script that terminated the above processes only if JRiver MC was actually playing.
This was found to be effective at keeping the Start Menu and Search panel responsive to opening on first click.

However, w10smk did not resolve the problem of minimized Modern Apps and Settings panel because it terminated processes if they were running OR suspended.
Obviously it would be undesirable to terminate a running process as:
a)   It would not be affected by the ‘problem’ discussed in the post above.
b)   It may be a 'Modern App' or the Settings panel in use on the desktop.

This has led to the development of:

The w10spk (Windows 10 Suspended Process Killer) script.

First, I want say a big 'Thank You' to forum member chris635 who has put a lot of effort in to testing the attached script (and encouraged me to write it).

W10spk is a script that terminates suspended Windows processes (not running processes) only if JRiver Media Center is actually playing.
As w10spk only terminates suspended processes, it is now possible to safely terminate all of the processes affected by the ‘problem’ not just the Start Menu and Search panel (as was the case with w10smk).


A full description of the script is included in the attached Guide.

The script is attached to this post (as a text file) along with a Setup script and a Guide on how to install it (in pdf format).
I've taken the trouble to write the Guide so if you intend to use the script please read it!

I'm sharing this in the hope it may be of some use to those who run JRiver Media Center on Windows 10.
Note: It should work with any release of Media Center but all testing has been done with MC21, MC22 & MC23 32 and 64 bit.

I also look forward to the day I can stick a nice edit across this post stating:
'No longer required, the problem has been fixed in Windows 10 Release xxxx'

EDIT: 8th September 2016 Version 1.1 of all files attached. Please update if you have 1.0 versions.
EDIT: 16th November 2016 Version 1.1a one line patch for error reported by one user (SWbemObjectEx 80041002 error)

EDIT: 11th August 2017 Version 1.1b of w10spk.vbs and w10spk Script Guide.pdf: updated version to address Windows 10 Creators update issue where Start Menu can become unresponsive in a running state, update only changes behavior of script when /nomc specified - thanks to amsco15 for reporting this problem.
Version 1.1a of setup.cmd fixes issue of case sensitivity on user 'y' responses - thanks to ssands for spotting this bug.

EDIT: 26th August 2017 Version 1.1c of w10spk.vbs Update to fix Line 212  SWbemObjectEx 80041002 error reported by AlanDistro, improved robustness of code to check for process ownership.

EDIT: 18th September 2017 Version 1.1d of w10spk.vbs. Update to improve Task Scheduler item creation/modification. Removed dependency on schtasks.exe. Thanks to forum member stewart_pk for testing update.
Version 1.1b of setup.cmd to remove redundant reference to MCWS in log selection dialogue.

Please note script has been tested and verified working with MC23 64 bit release as of 15th September 2017.
 
To use the script either download setup.cmd.txt & w10spk.vbs.txt and rename them to setup.cmd & w10spk.vbs or download w10spk.zip and extract to a folder in your home directory e.g. C:\Users\your username\w10spk. Please see the W10spk Script Guide for full details.
 
If you encounter any issues with installing or using the script, or any other feedback please send me a Personal Message.
Click on my profile (just above my avatar) and select Send PM or use Action tab to Send Personal Message. Thanks


EDIT: 3-November-2017 This script has been superseded by w10spk V2.
See this post: https://yabb.jriver.com/interact/index.php/topic,113034.0.html (https://yabb.jriver.com/interact/index.php/topic,113034.0.html)

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: chris635 on September 04, 2016, 07:38:48 pm
THANK YOU!  terrym@nz for taking the time and writing this. You did the heavy lifting. If it wasn't for you I would still be manually terminating these problematic process. Now I have a Windows 10 system that works they way it should, without any involvement from me in the background.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: IAM4UK on September 04, 2016, 09:28:47 pm
I'm going to try this. Seems like a work of genius. Thanks!
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on September 05, 2016, 05:59:59 am
Hopefully, Microsoft gets around to fully fixing it in Redstone 2.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: mutato on September 05, 2016, 08:41:21 am
Thank you greatly. The amount of frustration this issue has caused me is crazy.

Do consider the possibility of accepting donations.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: IAM4UK on September 05, 2016, 11:35:28 am
This does work as stated. Great job!
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: chris635 on September 05, 2016, 12:26:52 pm
This does work as stated. Great job!

Yes, Terry has done a fantastic job with this.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 05, 2016, 02:49:02 pm
Hopefully, Microsoft gets around to fully fixing it in Redstone 2.
+1 to this. However if the 1607 release is anything to go by, they'll break more than they fix. I really think Microsoft need a 'root and branch' review of what they are doing with Windows 10, it is shaping up to be a corporate disaster on par with the Ford Edsel.
Thank you greatly. The amount of frustration this issue has caused me is crazy.

Do consider the possibility of accepting donations.
This does work as stated. Great job!
Thanks for the feedback. :) All donations to the deserving charity organisation of your choice! ;D
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: millst on September 05, 2016, 10:12:17 pm
Plugin version (http://yabb.jriver.com/interact/index.php/topic,106940.0.html)

Let me know if you run into problems (over on that thread).

-tm
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 08, 2016, 12:26:27 am
Updated versions (V1.1) of scripts have been attached. Now uses JRiver COM object for playback detection which simplifies installation and use.
Recommend updating if you are using the previous versions. Just overwrite the files, no Setup needed.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: foxfreejack on August 03, 2017, 12:00:26 pm
Hi,

I recently found out that Media Center is causing a weird issue on Windows 10 that closely follows what has been discussed in this article at: http://home.bt.com/tech-gadgets/computing/has-your-windows-10-start-menu-stopped-working-here-are-four-ways-to-fix-it-11364000314532

I tried everything discussed in this article, before finding out MC was involved. Including reinstalling Windows from scratch. In which case the issue reoccur the same day everything was ready.

What happens: the start menu won't come up with either the mouse or the Windows key, many times a day. Only on two separate systems, which happens to all be Win 10 pro systems. Same thing happens when right clicking on any task bar items, to be able to start another instance of a program for example. This started very soon after upgrading my systems to Windows 10, since Creators Update it as worsen, before this version the start menu could work a few times before I was forced to restart the Windows UI (Restart the explorer.exe process).

On the other systems that I use with Win 10 Home, which never had any of these issues, until I started using MC 18, at the time. It was already installed on this system, but I never really had to use it before. Then the same issues occurred constantly while using MC.

Now the reason for this message:

I upgraded to the current version MC23 and it still occurs on the same systems and the same way as with MC18. My system acting as the Media Server never had this issue, but it runs Windows 7. Before going to Windows 10, I was using also Windows 7 on all my systems without any issues.

   1. Anyone has experienced this?
   2. Is there any options or configuration that can be adjusted to correct the situation?
   3. Could this be a bug or an issue to be resolved the team at JRiver?

Thank you!

David
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on August 03, 2017, 12:10:09 pm
It's a Windows 10 bug that Microsoft hasn't fully fixed yet (or are unable to fix fully).

There's a workaround here: https://yabb.jriver.com/interact/index.php/topic,106925.0.html

The workaround works fine here. But yeah, it's a Windows 10 issue for sure - it can even happen randomly with vanilla/fresh Windows 10 installs with nothing else installed.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: ssands on August 03, 2017, 12:55:27 pm
Just chiming in that the fix Awesome Donkey points to (created by terrym@nz) works great and *finally* resolved that issue for me, that frankly was really p*ssing me off about Win 10.
Simple and easy to install and it works great.
Thank you, terrym@nz
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RD James on August 03, 2017, 01:10:04 pm
It's a Windows 10 bug that Microsoft hasn't fully fixed yet (or are unable to fix fully).
There's a workaround here: https://yabb.jriver.com/interact/index.php/topic,106925.0.html
The workaround works fine here. But yeah, it's a Windows 10 issue for sure - it can even happen randomly with vanilla/fresh Windows 10 installs with nothing else installed.
If it's an issue with Windows 10, something that JRiver does is making it much worse.
When I built my new AMD PC a few months ago, it took a couple of weeks before I got JRiver set up on it as I wanted to ensure that it was completely stable, and waited for full disk tests to complete before copying any media to it from the old PC.
During that time I was using the AMD PC connected to a monitor for everything except media playback, which was still being done on the old Intel PC connected to the TV.
I was thinking that the switch to ECC memory must have finally fixed this issue, but as soon as I installed JRiver on the AMD PC and started using it for media playback, those problems with the start menu and search breaking 10x a day and having to manually kill the ShellExperienceHost and SearchUI processes returned.
It never happened once in two weeks of using the PC for browsing/work/gaming until I installed JRiver.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: JimH on August 03, 2017, 01:11:28 pm
If it's an issue with Windows 10, something that JRiver does is making it much worse.
Bugs are often triggered by something specific.  This is a Microsoft bug.  Nothing JRiver could do would ever cause an OS feature to fail unless it had a bug.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RD James on August 03, 2017, 01:16:04 pm
Bugs are often triggered by something specific.  This is a Microsoft bug.  Nothing JRiver could do would ever cause an OS feature to fail unless it had a bug.
I'm not saying it isn't a bug in Windows 10, but I used that system for two weeks without the issue ever appearing, thinking that the switch from Intel to AMD or regular memory to ECC memory had fixed it, until I installed JRiver.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on August 03, 2017, 01:21:50 pm
IMO, I don't see how MC could do anything to prevent it anyways. For whatever reason(s) Windows suspends processes while MC (and other software, e.g. Steam and perhaps Adobe apps) has been running an extended amount of time... and those processes crash when accessed.

I mean, unless somebody figured out exactly what MC was doing to cause Windows to suspend those processes in the first place and had some clever way to workaround it programmatically that the dev team could implement, that'd be different.

But yeah, I can confirm it happens on vanilla Windows 10 installs at random. Microsoft has totally failed thus far to completely fix this issue. But is that really surprising how buggy Windows 10 has been since launch? That's what you get when the company has changed focus from being about shipping a stable product at launch to focusing on nothing but increasing profits, ads being integrated within the OS, data mining via telemetry and laying off their employees, especially the QA testers! I guess when they have "Windows Insiders" doing free QA testing... yeah, Windows 10 has been a somewhat disaster since day one.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Hendrik on August 03, 2017, 01:26:08 pm
They should just stop suspending these processes on performant systems. It doesn't gain me anything.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on August 03, 2017, 01:31:56 pm
They should just stop suspending these processes on performant systems.

At least stop suspending them while using the high performance power plan would suffice.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Hendrik on August 03, 2017, 01:34:13 pm
At least stop suspending them while using the high performance power plan would suffice.

Wouldn't really like that. Other than for benchmarking (consistency) I never use high performance mode. It doesn't really benefit normal use with how fast PCs scale up/down things.
But they could make it an option in power management or such that you can just enable/disable in your power profile, i guess.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RD James on August 03, 2017, 01:38:25 pm
I like that Windows 10 can suspend UWP apps now - especially with the introduction of Game Mode.
The only issue I have with it is that something is causing specifically the ShellExperienceHost and SearchUI processes to break.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RayDiant on August 10, 2017, 03:39:41 pm
I am trying to use the w10spk script. It isn't working. I have run setup, choosing the log option. The command line in Task Scheduler is:

wscript.exe "C:\Users\Mark\W10spk\w10spk.vbs"/log

I am worried that it isn't in fact running because there is never a log file. When I choose option 2 in setup to determine Media Centre's status it always says it isn't running but it is.

If I run this command:

Cscript //nologo w10spk.vbs /log

Nothing happens

But if I run this command:

Cscript //nologo w10spk.vbs /nomc /log
I get a log file and suspended processes are terminated.

Also, If I run the above script once the Windows menu has stopped working it doesn't fix the problem.

Any reason why the script isn't detecting that MC is running or playing?

Note: I posted this in https://yabb.jriver.com/interact/index.php/topic,106170.100.html and was asked to post it here

Mark
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on August 10, 2017, 07:06:18 pm
Hi Mark,

Can you send me a personal message with more details of your system specifically Version of JRiver MC and any antivirus programs you may have installed. Please also try running with /debug- this will give a more verbose output of everything the script is doing.
I have new release of the script which I am about to upload to fix the issue of getting the Start Menu back once it has failed, in the Creators update it is possible for the Start Menu to become unresponsive while it is in a running state.

Can I ask any one else who has issues with the script to send me a Personal Message, I find it easier to help people that way.
Just click on my profile (just above the cute Tasmanian Devil) and select Send PM or use the Actions tab to Send Personal Message.

Thanks,

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on August 10, 2017, 09:29:12 pm
Updated script V1.1b available, this versions addresses the issue seen after the Windows 10 Creator update where the Start Menu can become unresponsive in a running rather than suspended state. Note this update ONLY affects the behavior of the script when /nomc is specified.
If the script is used in the 'default' way running regularly via the Task Scheduler then the Start Menu never becomes unresponsive.

The updated version is only required if you use the /nomc option.

See second post in this thread for the updated files.

Thanks to amsco15 for reporting this issue and testing the fix.

Thanks to ssands for finding a bug in setup.cmd, an updated version has now been uploaded.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Mans on August 11, 2017, 09:41:49 am
Excellent job !
Works perfect and solved the issue of a non-working start menu.
The install couldn't be easier. Documentation is extreme complete and clear.

Fyi i'm on W10 Pro 1703 build 15063.540.

Thanks again for your great work !
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on August 13, 2017, 09:02:25 pm
I am trying to use the w10spk script. It isn't working.
 
Also, If I run the above script once the Windows menu has stopped working it doesn't fix the problem.

Any reason why the script isn't detecting that MC is running or playing?

I worked through these issues via Personal Message with RayDiant and this is the outcome:

The first issue was fixed by running the latest V1.1b version of w10spk.vbs.

The second issue was caused by a missing registry key:
The key Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Classes\MediaJukebox Application\CLSID must be present in the registry to expose the MC COM object. This is how w10spk detects whether MC is running or playing.
Re-installing MC22 fixed the problem, the registry key was created and w10spk could detect the status of the installed MC instance.

So if you have an issue with w10spk not detecting whether MC is playing then check the above registry key is present.

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RayDiant on August 17, 2017, 07:28:52 pm
As Terry has stated he worked on my issue with the Windows 10 menu and the script.

I just wanted to say publicly that it is all working now and Terry did a great job. There is no way I could have figured out the issues I had without his knowledge and help.

Mark
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on August 26, 2017, 07:50:31 am
w10spk.vbs updated to Version 1.1c, update to fix bug identified by forum member AlanDistro.
Update improves robustness of code to identify process ownership.
Bug caused occasional Line: 212 Char: 4 Error: Not Found Code: 80041002 Source: SWbemObjectEx error.

Thanks to AlanDistro for reporting the problem and testing the revised script.

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RD James on August 26, 2017, 07:56:05 am
Should I be using the script instead of the plugin?
The plugin seemed a lot more convenient to set up, and only runs when Media Center is running.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: AlanDistro on August 26, 2017, 10:29:56 am
w10spk.vbs updated to Version 1.1c, update to fix bug identified by forum member AlanDistro.
Update improves robustness of code to identify process ownership.
Bug caused occasional Line: 212 Char: 4 Error: Not Found Code: 80041002 Source: SWbemObjectEx error.

Thanks to AlanDistro for reporting the problem and testing the revised script.

Terry

I decided to stop waiting for Microsoft to fix their s**t and installed the script last week. Within 20 minutes I was getting popup errors. I tried to ignore it and figured it'd sort itself out. But it didn't. So I emailed Terry.

Terry provided me with a new script to test extremely quickly, and after only two or three back and forths he had identified the issue and fixed it. I've been running the new updated script with zero issues for five days now and could not be happier about it. This one single issue kept me from installing JRiver on the rest of the computers in my house, I was running it off of one PC like an old school stereo, it's sole purpose being playing JRiver because without reliable access to the start button and taskbar, the computer was basically useless for anything else. And I get this isn't a JRiver problem, but it is the only software causing the issue for me (and I run Adobe's full suite and a ton of other programs throughout the day, not a single other one causes problems).

But now I can install JRiver on all of my PCs and run it as a client like it's supposed to be. Very very thankful for this awesome script. Thank you Terry.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: millst on August 26, 2017, 11:26:32 am
Should I be using the script instead of the plugin?
The plugin seemed a lot more convenient to set up, and only runs when Media Center is running.

It's your choice. Effectively, they do the same thing. I upgraded to creator's update and MC23. Then, I reinstalled the plugin and have had zero issues.

-tm
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: amsco15 on August 28, 2017, 05:53:30 pm
This program and the effort to write it is awesome!!  Thanks so much.  Solves a frustrating problem.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: CountryBumkin on August 29, 2017, 07:46:28 am
Where is the new script?  Is it in Terry's second post?

Is v1.1c the latest version?
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on August 29, 2017, 07:52:10 am
Grab the w10spk.zip file from the second post, it's the latest version. :)
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: imeric on September 08, 2017, 03:05:43 am
Can anyone name any other apps besides JRiver still causing this issue?
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Hendrik on September 08, 2017, 06:10:04 am
Can anyone name any other apps besides JRiver still causing this issue?

Steam at the very least does it, from my personal experience. I'm sure there are others.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on September 08, 2017, 06:24:34 am
Yep, can attest to Steam causing it here too. Heard Adobe apps can too.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: DocLotus on September 10, 2017, 02:46:15 pm
WOW ;D

Terry; where have you been all my life :-*

Incredible idea, Incredible script, Incredible results.

This resolves the most maddening thing about JRiver MC... lockups several times a day with no real resolve.

This has been going on (for me) for at least two years. Why I stuck with MC under the circumstances is beyond belief; I guess I'm just a glutton for punishment (or something):-\

I have to wonder how many people left MC for other media programs due to this issue?

Also have to wonder if JRiver might consider adding the script into the MC install to make the whole process totally automatic.

Now all I have to do is figure out why all my Windows 10 Apps have stopped working (real programs such as IE still work but Apps such as Edge & Calculator do not).

Anyway...

THANK YOU SOoooo MUCH 8)
Cheers;
Doc
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RoderickGI on September 10, 2017, 05:49:51 pm
Can anyone name any other apps besides JRiver still causing this issue?

Garmin Express does it in spades as well. At least I think so, but I have MC, Steam, and Adobe apps running regularly, so it could be a combination of those.

Certainly, GE also prevents querying USB Device States, and fails in many other ways, such as poor USB capabilities and connectivity. But it does also seem to trigger this issue.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: imeric on September 11, 2017, 09:23:29 am
Maybe Jim could give Bill a call to get this resolved ASAP :)
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on September 11, 2017, 10:16:28 am
Bill Gates? He has very little if anything to do with Microsoft these days (same with Steve Ballmer) other than being a "technical adviser".

Satya Nadella is the person to talk to about it, but I doubt he really cares, sadly.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: DocLotus on September 16, 2017, 02:37:49 pm
Yesterday I upgraded from 32 bit MC to 64 bit. That resolved a lot of long time problems I have been having with MC for the last three years or so.

BUT... the VB script does not seem to do anything with the 64 bit MC (the Windows 10 Start Menu is gone again).

What do I (or we) need to do to get it working with the 64 bit MC?

Thanks;
Doc
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: millst on September 16, 2017, 03:29:20 pm
The automation object used in the script for querying MC status is likely not compatible with the 64-bit install. I probably need to build a 64-bit version of my plugin, too.

-tm
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: DocLotus on September 16, 2017, 04:39:36 pm
That would be wonderful.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 16, 2017, 06:50:55 pm
The automation object used in the script for querying MC status is likely not compatible with the 64-bit install.

This is incorrect, w10spk script is working normally for me with the 64 bit version. No update is required.

doclotus please try running Setup.cmd and using Option 2 'Test Media Center  playback status', if that is not working correctly then send me a Personal Message and I'll help you diagnose the problem.

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on September 16, 2017, 06:52:28 pm
Yep, the script detects the 64-bit build just fine. But I ONLY have the 64-bit build installed - I'm not sure if having both the 32-bit and 64-bit builds installed at the same time could be an issue or not.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 16, 2017, 07:06:27 pm
.
Yep, the script detects the 64-bit build just fine. But I ONLY have the 64-bit build installed - I'm not sure if having both the 32-bit and 64-bit builds installed at the same time could be an issue or not.
Thanks for confirming that Awesome, I've got both 32 and 64 bit installed at the moment and w10spk works with either.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: DocLotus on September 16, 2017, 07:56:06 pm
Just tried Option 2 & it indeed does detect when MC is running or not. I have both the 32 & 64 bit versions installed but am running only the 64 bit version. The 64 bit version is running great with no real problems but Windows 10 Start Menu has been missing in action since I installed the 64 bit version of MC.

I ran w10spk manually from the Task Scheduler but the Start Menu refuses to show up.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: stewart_pk on September 16, 2017, 08:39:39 pm
I get the following when trying to install.

FAILURE!: Task creation did not complete successfully
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 16, 2017, 09:55:51 pm
Can I just reiterate, if you have problems with w10spk please send me a Personal Message, I can then help you.
Otherwise this thread can become very long.
Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: imeric on September 18, 2017, 11:14:59 am
That resolved a lot of long time problems I have been having with MC for the last three years or so.

Thanks;
Doc
Hi Doc, Would you mind sharing your list or point me where it is?

MC23 has been very stable from day one for me but if upgrading to 64 bits makes it even better why wouldn't go to 64 bits?

(I still get a very rare case where after listening to music and going back to TV will make it hang or crash)
thx
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: DocLotus on September 18, 2017, 01:12:17 pm
Hi Doc, Would you mind sharing your list or point me where it is?

MC23 has been very stable from day one for me but if upgrading to 64 bits makes it even better why wouldn't go to 64 bits?

(I still get a very rare case where after listening to music and going back to TV will make it hang or crash)
thx
Sure...
https://yabb.jriver.com/interact/index.php?topic=112225.0
It's the 5th item from the top.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on September 18, 2017, 06:30:34 pm
@DocLotus- can you get back to me on the Personal Messages I've sent you re: your issue with w10spk. Thanks

New release of w10spk (V1.1d) attached to the second post of this thread, there is no need to upgrade unless you were getting any issues with Task Scheduler creation/modification when running setup.cmd.
 
My thanks to stewart_pk for reporting his issue and testing the new update.

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: millst on September 23, 2017, 01:35:22 pm
The plugin version has an updated installer for 64-bit MC. You can download it here (http://yabb.jriver.com/interact/index.php/topic,106940.0.html).

-tm
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: blackjack007 on October 06, 2017, 06:14:00 pm
When is JRiver going to fix the problems seen after running for a while when using the latest updated versions of Windows 10!? This has been now seen for years and never addressed. Blamed on "a known windows" problem. ... That no other program seems to have.

Issue review ... after running Media Center for a while (happens with 32 or 64 bit versions), start button in windows gets locked, other things crash. We are running latest Windows 10 64bit  Version 1703 (OS Build 15063.632)

This does not happen with any other programs. Just Media Center ... and it has been happening for over a year.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 06, 2017, 07:31:02 pm
Because it's a Windows 10 problem and NOT a JRiver problem. Media Center isn't the only software which can trigger this issue; Steam and Adobe's apps are other examples. I suggest giving feedback to Microsoft and ask them to finally fully fix this issue.

There's several workarounds including the script found in this thread, along with a workaround plugin for Media Center found in this thread (https://yabb.jriver.com/interact/index.php/topic,106940.0.html). Have you given them a try?
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: tyler69 on October 07, 2017, 02:35:47 am
Can you link me to some sites that state that other software is not working? I googled steam and Adobe but found only a Microsoft support thread in which someone stated that this was issue fixed by the Windows 10 anniversary update. Maybe I'm just "googling wrong"..

Thanks.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Hendrik on October 07, 2017, 02:49:46 am
It definitely happens for me personally with just Steam.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: kalston on October 07, 2017, 08:23:05 am
Yeah, it's surprisingly difficult to find anything about it on the Internet but I've seen it happen with other applications.

I have not seen it happen too often with Steam (depends how you use it maybe or could be some of the settings?) but with MC it's every single time for me on my desktop. On the other hand I've only got the bug 2 or 3 times on my laptop for whatever reason, despite using MC a lot.

I have a "restart explorer" icon on my desktop because of it (only downside for me is that it brings back the language taskbar icon that I prefer to hide... but on the plus side it fixes another bug where the taskbar stays on top in borderless mode).
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RoderickGI on October 07, 2017, 05:44:55 pm
Garmin Express does it nearly every time I use it.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: pqcgebxm on October 08, 2017, 10:46:06 am
Hi All,

Just found this thread after many attempts to find the cause/solution to this problem. Finally I know it's not just my system! Thanks for the effort to solve this.

I installed the script and it seems to be working for the start and search menus, and also for modern apps. But, there are two other issues which I assumed were related to this overall problem, but which are still occurring:

1. The Action Center menu (the notification icon at the far right) still does not work for me.
2. When I use the search menu to find an app and then click on the app, nothing happens.

Is anyone else experiencing these problems as well? Are they related to the windows/search menu bugs?

Thanks!
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on October 08, 2017, 06:31:50 pm
Hi All,

Just found this thread after many attempts to find the cause/solution to this problem. Finally I know it's not just my system! Thanks for the effort to solve this.

I installed the script and it seems to be working for the start and search menus, and also for modern apps. But, there are two other issues which I assumed were related to this overall problem, but which are still occurring:

1. The Action Center menu (the notification icon at the far right) still does not work for me.
2. When I use the search menu to find an app and then click on the app, nothing happens.

Is anyone else experiencing these problems as well? Are they related to the windows/search menu bugs?

Thanks!

I'm afraid the issues you describe are unrelated to the Start Menu becoming unresponsive. They certainly work for me on my systems.

I'm glad the script has sorted your Start Menu etc though.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: musana on October 10, 2017, 03:38:39 am
Yesterday I installed JRiver Media Center 23 shortly before supper, and played some music. When I returned to my computer after supper I found that my Start Menu would not open, and the right-click menu on Taskbar buttons did not work.

It was not my first experience with this problem. It happened about a month earlier, when I upgraded to Media Center 23, but on that occasion some time had elapsed between the installation and the Start Menu/Taskbar problems. Although I mentally noted the association of the problem with installing Media Center, I frankly trusted that JRiver would be sufficiently knowledgeable about Windows 10 by now that they wouldn’t release an incompatible product. So I put that out of my mind, and spent days researching and trying various proposed solutions to the problem, unsuccessfully. I finally gave up and completely reinstalled Windows 10. And then spent many more days installing and configuring my applications.

My system was rock-solid until I reinstalled Media Center 23 yesterday. This time, I remembered the association. And so to address the problem I tried uninstalling Media Center.

Problem solved. Start Menu and Taskbar working fine.

I’ve been a user of Media Center since 2004. No longer.

WD

Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 10, 2017, 04:12:29 am
It's a well known Windows 10 bug that Microsoft has never fully fixed yet. Look here for more info along with several workarounds: https://yabb.jriver.com/interact/index.php/topic,106925.0.html

There's even a plugin for Media Center which works around this bug (https://yabb.jriver.com/interact/index.php/topic,106940.0.html). This is what I've been using lately, and it works easily and wonderfully without needing to set anything up except installing the plugin.

P.S. This Windows 10 bug doesn't occur with just Media Center, but other software too including Steam, Adobe's apps and Garmin Express.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: tyler69 on October 10, 2017, 05:21:00 am
On my PC this only occurs when running MC. I have steam and adobe acrobat installed and active.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 10, 2017, 05:24:25 am
I've definitely had it occur when running just Steam, as has Hendrik.

It's just very random. I've had it happen with a clean Windows 10 install without any software installed. So yeah, Microsoft needs to get their stuff together and fully fix this bug.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: chris635 on October 16, 2017, 02:21:11 pm
Hi all,

   I was going to wait a bit before posting, but I may as well. I have been running the fall creators update build 16299.19 for several days now on two of my machines, and I am not running into any start menu or suspended app issues. I think further testing is required, as I am not prepared to say Microsoft fixed it yet, but so far so good.

Chris
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 16, 2017, 02:52:44 pm
If Microsoft actually fixed this in the Fall Creators Update I'd be EXTREMELY surprised. But I'm not holding my breath unless terrym@tassie says otherwise.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: chris635 on October 16, 2017, 02:55:19 pm
I have been in contact with terry and his preliminary testing is good, however long term testing is needed.

Chris
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 16, 2017, 02:57:41 pm
Huh, hopefully he keeps us informed. It'd be GLORIOUS if Microsoft actually finally fixed this issue.

I'm already running the same RTM build too. I suppose I'll remove the script and see what happens. ;)

EDIT: Nope, not fixed as the Start Menu died after 2 hours of continuous music playback (where I purposely didn't click the Start Menu during that time).
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on October 16, 2017, 04:44:54 pm
I have been in contact with terry and his preliminary testing is good, however long term testing is needed.
Chris
Thanks to chris635 who gave me the 'heads up' on this issue.

The one system I'm testing the 16299.19 preview build on continues to be OK.
No issues with the Start Menu, any suspended (minimized) Universal Windows Platform (UWP) apps restore to maximized and function normally after extended playback of audio via JRiver MC23 x64.

It is still early days but I have to say this is looking extremely promising that Microsoft may have actually fixed the bug.
I'm going to do the 16299.19 update on my HTPC as soon as practicable so I can fully test how it goes with video playback.

At this stage I'm still cautious because I remember the bug on very early Windows 10 builds used to disappear after a build update only to reappear about a week later.
I think I might also update one system to the the Windows 10 'fast' ring 17000 series builds to make sure the bug doesn't reappear.
I also need to do some testing with the 32-bit version of MC23.

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 16, 2017, 04:45:59 pm
I'm using 16299.19 (aka the Fall Creators Update RTM, a clean install of course) and after two hours of continuous music playback without stopping via ASIO (where I purposely didn't click the Start Menu during that time) the Start Menu indeed "died" like it has in previous releases. Didn't do anything but change the artists/songs in MC23 x64 and browse the Internet with Google Chrome 64-bit. So it's definitely not fixed yet. Also have other apps running in the background, including Steam, which is known to also trigger this issue.

Oh well, hopefully Redstone 4?
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on October 16, 2017, 04:58:10 pm
I'm using 16299.19 (aka the Fall Creators Update RTM, a clean install of course) and after two hours of continuous music playback without stopping via ASIO (where I purposely didn't click the Start Menu during that time) the Start Menu indeed "died" like it has in previous releases.

That is very disappointing news!
Perhaps the best we can hope for is that a smaller percentage of systems may be affected by the bug with these newer builds.

Terry
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: chris635 on October 16, 2017, 05:09:04 pm
I'm continuing testing myself terry. I have three machines running. I will leave them for 24 hours and see what happens. Two of them with ASIO and one with WASAPI.

Chris
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: chris635 on October 16, 2017, 05:13:39 pm
Let me also note that two of my machines are fresh installs of the creators update and one is an in place upgrade.

Chris
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: RD James on October 20, 2017, 09:51:45 am
It's far less frequent on the Fall Creators Update, but not fixed. Had it happen again today - though ShellExperienceHost.exe did not appear to be suspended.
I also have an issue now where there's maybe a 20% chance when I reboot the PC that the start menu won't work at all and I have to reboot it again to fix it.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on October 20, 2017, 06:05:37 pm
It's far less frequent on the Fall Creators Update, but not fixed. Had it happen again today - though ShellExperienceHost.exe did not appear to be suspended.
I also have an issue now where there's maybe a 20% chance when I reboot the PC that the start menu won't work at all and I have to reboot it again to fix it.

Yes, it is far less frequent but the 'bug' is still there. However it is a vastly improved situation as the 'bug' now ONLY affects the Start Menu and Search/Cortana, any suspended UWP apps or items like Systemsettings will work normally and recover from being suspended. I have to date on the systems I have upgraded not encountered the issue of the Start Menu not working after a reboot.

I have in beta testing at the moment a solution to the 1709/16299 Start Menu issue which leaves the UWP apps working as they should, it also contains an option that would allow the recovery of the Start Menu if it fails after a reboot which would fix it without the requirement to boot again.
It is also backwards compatible with the previous builds of Windows 10 (1703,1607 etc).

If anyone else is interested in participating in the beta testing of w10spkV2 please send me a Personal Message.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: amsco15 on October 21, 2017, 09:57:30 am
The latest Win 10 update seems to have solved the problem on my machine.  Still early to declare total victory but start, search and settings have survived two lengthy listening sessions.  First time that’s happened in years.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 22, 2017, 12:20:45 pm
It's likely still there, but takes longer to show itself. I'm testing Terry's updated w10spkV2 script and it's been working wonderfully with the Fall Creators Update thus far.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: cfrab on October 22, 2017, 04:05:53 pm
hello
I'm using MC 23.0.72 on win10 release 1703.
I experienced the issue of "start menu become unresponsive" during MC playback, solved by installing the w10spk script as described in this thread.
Unfortunately, now I found the same issue when using Media Server (run on win10 startup); the w10 start menu become unresponsive after a while when controlling playback from Media Server with Gizmo (android) or other DLNA controller/renderer, without using MC for playback.
(The script log do not show any termination of suspended processes when Media Server is running "standalone").
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: terrym@tassie on October 22, 2017, 06:00:00 pm
Unfortunately, now I found the same issue when using Media Server (run on win10 startup); the w10 start menu become unresponsive after a while when controlling playback from Media Server with Gizmo (android) or other DLNA controller/renderer, without using MC for playback.
(The script log do not show any termination of suspended processes when Media Server is running "standalone").

Well, that's a new one.
I run one of my systems extensively as a Media Server and I have never encountered an issue with the Start Menu when MC is NOT playing locally but then I don't use Gizmo to control playback a lot (but have done in the past without any issue). The script in it's current form (and V2) would not detect this as a situation where it needed to terminate processes.
Is it an intermittent random occurrence or does it follow a defined pattern like local playback, eg n minutes of served playback = Start Menu failure?
Also have I understood your post correctly, playback is not occurring in any local zone but is on a remote client and Media Server is just serving via the network?
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: amsco15 on October 31, 2017, 08:14:20 am
Been running the Fall Creator's Edition for a while now, still no problem with the start menu...  There is a very slight delay after running MC and selecting start, search or action center but they all work regardless of the length of the MC listening session.  Getting optimistic that this problem has been resolved.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem', a vbscript work-around V1.1d
Post by: Awesome Donkey on October 31, 2017, 08:44:55 am
It depends. It's potentially "solved" for some, and not others. For example, I still get Start Menu "death" after two hours of continuous playback of music.

Terry's been going down some interesting rabbit holes while looking into this and the Fall Creators Update, which I'm sure he'll post about once he's done with his testing.
Title: Re: Windows 10 Start Menu and Modern Apps 'problem' - superseded
Post by: terrym@tassie on November 03, 2017, 01:04:14 am
It depends. It's potentially "solved" for some, and not others. For example, I still get Start Menu "death" after two hours of continuous playback of music.

Terry's been going down some interesting rabbit holes while looking into this and the Fall Creators Update, which I'm sure he'll post about once he's done with his testing.
Finished looking down the rabbit holes and completed update of w10spk to version 2. Please see this post: https://yabb.jriver.com/interact/index.php/topic,113034.0.html (https://yabb.jriver.com/interact/index.php/topic,113034.0.html)

Locking this thread now.