Forum Discussion

gcadavid's avatar
gcadavid
Copper Contributor
Jan 26, 2022

Storage migration service failed in cutover validation

Storage migration Service failed in validation cutover with "We can connect to the destination computer using a local user account."

 

Debug log:

01/26/2022-15:28:29.238 [Erro] TestCutoverDevicePairTask failed with exception System.ComponentModel.Win32Exception (0x80004005): Could not logon user xxxxxxx\MsftSmsStorMigratSvc Error Code: 1385 at Microsoft.StorageMigration.Common.Impersonation.LogonUser(NetworkCredential credential, Boolean local) at Microsoft.StorageMigration.Common.CutoverUtils.ConnectToHost(NetworkCredential networkCredential, Boolean isLocal, String hostName) at Microsoft.StorageMigration.Service.TestCutoverDevicePairTask.TCutoverTestConnectToDestinationUsingLocalAccount() at Microsoft.StorageMigration.Service.TestCutoverDevicePairTask.Execute(CancellationToken cancelToken) : at Microsoft.StorageMigration.Common.Impersonation.LogonUser(NetworkCredential credential, Boolean local) at Microsoft.StorageMigration.Common.CutoverUtils.ConnectToHost(NetworkCredential networkCredential, Boolean isLocal, String hostName) at Microsoft.StorageMigration.Service.TestCutoverDevicePairTask.TCutoverTestConnectToDestinationUsingLocalAccount() at Microsoft.StorageMigration.Service.TestCutoverDevicePairTask.Execute(CancellationToken cancelToken) [d:\os\src\base\dms\service\OperationManager\TestCutoverDevicePairTask.cs::Execute::207]

 

Regards,

  • B4zza's avatar
    B4zza
    Copper Contributor

    gcadaviddid you ever resolve this? I am having the same issue and can't figure it out. 

    • B4zza's avatar
      B4zza
      Copper Contributor
      Never mind, I figured it out.

      Error Code: 1385.

      This means the user has not been granted the requested logon type at this time. I then had a look at the User Rights Assignment in local policy. Turns out GPO was setting, 'deny access to this computer from the network' to local accounts as well as guests.

      Once I removed local accounts and updated GPO, the validation test worked.

Resources