Closed gmileka closed 5 years ago
I've updated the scripts to run the following:
c:\windows\system32\sc.exe config AzureDeviceManagementClient start=auto c:\windows\system32\sc.exe failure AzureDeviceManagementClient reset= 0 actions= restart/0/restart/0/restart/0
When the user clicks 'Install' or 'Start' in WDP, it is assumed that the agent will be configured to auto-restart when the device reboots. However, currently, it is not which causes confusion as to why the agent did not start - or "it stopped" running.