Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

SysPrep Script causes errors in MDT #240

Closed
hessercan opened this issue Apr 15, 2020 · 1 comment
Closed

SysPrep Script causes errors in MDT #240

hessercan opened this issue Apr 15, 2020 · 1 comment

Comments

@hessercan
Copy link

Stop-Process : Cannot bind parameter 'InputObject'. Cannot convert the "Explorer.exe" value of type "System.String" to type "System.Diagnostics.Process". Line:179, char:19

@Blu3ish
Copy link

Blu3ish commented Jun 4, 2020

Windows10SysprepDebloater.ps1
Line 179 char 19

Stop-Process explorer.exe -Force doesnt work. (check it at powershell)
Without the -name aurgument it tries to stop a PID

Surgested solution: edit it too:

Stop-Process -Name explorer -Force

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants