"Why did my PC restart" error setting FolderLocations in AutoUnattend.xml

David Torgerson 101 Reputation points
2020-05-21T17:39:48.53+00:00

I am installing Windows 10 IoT 1809 with an AutoUnattend.xml which installs the OS and my application successfully However when I try to set FolderLocations to D:\ProgramData and d:\Users I get an error dialog "Why did my PC restart". When I click next it just returns to this dialog. When I select Shift-F10, the folders are created.

8582-annotation-2020-05-21-114844.png

Windows 10 Setup
Windows 10 Setup
Windows 10: A Microsoft operating system that runs on personal computers and tablets.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,954 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sean Liming 4,606 Reputation points
    2020-05-27T18:25:08.097+00:00

    The error that you are running into and the solution seems a little odd. I don't normally setup the drives in my answer files since I don't want a live disk that can wipe out any machine without a safety stop. There is a screen that appears during installation that lets you partition and format the disks prior to install. I am asking to test to see if by chance the problem is related to the disk setup in the answer file.

    My book covers some of the details on UWF and Shell Launcher setup: https://annabooks.com/Book_SGWin10IoTE.html. I have developed some utilities based on the WMI API sets to help with setup for Shell Launcher and Keyboard filter: https://annabooks.com/Software.html. The Shell Launcher command line utility can be called with a Pass 7 command to setup Shell Launcher.

    Understood about going from WES7 to Windows 10. As you are finding there are some differences between WES7 and Windows 10 IoT Enterprise settings. Make sure to take a closer look at the power setting to see if there are any additional items for your platform.

    Regards,

    Sean Liming

    1 person found this answer helpful.
    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Sean Liming 4,606 Reputation points
    2020-05-26T16:58:28.487+00:00

    If you create the partitions manually during installation of the OS, does the error occur?

    Are you using SIM to create the answer file? If so, why not add the Foundation package and enable Shell Launcher and UWF features from that package?

    Also, the settings for Shell Launcher and UWF do not get applied to the image. This is a known issue.
    Power settings can be setup using a power plan: https://annabooks.com/Articles/Articles_WE8S/WES-WEI-CustomPowerSettingsRev1.2.pdf


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.