svchost.exe: the service host in Windows operating system tests

Contents
  1. How is svchost.exe embedded?
  2. What is svchost.exe used for?
  3. How do you inspect an svchost.exe process more closely?
    1. Task Manager
    2. Services (Services.msc)
    3. tasklist.exe
    4. External programs: Process Explorer
  4. How can you tell whether svchost.exe is a virus?
  5. How do you terminate individual svchost.exe processes?
  6. svchost.exe – A process (un)like any other

How is svchost.exe embedded?

As a system program, svchost.exe is located in the system folder “\Windows\System32.” This is a protected folder that cannot be accessed by users who do not have administrator privileges. The program is launched by the Service Control Manager (SCM) after system start-up. The SCM manages a list of services to be started in the Windows registry. After system start-up, the SCM runs an instance of svchost.exe as a process for each service listed in the registry.

In principle, several services can also be combined in one process. However, for powerful computers, Windows usually runs a separate process for each service. This makes it easier to distinguish between the individual processes. This is an advantage when a process “crashes,” meaning it enters an undefined state. In such cases, the failed task can then be closed without affecting other programs.

Fact

The Windows Registry is a central repository that contains many important settings for the Windows operating system. It is a hierarchal database and can be managed using the Regedit editor.

What is svchost.exe used for?

You may be wondering why additional software is necessary to start services in the first place. The reason has to do with gains in efficiency and specific concepts such as Dynamic Link Libraries (DLLs). DLLs use svchost.exe to run a service. Generally speaking, these libraries consist of code that can be used by different software applications and dynamically integrated (linked) if necessary. First, this saves disk space because not every software program has to include the functions in the library. Second, it promotes modularity. DLLs can be customised and updated regardless of the software being used.

Note

Multiple programs may be affected if there are errors in a DLL.

Thanks to their unique properties, dynamic libraries support ordinary programs that require extensive code to run independently. They also solve the problem that certain program resources (such as embedded functions) typically cannot be directly controlled by other programs. The system primarily uses DLLs to provide functions that are required by multiple programs.

How do you inspect an svchost.exe process more closely?

If you determine that an svchost.exe process is responsible for problems in your system, there are several ways to inspect it.

Task Manager

One effective tool is the Windows Task Manager, which you typically access using the keyboard shortcut Ctrl + Shift + Esc. Alternatively, you can type “Task Manager” in the search box and launch the app from the search results.

The Task Manager has several tabs. The Processes view opens by default. It displays the percentage of system resources being used for each running process, including CPU usage, memory utilisation, network utilisation and disk utilisation. You can change how the list is sorted by clicking a column's header. The processes are named after the associated programs. In Windows 10, svchost.exe processes start with “Service Host,” followed by the description of the service currently running. In earlier versions of Windows, the name svchost.exe appeared directly in the list of processes.

Services (Services.msc)

All services can be viewed with the Services system app. To open this app, simply go to the “Run” dialogue box from the Start menu (Windows icon) and enter the following:

services.msc

You can select Properties from the context menu of each service listed. This window displays the path to the linked executable file. The name of the service and a brief description are also displayed. That way you can determine the function of the service. On the Dependencies tab, you can view other services that are dependent on the service.

tasklist.exe

If you don’t mind using the command line tool, the taskliste.exe program is a good alternative. The program comes pre-installed on Windows 10 and is very easy to use. In previous versions, a similar software program was called “tlist.exe.” Start by opening Command Prompt (cmd.exe). To see a list of all instances of svchost.exe with the associated process ID and the services running inside each instance, type the following command into the Windows command line:

tasklist /svc /fi "imagename eq svchost.exe"

External programs: Process Explorer

Microsoft offers third-party freeware such as the Process Explorer developed by well-known author and Windows insider Mark Russinovich. The program is similar in appearance to the Task Manager, but has a much more extensive range of features. For example, you can easily see which processes have invoked other processes. In addition, you can right-click to open a context menu for more detail. For example, you can view not only the program associated with a process, but also the registry entry. Yet another option is to submit software directly to the VirusTotal platform for inspection.

How can you tell whether svchost.exe is a virus?

The svchost.exe process often appears suspicious when you’re inspecting a malware-infected system. One reason for this is that the underlying service is not always immediately recognisable. In addition, you can't rule out the possibility that malware is exploiting the function of the process and attaching itself to it. Cybercriminals have often taken advantage of the fact that the process is so common.

It’s not easy to determine which processes are legitimate. Start by checking whether the process is spelled correctly. For example, malware often uses similar-looking spellings like scvhost.exe or svhost.exe. You can also use the method described above to view the path to the executable file. The file must always be located in the “\Windows\System32\” directory, otherwise it’s not a legitimate system process.

The linked services offer further clues. If these services are known Windows system functions, it’s very unlikely that malware is the cause of your problems. The “Details” tab in the Task Manager provides further information. In the properties, you can view the digital signature (certificate) of the originator for svchost.exe, the issuer should always be Microsoft.

How do you terminate individual svchost.exe processes?

If a program with a graphical user interface stops responding, it may be helpful to manually terminate the associated process. It’s also possible that you accidentally launched several instances of a program by double-clicking the program icon several times. Here too, you can end the processes so that you can return to using the program as usual. You can close processes like svchost.exe in the Task Manager. To do this, go to Processes view and simply right-click the process and choose “End task.”

Note

When you terminate system processes, you may experience unforeseen problems in the running operating system. Therefore, always save open documents or other data beforehand.

If a svchost.exe instance is still causing problems even after a restart, you have the option of manually disabling the process in the Services app. But before doing this, you should determine the function of the service you want to disable, if possible. Otherwise, there’s a risk that the system may not function properly when you restart your computer.

svchost.exe – A process (un)like any other

As you can see, svchost.exe is a completely normal yet very unique process. It runs in multiple instances for good reason. It doesn’t mean that your system isn’t working properly or infected with malware. You can now view the purpose of each individual process relatively easily in the Windows Task Manager. And if necessary, you can manually terminate svchost.exe just like any other process.

  • Encyclopedia

IONOS Special offers

Get cloud storage, website builders, hosting and servers at our best prices.

In order to provide you with the best online experience this website uses cookies. By using our website, you agree to our use of cookies. More Info.
Manage cookies

聚圣源智能设备起名字剩余公主电视剧拜托了老师跟踪阿斯特罗斯猪猪动漫迪兰达尔完全生命体伊弗路桥养护公司起名埃及艳后av宝宝起乳名猪年孩子吕开响亮的男孩起名大全2020年女孩起名韩国烤肉店加盟找老师起名字pubg世纪网恋姓孟起什么名字股票操作软件最强医圣cctv6直播异世大领主那里可以起名字丘疹幸福起点面包博美起什么名字好听晚清之乱臣贼子2020吴姓男宝宝起名大全法证先锋4粤语在线观看洗尽铅华我的二战不可能这么萌淀粉肠小王子日销售额涨超10倍罗斯否认插足凯特王妃婚姻让美丽中国“从细节出发”清明节放假3天调休1天男孩疑遭霸凌 家长讨说法被踢出群国产伟哥去年销售近13亿网友建议重庆地铁不准乘客携带菜筐雅江山火三名扑火人员牺牲系谣言代拍被何赛飞拿着魔杖追着打月嫂回应掌掴婴儿是在赶虫子山西高速一大巴发生事故 已致13死高中生被打伤下体休学 邯郸通报李梦为奥运任务婉拒WNBA邀请19岁小伙救下5人后溺亡 多方发声王树国3次鞠躬告别西交大师生单亲妈妈陷入热恋 14岁儿子报警315晚会后胖东来又人满为患了倪萍分享减重40斤方法王楚钦登顶三项第一今日春分两大学生合买彩票中奖一人不认账张家界的山上“长”满了韩国人?周杰伦一审败诉网易房客欠租失踪 房东直发愁男子持台球杆殴打2名女店员被抓男子被猫抓伤后确诊“猫抓病”“重生之我在北大当嫡校长”槽头肉企业被曝光前生意红火男孩8年未见母亲被告知被遗忘恒大被罚41.75亿到底怎么缴网友洛杉矶偶遇贾玲杨倩无缘巴黎奥运张立群任西安交通大学校长黑马情侣提车了西双版纳热带植物园回应蜉蝣大爆发妈妈回应孩子在校撞护栏坠楼考生莫言也上北大硕士复试名单了韩国首次吊销离岗医生执照奥巴马现身唐宁街 黑色着装引猜测沈阳一轿车冲入人行道致3死2伤阿根廷将发行1万与2万面值的纸币外国人感慨凌晨的中国很安全男子被流浪猫绊倒 投喂者赔24万手机成瘾是影响睡眠质量重要因素春分“立蛋”成功率更高?胖东来员工每周单休无小长假“开封王婆”爆火:促成四五十对专家建议不必谈骨泥色变浙江一高校内汽车冲撞行人 多人受伤许家印被限制高消费

聚圣源 XML地图 TXT地图 虚拟主机 SEO 网站制作 网站优化