Parameter is incorrect error at ESP phase of Autopilot device preparation policy (Autopilot V2)
Hi Team,
I am testing the Windows autopilot device preparation profile (Autopilot V2).
Here, I need to rename the device while it is enrolling to the Intune (during ESP). So, I created a script that has below command to rename the device and rebooting it.
Hi Team, I am testing the Windows autopilot device preparation profile (Autopilot V2).Here, I need to rename the device while it is enrolling to the Intune (during ESP). So, I created a script that has below command to rename the device and rebooting it. Rename-Computer -NewName $newname -ErrorAction ‘Stop’ -ErrorVariable err -Restart -Force The issue I am facing now is that, when the device is at ESP, it runs the script to rename the device and also it restart the device. But after restart it does not complete the device preparation set up and s an shows an error screen called with message “Parameter is incorrect” and after clicking on OK, I get to see the login screen. After logging in, I am able to use my machine fine and the device is also renamed as per my organization standards. Does anyone also have faced this kind of issue while testing the Autopilot V2 with reboot script at ESP. Regards,Ashish Arya Read More