Skip to content

Automating the batch file with parameters #221

Answered by Raphire
JamesAlfonse asked this question in Q&A
Discussion options

You must be logged in to vote

Heya,

Launching the script with arguments via a batch file is a bit cumbersome. The only reason I still include the batch file is because it's the only way to provide a '1-click' way to launch the script, without having to manually execute a few commands.

Instead, you should be able to do accomplish this using the instructions in the other discussion you already mentioned.

The only change you want to make is during this step:

Here you need to replace the argument setting with: (Change path to the location you downloaded/moved the script folder to)

"YOURPATHHERE/Win11Debloat.ps1" -Silent -RemoveApps

Let me know if it works for ya!

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@JamesAlfonse
Comment options

@JamesAlfonse
Comment options

Answer selected by JamesAlfonse
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants