The issue could be with a custom image. If you want to use the same image, would recommend to recreate image and Sysprep it and try again.
You can get this issue fixed by changing the VM type to a one with more robust temp storage.
Hope that helps.
Please 'Accept as answer' if the provided information is helpful, so that it can help others in the community looking for help on similar topics.