unattend setup returns error 0xfffd0000 during specialize pass

0

I'm trying to run a PowerShell script using unattend.xml file for Windows Server 2012 R2 setup. I specified that PowerShell file to execute at specialise pass stage. Please check the below unattended script for PowerShell.

powershell.exe -executionpolicy bypass -noprofile -File "\\192.168.3.5\deploy\demo.ps1"

Everytime when I ran the setup using the unattended file it skips the PowerShell execution with the error. I have checked unattended log and found the below error code for the powershell execution.

Process returned with exit code 0xfffd0000

I have full control to the network shared path. Any idea on this?

powershell
windows-scripting
windows2012
winpe
wds
asked on Stack Overflow Aug 10, 2016 by Lokeswaran T • edited Jul 4, 2018 by Daniel A. White

1 Answer

0

One Year Later: I believe the error to be related to the "location" or Domain of the account being used. Depending on how you reference the account in your script, you may need to add the domain prefix or suffix to set the location context for the account referenced in the script DOM\username or username@domain.local

answered on Stack Overflow Jul 3, 2019 by user11735647

User contributions licensed under CC BY-SA 3.0