Litetouch deployment failed

Anonymous
2020-11-09T22:40:20.27+00:00

![38581-e3f4531b-a7fa-4484-8721-528065ad011e.jpeg][1] [1]: /api/attachments/38581-e3f4531b-a7fa-4484-8721-528065ad011e.jpeg?platform=QnA I get above error everytime when I add a PowerShell script to delete default apps. I am making the litetouch in MDT and add it inside WDS. Can someone help me with this issue?

Microsoft Deployment Toolkit
Microsoft Deployment Toolkit
A collection of Microsoft tools and documentation for automating desktop and server deployment. Previously known as Microsoft Solution Accelerator for Business Desktop Deployment (BDD).
892 questions
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,942 questions
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
975 questions
0 comments No comments
{count} votes

Accepted answer
  1. Gary Blok 1,736 Reputation points
    2020-11-12T21:01:38.077+00:00

    Try changing your command line to this: (perhaps powershell.exe isn't in your path variable?)
    %windir%\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy ByPass "%SCRIPTROOT%\RemoveApps.ps1"

    Also, check your boot image, if this is running in WinPE, make sure you've enable PowerShell in your Boot Image. Perhaps the "File not found" is referring to your PowerShell.exe

    1 person found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. ravi kiran 1 Reputation point
    2020-11-12T15:30:15.143+00:00

    Hi
    Thank you for posting
    please check the OS SDK version

    0 comments No comments

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.