image_pdfimage_print

Server 2012 Hang on Startup TiWorker.exe causing boot loop

The TiWorker (This is an automated scheduled task that comes pre-configured in Windows Server 2012 R2) process is related to the following services;

  • Windows Update service
  • TrustedInstaller.exe
  • Windows Modules Installer service

The symptoms for this issue that your Windows 8 or Server 2012 system runs slowly and applications lag. If you press CTRL+ALT+DEL and check the Windows 8 or Server 2012 Processes. Then you will see a process called tiworker.exe using around 80% – 90% of your CPU time. If you try and end this process the tiworker.exe automatically starts itself again.

After 30 minutes or so the issue will go as the tiworker,exe process will end. This process is used by Microsoft’s auto update services when downloading and applying updates to Windows 8 and Server 2012, it runs an applicability scan hence why the process will restart when you kill it as it will run until it has checked if there are updates for applications you are running.

To resolve the issues, 2 workarounds can be applied to the affected system (But there is not a confirmed fix for the issue)

  • Workaround 01 : Applying the hotfix from the Microsoft
  • Workaround 02 : Disabling the related services (Windows Update service / Windows Modules Installer service)

DISM to fix issues that SFC can’t

SFC, which stands for System File Checker, is a built-in administrative tool to verify the integrity of operating system files and to repair files that are corrupt, damaged or changed.

SFC scans have three possible outcomes:

  1. The scan did not find any issues.
  2. The scan did find issues and fixed them.
  3. The scan did find issues and couldn't repair them (Windows Resource Protection found corrupt files but was unable to fix some of them).

Note: It is recommended that you do a full backup of the Windows system partition before you run DISM.

SFC may also correct issues but it may not resolve the issue that you tried to correct in first place by running it.

DISM comes to the rescue in these situations. Deployment Image Servicing and Management (DISM)  is a command line program for Windows that is used for a variety of purposes.It is available in all versions of Windows starting from Windows 7 and Windows Server 2008.

 

Plesae always run the DSIM commands with elevated privileges.

Command 01: Dism /Online /Cleanup-Image /CheckHealth – Run this to check status

The command checks the image for the corruption flag and returns its findings to you but does not run repair operations.

Command 02: Dism /Online /Cleanup-Image /ScanHealth – Run this to check component store corruptions

The scan takes longer to complete if corruption is found during the scan of the image.

Command 03: DISM /Online /Cleanup-Image /RestoreHealth – Run this to fix the corruption

The /RestoreHealth parameter runs a scan for corruption and attempts to repair any issues that it finds automatically.