Yesterday a client reported an issue that they are unable to create schedule task on a SBS 2011 server, upon checking I found that the schedule task wizard launches fine and goes almost till completion and just as we click on finish we get the following error.

Transaction support within the specified resource manager is not 
started or was shut down due to an error.
Error while creating the Schedule task

Error while creating the Schedule task

I felt very lucky when with the first google search I stumbled upon various blogs and articles including Microsoft suggesting the corruption in transaction manager log and  the following command (from command prompt) to resolve the issue quick.

fsutil resource setautoreset true c:\
 

Pumped with adrenaline, I performed the command (from command prompt) and rebooted the server but unfortunately the issue persisted upon the reboot. I did try the reset a couple more times & of course multiple reboots with no success.

I went ahead and checked the event viewer which also was giving multiple error while loading. I did find multiple errors in it, mostly about Windows search service failing the start mostly because of again some transaction log. Refer the error events below

Event ID 7034:
The Windows Search service terminated unexpectedly.It has done this 12 time(s).
Event ID 7023
The Windows Search service terminated with the following error:
Transaction support within the specified resource manager is not started or was shutdown due to an error.
Event ID 1006
The Windows Search Service has failed to create the new search index. Internal error <10, 0x80071a91, Failed to save Crawl Scope Manager changes: >.
Event ID 1029
Windows Search Service failed to process the list of included and excluded locations with the error <20, 0x80071a91, “”>.
Event ID 1006 The Windows Search Service has failed to create the new search index. Internal error

Event ID 1006 The Windows Search Service has failed to create the new search index. Internal error

Event ID 1019 Windows Search Service failed to process the list of included and excluded locations with the error.

Event ID 1019 Windows Search Service failed to process the list of included and excluded locations with the error.

Event ID 7034 The Windows Search Service Terminated Unexpectedly

Event ID 7034 The Windows Search Service Terminated Unexpectedly

Further research on this error led me towards uninstall and reinstall of Windows Search component. Though Windows search was not something which I was engaged to resolve but given that I wasn’t having much luck with schedule task issue, I decided to follow the lead where ever it take me towards.
To uninstall Windows Search I launched Server Manager and found that Server manager is also not loading up with the following error
Unexpected error refreshing Server Manager: The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.
(Exception from HRESULT: 0x80070422)
Unable to Load Server Manager with error 0x80070422

Unable to Load Server Manager with error 0x80070422

Further upon checking the event viewer under Event Viewer, Applications and Services Logs, Microsoft,Windows, Server Manager, Operational, I find numerous event id
Could not discover the state of the system. An unexpected exception was found:
System.Runtime.InteropServices.COMException (0x80070422): The service cannotbe started, either because it is disabled or because it has no enabled devices associated with it. (Exception from HRESULT: 0x80070422)at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32errorCode, IntPtr errorInfo) at
Microsoft.Windows.ServerManager.ComponentInstaller.CreateSessionAndPackage(IntPtr& session, IntPtr& package) at Microsoft.Windows.ServerManager.ComponentInst
aller.InitializeUpdateInfo() at Microsoft.Windows.ServerManager.ComponentInstaller.Initialize() at Microsoft.Windows.ServerManager.Common.Provider.RefreshDiscovery()
at Microsoft.Windows.ServerManager.LocalResult.PerformDiscovery() at Microsoft.Windows.ServerManager.ServerManagerModel.CreateLocalResult(RefreshType refreshType)
Event ID 1601 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it

Event ID 1601 The service cannot be started, either because it is disabled or because it has no enabled devices associated with it

We checked further about this error and found this could be because of some missing package files on the server and the solution suggested was to replace the files from another working server.  At this moment we decided that it will be better to install the latest Service Pack available which in case was SP3 on our server to replenish the missing packages.  The SP upgrade is still pending, I will have this article updated as that is completed.
The following two tabs change content below.
An automobile enthusiast at heart and computer geek by profession, started my Career with MS in 2005.Left Jobs and started Pledge Technologies (the parent company to Grishbi) back in 2009.We have been providing IT consulting to various Small and Medium businesses across US and UK since then.Our company specialises in Microsoft Server technologies like AD, Exchange, the rest and with numerous Office 365 migrations under our belt, we quite an expert with that too. Whatever we learn in our day to day life, we share it back on Grishbi as a Thank for all the love and support our customers have given us.
%d bloggers like this: