FriendsOfMDT / PSD

PowerShell Deployment
MIT License
526 stars 83 forks source link

Subsequent PowerShell scripts failing #174

Closed Rehpicul closed 2 months ago

Rehpicul commented 2 months ago

It appears that running two PowerShell scripts back-to-back in the Task Sequence without a reboot will result in an exit code 3221225477 which can be found in the smsts.log. That appears to be some sort of access violation. If a reboot is added to the Task Sequence another PowerShell script can be ran successfully. I was able to replicate on demand. It appears that the PSDPowerShell.ps1 script is never started based on the PSDPowerShell log files.

Rehpicul commented 2 months ago

It was a .net issue that I believe was related to some software that was installed.