Code Monkey home page Code Monkey logo

Comments (11)

loadstring1 avatar loadstring1 commented on September 24, 2024

Actually i just made one for you pls review my idea

pull request related to this issue: #56

from win11debloat.

loadstring1 avatar loadstring1 commented on September 24, 2024

and heres the one liner that i just made it works perfectly tested on windows 11 22h2 home edition

(must be ran with admin perms)

irm https://raw.githubusercontent.com/loadstring1/Win11Debloat/master/get.ps1 | iex

from win11debloat.

Abyssal-Fox avatar Abyssal-Fox commented on September 24, 2024

I'm not sure if this one liner could be combined with the RemoveAppsCustom list. But I assuming that it may be possible...

from win11debloat.

Raphire avatar Raphire commented on September 24, 2024

Heya,

This has actually been requested before in issue #39

I'll look into this and your PR this weekend when I have more time :)

from win11debloat.

loadstring1 avatar loadstring1 commented on September 24, 2024

Heya,

This has actually been requested before in issue #39

I'll look into this and your PR this weekend when I have more time :)

thank you my script won't support every each windows version because it uses winget to install git then clones your repo and runs "run.bat" which then starts your debloat script

its not the best but works like i wanted it to work

from win11debloat.

Raphire avatar Raphire commented on September 24, 2024

@loadstring1 Thanks for taking the time to work on Win11Debloat. I have adapted your solution provided in #56 to include support for parameters and, among a few other changes, added a check to ensure WinGet is installed. See: 7e89991

The command to run doesn't look as clean, but it'll do the job and avoids using Invoke-Expression (iex). This article by Microsoft explains why iex should be avoided if possible.

Closing issue as resolved 😎

from win11debloat.

loadstring1 avatar loadstring1 commented on September 24, 2024

@loadstring1 Thanks for taking the time to work on Win11Debloat. I have adapted your solution provided in #56 to include support for parameters and, among a few other changes, added a check to ensure WinGet is installed. See: 7e89991

The command to run doesn't look as clean, but it'll do the job and avoids using Invoke-Expression (iex). This article by Microsoft explains why iex should be avoided if possible.

Closing issue as resolved 😎

thank you for allowing me to contribute to this project

from win11debloat.

ilyesm avatar ilyesm commented on September 24, 2024

We are trying to dpeloy this using our RMM for onboarding automation. How do you suggest we fix cases when winget is not installed? Install Winget followed by running the line?

from win11debloat.

Raphire avatar Raphire commented on September 24, 2024

We are trying to dpeloy this using our RMM for onboarding automation. How do you suggest we fix cases when winget is not installed? Install Winget followed by running the line?

You could alternatively look into one of the other methods to run the script, but I think in your case simply installing WinGet may be the best option

This article has more information about WinGet that may be helpful: https://learn.microsoft.com/en-us/windows/package-manager/winget/

from win11debloat.

loadstring1 avatar loadstring1 commented on September 24, 2024

Winget followed by running the line?

yes here is 1 line of code example from microsoft article that Raphire sent you

this will install winget and i think you need to reboot because for me it didnt work until i rebooted

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Zrzut ekranu 2024-05-22 165426

from win11debloat.

Raphire avatar Raphire commented on September 24, 2024

Winget followed by running the line?

yes here is 1 line of code example from microsoft article that Raphire sent you

this will install winget and i think you need to reboot because for me it didnt work until i rebooted

Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Zrzut ekranu 2024-05-22 165426

The reason why winget is not immediately recognized is because it won't be added to the path variable for the current powershell session. It should work if you start a new powershell session

from win11debloat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.