Symptoms

The Windows SBS Manager service is stopped with EventID 7034 every half an hour on SBS 2011.

-------------------------------------------

System log shows: Error 8/6/2013 11:00:19 AM Service Control Manager 7034 None

Log Name:      System

Source:        Service Control Manager

Date:          8/6/2013 11:00:19 AM

Event ID:      7034

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      LSSERVER.ls.local

Description:

The Windows SBS Manager service terminated unexpectedly.  It has done this 4 time(s).

-----------------------------------------

Cause

a corrupt WMI on a client computer

Resolution

Check the MonitoringDataCollection.log which is under C:\Program Files\Windows Small Business Server\Logs\MonitoringServiceLogs and found that it indicates a corrupt WMI on a client computer. The clues are like this:

----------------------------------------

2013-09-11T15:00:29.644036 : Exception caught when gathering computer DWALTERS01.domain.local's WMI information. It is being rethrown.

2013-09-11T15:00:29.659636 : System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E)

at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)

at System.Management.ManagementScope.InitializeGuts(Object o)

at System.Management.ManagementScope.Initialize()

at System.Management.ManagementObjectSearcher.Initialize()

at System.Management.ManagementObjectSearcher.Get()

at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.WMIInformation.GatherWMIItemCollection(WMIItemCollection results, ConnectionOptions conn, String computerName, String fileName, Boolean computerIsOnline, Logger log)

at Microsoft.WindowsServerSolutions.SystemHealth.Monitoring.WMIInformation.<>c__DisplayClass5.<>c__DisplayClass7.<CollectWMIInformation>b__3(Object state)

-----------------------------------------

Note: System.IO.FileNotFoundException as mentioned in event logs.

Therefore, to resolve this issue, we can try:

Step 1:  Go to DWALTERS01.domain.local's computer

=========

a. Right-click the My Computer icon and select Manage. (Alternate: Click Start, Control Panel, Administrative Tools, Computer Management.)

b. Left-click the <kbd>[+]</kbd> next to Services and Applications to expand the tree view.

c. Left-click on WMI Control.

d. Now, right-click on the same WMI Control item and select Properties.

f. If WMI is working properly, you will see "Successfully connected to <local computer>".

g. If WMI is broken, you will see one or more error messages in the dialog.

Step 2: Repair WMI on the computer reporting errors :

======

Run the following command line as elevated permission to reregister WMI Modules:

sc config winmgmt start= disabled

net stop winmgmt

cd %windir%\system32\wbem

for /f %s in ('dir /b *.dll') do regsvr32 /s %s

wmiprvse /regserver

net start winmgmt

for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

Run the following command line to rebuild WMI Repository:

sc config winmgmt start= disabled

net stop winmgmt

cd %windir%\system32\wbem

rename repository repository.old

sc config winmgmt start= auto

for /f %s in ('dir /b *.mof *.mfl') do mofcomp %s

More information:

WMI: Rebuilding the WMI Repository

http://blogs.technet.com/b/askperf/archive/2009/04/13/wmi-rebuilding-the-wmi-repository.aspx

Step 3: Please reset the parameters of Windows SBS Manager:

a. Double-click Windows SBS Manager, and then in the Properties dialog box, click the Recovery tab.

b. In First failure and Second failure, click Restart the Service.

c. In Set Subsequent failures, click Take No Action.

d. In Reset fail count after, type 1.

e. In Restart service after, click 5

Step 4: Go back on your server then wait for the next schedule of Datacollectorsvc (every 30mn)

Note:  If it is OK, the MonitoringDataCollectionxxxxxxxxx.log should be clean and no more errors in the event logs.

FAQ: SBS 2011. The Windows SBS Manager service terminated unexpectedly的更多相关文章

  1. Windows Internal Database Service Pack 4 x64 Edition (KB2463332)安装失败

    系统是Windows Server 2008 R2,补丁Windows Internal Database Service Pack 4 x64 Edition (KB2463332)总是安装失败,W ...

  2. Windows as a Service(4)——使用Intune管理Windows10更新

    这是这个系列的最后一篇文章,我已经花了三篇的篇幅和大家分享有关于Windows as a Serivce的相关内容,链接如下: Windows as a Service(1)-- Windows 10 ...

  3. Windows as a Service(3)——使用SCCM管理Windows10更新

    Hello 小伙伴们,这是这个系列的第三篇文章,我已经和大家分享了有关于Windows 10服务分支以及利用WSUS管理更新的方式,有兴趣的小伙伴们可以参考下面的链接: Windows as a Se ...

  4. Windows as a Service(2)—— 使用WSUS管理Windows10更新

    前言 在上一篇Windows as a Service(1)-- Windows 10服务分支中,我和大家分享了Windows 10三个服务分支CB/CBB/LTSB的概念及不同,从这篇文档开始,我将 ...

  5. Windows as a Service(1)—— Windows 10服务分支

    前言 作为公司的IT管理员,管理全公司Windows 10操作系统的更新一直是工作中的头疼之处.微软提供了很多方法来帮助我们管理公司的Windows 10更新,比如Windows Server Upd ...

  6. [Windows Azure] Building worker role B (email sender) for the Windows Azure Email Service application - 5 of 5.

    Building worker role B (email sender) for the Windows Azure Email Service application - 5 of 5. This ...

  7. [Windows Azure] Building worker role A (email scheduler) for the Windows Azure Email Service application - 4 of 5.

    Building worker role A (email scheduler) for the Windows Azure Email Service application - 4 of 5. T ...

  8. [Windows Azure] Building the web role for the Windows Azure Email Service application - 3 of 5

    Building the web role for the Windows Azure Email Service application - 3 of 5. This is the third tu ...

  9. [Windows Azure] Configuring and Deploying the Windows Azure Email Service application - 2 of 5

    Configuring and Deploying the Windows Azure Email Service application - 2 of 5 This is the second tu ...

随机推荐

  1. 数据结构总结(UPDATING......)

    目标: 1.栈........√ 2.队列......√ 3.堆.........× 4.并查集...× 栈: #define MAXN 65536 struct stack{ int sz[MAXN ...

  2. 51nod1242斐波那契数列的第N项 【矩阵快速幂】

    斐波那契数列的定义如下: F(0) = 0 F(1) = 1 F(n) = F(n - 1) + F(n - 2) (n >= 2) (1, 1, 2, 3, 5, 8, 13, 21, 34, ...

  3. 亚马逊免费服务器搭建Discuz!论坛过程(一)

    1:申请 目前亚马逊服务器免费12个月,需要一张信用卡即可免费注册领取. 地址:https://aws.amazon.com/cn/free/ 2: 创建实例 2.1进入控制台:https://ap- ...

  4. 使用SQLAlchemy对博客文章进行分页

    https://blog.csdn.net/hyman_c/article/details/54382161

  5. hdu 2444 交叉染色判断二分图+二分最大匹配

    /*1A 31ms*/ #include<stdio.h> #include<string.h> #define N 300 int n; struct node { int ...

  6. 0709关于mysql优化思路【何登成】

    转自 http://isky000.com/database/mysql-performance-tuning-sql 优化目标 减少 IO 次数IO永远是数据库最容易瓶颈的地方,这是由数据库的职责所 ...

  7. [bzoj3282]Tree_LCT

    Tree bzoj-3282 题目大意:给你n个点m个操作.更改单点权值,加边,删边:查询路径异或和. 注释:$1\le n,m\le 10^5$ 想法:看到了加边删边,果断想到LCT维护.至于路径异 ...

  8. @Service注解的作用

    @Service注解作用    1. 其getBean的默认名称是类名(头字母小写),可以@Service(“xxxx”)这样来指定, 2.其定义的bean默认是单例的,可以使用@Service(“b ...

  9. 关于Excel导入导出POI工具类

    import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import ...

  10. redis(四))——多实例化——实现主从配置

    引言 redis是一个key-value存储系统. 和Memcached类似,它支持存储的value类型相对很多其它,包含string(字符串).list(链表).set(集合)和zset(有序集合) ...