Ever wondered why the error "Login failed for user 'NT AUTHORITY\NETWORK SERVICE'. [CLIENT: xxx.xxx.x.x]" shows up in the eventviewer on the current CRM VPC when booting?

Microsoft CRM Deletion and Microsoft CRM Workflow Service services attempt to access the underlying databases before the SQL Server Agent service started. Although this is not a critical error I wanted to fix this. So to address this issue set both services to depend on the SQL Server Agent service:

  1. Open up Regedit by going to Start / Run and type in regedit
  2. Go to [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSCRMDeletionService]
  3. Create the "DependOnService" multi-word values for both services to include SQLSERVERAGENT
  4. Do the same for [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSCRMWorkflowService]

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft nor I cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.