VMware Workspace ONE Community
MikeTurley
Contributor
Contributor
Jump to solution

Unable to Re-enroll

Our company has a ploicy of deleting computers from Workspace One when not used for a long time. Sometimes they are spare machines and get used again. When I try to re-enrol them they do not appear in Workspace One even though the agent has installed. There are a few errors in the even logs:

Hmac retrieval with OTA from Installer Argument failed : SOURCE: [AgentSideLoad], ERROR_CODE: [2012], ERROR_MESSAGE: HMAC Authentication failed., ERROR_RESPONSE: Authentication status : Failed, Description : Failed, Status-Code : AUTH-1005

Hmac retrieval with OTA from Enrollment Certificate failed : SOURCE: [AgentSideLoad], ERROR_CODE: [2012], ERROR_MESSAGE: HMAC Authentication failed., ERROR_RESPONSE: Authentication status : Failed, Description : Failed, Status-Code : AUTH-1005

Hmac retrieval with Credentials provided for Silent Enrollment failed : SOURCE: [AgentSideLoad], ERROR_CODE: [2012], ERROR_MESSAGE: HMAC Authentication failed., ERROR_RESPONSE: Authentication status : Failed, Description : Failed, Status-Code : AUTH--1

Application: VMware.IntelligentHub.CommunicationService.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.InvalidCastException
at System.StubHelpers.InterfaceMarshaler.ConvertToNative(System.Object, IntPtr, IntPtr, Int32)
at System.Runtime.InteropServices.WindowsRuntime.IMap`2[[System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].Insert(System.String, System.Object)
at System.Runtime.InteropServices.WindowsRuntime.MapToDictionaryAdapter.Insert[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Runtime.InteropServices.WindowsRuntime.IMap`2<System.__Canon,System.__Canon>, System.__Canon, System.__Canon)
at System.Runtime.InteropServices.WindowsRuntime.MapToDictionaryAdapter.Add[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.__Canon, System.__Canon)
at VMware.Hub.ClientPlatform.AppBridgeTools.Client.BridgeClientPlugin+<OnBridgeClientPluginMessage>d__21.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__6_1(System.Object)
at System.Threading.QueueUserWorkItemCallback.WaitCallback_Context(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback()

Our technical team suggest a rebuild, but I wonder if there is a better solution.

Regards,
Mike Turley

Reply
0 Kudos
1 Solution

Accepted Solutions
Phil_Helmling
VMware Employee
VMware Employee
Jump to solution

try also running this script to completely cleanup the agent off the machine

https://github.com/helmlingp/apps_ws1agentcleanup

 

View solution in original post

4 Replies
Afshin_Lak
Enthusiast
Enthusiast
Jump to solution

Are you using the Option Prevent Re-Enrollment?

Reply
0 Kudos
MikeTurley
Contributor
Contributor
Jump to solution

No, I'm able to re-enrol other computers if done straight after unenrolling them. This appears to be due to the length of time since the computer was unenrolled.

Reply
0 Kudos
Phil_Helmling
VMware Employee
VMware Employee
Jump to solution

try also running this script to completely cleanup the agent off the machine

https://github.com/helmlingp/apps_ws1agentcleanup

 

MikeTurley
Contributor
Contributor
Jump to solution

Thanks Phil, that did the trick

Reply
0 Kudos