Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 how to enable/disable ServiceHub.exe components

How to disable?

In the following screenshot you can see six processes that all begin with ServiceHub. These start when I start VS-2017 CE. Annoyingly, they do not stop when I exit VS-2017 CE. I would like to know how to disable these so that they do not start in the first place.

How to enable?

What turns these on?

Screenshot

enter image description here

like image 832
sapbucket Avatar asked Jan 07 '18 19:01

sapbucket


People also ask

What is Visual Studio ServiceHub?

The ServiceHub processes are part of Visual Studio. They are used for tasks that run outside of the devenv.exe process, including VS sign-in, user settings management, managing extensions, and language service support (like Roslyn VB/C#, code analysis, etc). These processes are essential for VS to function correctly.

What is ServiceHub ThreadedWaitDialog exe?

ServiceHub. ThreadedWaitDialog.exe raises the Windows timer interrupt frequency - Visual Studio Feedback. Skip to main content. Skip to main content.

What is ServiceHub Settingshost exe?

servicehub.settingshost.exe is the 2,169th most commonly executed Windows program. It typically runs from the path C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\ServiceHub\Hosts\ServiceHub.Host.CLR.x86, and is most often launched by ServiceHub.Host.Node.x86.exe.


1 Answers

First Workaround:

Tools > Options > Text Editor > JavaScript/TypeScript > Language Service...
Uncheck Enable the new JavaScript language service.

OR:

Tools > Extensions and Updates > TypeScript for Microsoft Visual Studio > Disable

Second Workaround:

Rename ServiceHub.Host.Node.x86.exe and if you want to enable it just rename to original file:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\ServiceHub\Hosts\ServiceHub.Host.Node.x86\

Linked:

  1. https://developercommunity.visualstudio.com/content/problem/30326/how-to-avoid-nodeexe-and-servicehubhostnodex86exe.html

  2. https://developercommunity.visualstudio.com/content/problem/31406/visual-studio-2017-nodejs-server-process-turn-off.html

  3. https://developercommunity.visualstudio.com/content/problem/27033/nodejs-server-side-javascript-process-consuming-to.html?childToView=27629#comment-27629

  4. Visual Studio 2017 - Node.JS Server Process - Turn off?

like image 134
stefan Avatar answered Sep 21 '22 04:09

stefan