Taming Windows Defender

From JRiverWiki
Revision as of 06:43, 17 October 2017 by JimH (talk | contribs)

Jump to: navigation, search
further information: Troubleshooting Security Software

By far, the most common cause of performance-related issues such as hanging, stuttering, and hiccuping is interference by an Anti-Virus application, or similar security software. The first thing is to try to determine if a security application on your system is causing the issue.

If, from this test, you've determined that the problem does lie with your Anti-Virus application, you'll want to set it to "exclude" a set of locations and programs that are used by MC and need to perform well. I can't, obviously, address every single AV application out there, but in this example we will use Windows Defender. The instructions for the older Microsoft Security Essentials are essentially identical. If you don't have Windows Defender or MSSE, you want to try to exclude the same "things" in your own particular AV application.

Excluding Important MC Files and Locations in Windows Defender

To make sure Windows Defender isn't interfering with MC's performance, follow these steps:

  1. Click Start and type: Windows Defender and hit enter.
  2. Switch to the Settings Tab, and then select Excluded Files and Locations.
  3. Click Browse and this location: C:\Users\<USERNAME>\AppData\Roaming\J River
  4. If you've added any additional Libraries to MC (additional local databases, not the media files themselves) then also add the disk location for that Library folder.
  5. If you have any crazy-slow disks (external USB disks, for example) that contain large amounts of media, then you may also want to consider adding the entire root of this drive.

When you are done, then it should look something like this:

My main Library is at M:\library_data\ so I've excluded that. I use Y drive for Virtual Machines on external disks, though this kind of thing could help with really slow media drives as well.

Once you've done that, click Save Changes and then continue on:

  1. Switch to Excluded Processes under Windows Defender's Settings.
  2. Add Entries for:
    1. JRService.exe
    2. JRWeb.exe
    3. JRWorker.exe
    4. Media Center 20.exe

Tip: The dialog here is annoying to add multiple entries to with the Browse button. If you are on a 64-bit version of Windows, you can copy/paste the following into the Process Names box all at once:

C:\Program Files (x86)\J River\Media Center 20\JRService.exe; C:\Program Files (x86)\J River\Media Center 20\JRWeb.exe; C:\Program Files (x86)\J River\Media Center 20\JRWorker.exe; C:\Program Files (x86)\J River\Media Center 20\Media Center 20.exe;

When you are done this time, it should look something like this (again, ignore my entries for VMWare):

Showing Windows Defender with the Media Center processes excluded. Ignore the entries for VMWare Workstation (unless you have VMWare installed, as this helps with that dramatically as well).

This is the kind of issue that sometimes creates UI bottlenecks and can cause periodic non-responsiveness. Windows Defender is generally well behaved, but if you are having trouble, this often helps performance (and never hurts it). This issue is exacerbated if your Library files (the MC database, not the media files themselves) are on a slow disk. You may find this is not necessary if you move your Library files to a high-performing SSD or other fast, local disk.

More

Awesome Donkey posted about how to set Windows Defender. https://yabb.jriver.com/interact/index.php/topic,112750.msg779794.html#msg779794