-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error running script in MDT deployment #159
Comments
Heya, I edited your comment to format the error message better. From the logs it seems like importing the registry files worked as intended. It shows Not sure about the first error referencing Get-AppxPackage though. Are the changes not applying as expected? If so, what changes specifically are not working? |
Some changes are definitely implemented but I don't know what's missing. I can't tell what the " ((Get-AppxPackage -Name "Microsoft.DesktopAppInstaller") " line is applying to, to know if I'm missing anything. Can you add a command line option to suppress the "The operation completed successfully" messages? I think I remember that in powershell it's possible to pipe the output of a command to null to suppress messages. are you familiar with that? Do you have any thoughts on the error line that reads "[Exception calling "SetBufferContents" with "2" argument(s): "The method or operation is not implemented."". That seems like a powerhell version problem to me but I'm not able to change the powershell version of my WDS servers. They are all running Server 2019, and have PS version 5.1.26100.1 Lastly, unrelated to the error message but it seems the -RunDefaults command line parameter may be also including the -ClearStartAllUsers or -ClearStart options. is there a way to prevent this? |
This line is trying to check if Winget is installed.
I suppose this is possible. I'll have to look into this, as this message is useful to ensure the registry operation completed correctly.
I think you're right, not sure what can be done to fix this though. Windows Server is a whole different beast, a lot of components are not installed by default or are running an older stable version.
That's strange, I double-checked the code and this definitely isn't the case. What's the issue you're running into? |
During a MDT deployment,k to a newly imaged computer i get multiple errors. The error items below are from the BDD.log file. I end up with these errors when the script is run with the following commandline option, -RunDefaults -Sysprep -Silent
The last error which references the line "+ reg import "$PSScriptRoot\Regfiles$path"" repeats multiple times.
The text was updated successfully, but these errors were encountered: