website icon indicating copy to clipboard operation
website copied to clipboard

debloat-windows-10-2020/

Open utterances-bot opened this issue 3 years ago • 49 comments

Debloat Windows in 2022

Having Fun with Technology

https://christitus.com/debloat-windows-10-2020/

utterances-bot avatar Jul 12 '22 07:07 utterances-bot

I want to run this on all my systems at home and work. However, it breaks sysprep.exe. This is a dealbreaker for by virtual systems (where I need debloating most of all) and systems I prepare for a charity where I need the Out of Box Experience. Any idea what part of the script in messing up sysprep?

popete avatar Jul 18 '22 20:07 popete

I dont know why i cant open the copied command in my powershell everytime i paste it , it will close immediately. Anyone can help me?

xy1611 avatar Aug 18 '22 20:08 xy1611

SOMEONE HELP ME WITH THIS PLEASE?

PS C:\Users\Admin> iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JTbKD')) Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (404) Not Found." At line:1 char:1

  • iex ((New-Object System.Net.WebClient).DownloadString('https://git.io ...
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : WebException
    

xy1611 avatar Aug 18 '22 21:08 xy1611

Run %WINDIR%\system32\sysprep\sysprep.exe andd select out of the boss experience @xy1611

dumbfuckjuic avatar Aug 19 '22 03:08 dumbfuckjuic

You mean this?

[image: image.png]

On Fri, Aug 19, 2022 at 11:49 AM dumbfuckjuic @.***> wrote:

Run %WINDIR%\system32\sysprep\sysprep.exe andd select out of the boss experience @xy1611 https://github.com/xy1611

— Reply to this email directly, view it on GitHub https://github.com/ChrisTitusTech/website/issues/13#issuecomment-1220218997, or unsubscribe https://github.com/notifications/unsubscribe-auth/A2S6Z7JZJIR6JHYNDUJGD2LVZ375BANCNFSM53KABLNA . You are receiving this because you were mentioned.Message ID: @.***>

xy1611 avatar Aug 19 '22 07:08 xy1611

How do I enable my wifi again? I have no wifi icon, no wlan service on the "Services" section and can't make wireless adapters work on my machine I have debloated

LukeTheThorn avatar Aug 25 '22 14:08 LukeTheThorn

@xy1611 there is new link dont forget to open powershell admin

iwr -useb https://christitus.com/win | iex

dumbfuckjuic avatar Aug 26 '22 06:08 dumbfuckjuic

@popete Run %WINDIR%\system32\sysprep\sysprep.exe andd select out of the boss experience

dumbfuckjuic avatar Aug 26 '22 06:08 dumbfuckjuic

You know I was wondering if it's possible to brick your laptop with this script.

I ran it on my laptop after a fresh install, and I may have accidentally used the DESKTOP configuration. Which I think deleted the Battery charging drivers or something, and while I was doing the restore my battery DIED. Now it doesn't turn on anymore. Even while plugged in.

Now it may just be a faulty charger, but I am wondering if it's possible for this script to have been the cause If so watch out!

lolzorzbbq avatar Sep 19 '22 18:09 lolzorzbbq

You know I was wondering if it's possible to brick your laptop with this script.

I ran it on my laptop after a fresh install, and I may have accidentally used the DESKTOP configuration. Which I think deleted the Battery charging drivers or something, and while I was doing the restore my battery DIED. Now it doesn't turn on anymore. Even while plugged in.

Now it may just be a faulty charger, but I am wondering if it's possible for this script to have been the cause If so watch out!

I'm looking at fixing the battery charging notification in the next update. However, this will not kill your laptop. Most laptops you just need to keep it plugged in for about 30 minutes when you completely run your battery to 0%. Some laptops even have key combinations to reset the battery on power on. Again, this is all hardware related.

ChrisTitusTech avatar Sep 20 '22 14:09 ChrisTitusTech

Hey, there seems to be an issue trying to install LibreOffice. Even if the box is checked, after clicking "start install", it won't install it ; either if check alongside other program's boxes, it will install the other programs ; or if checked alone, I get a Windows' notification window telling "please select the program(s) to install"

BYaoKnight avatar Sep 22 '22 14:09 BYaoKnight

I used this to remove Edge, but it worked a little to well, how do I undo this tweak? I've already run undo all tweaks, tried to reinstall, remove the registry entry.

WCL-user avatar Oct 22 '22 14:10 WCL-user

Only way is to repair system files.

A full SFC and DISM Restore health should do it. Its under the 3rd tab.

I used this to remove Edge, but it worked a little to well, how do I undo this tweak? I've already run undo all tweaks, tried to reinstall, remove the registry entry.

ChrisTitusTech avatar Oct 22 '22 17:10 ChrisTitusTech

ran that no issues found, then refreshed windows, thought that might do it, edge still wont open

WCL-user avatar Oct 23 '22 14:10 WCL-user

update to 22H2... I'm having issues getting rid of edge on the latest feature update.

ran that no issues found, then refreshed windows, thought that might do it, edge still wont open

ChrisTitusTech avatar Oct 23 '22 15:10 ChrisTitusTech

I was already running 22H2, so I rolled back, then re-updated thought that might get it, ran the disk checker again. Edge looks like it's there but everytime I try to run it no matter how nothing happens. I also check the event viewer but there doesn't seem to be anything about it failing to start there.

WCL-user avatar Oct 24 '22 21:10 WCL-user

Did you run DISM Restore Health? @WCL-user

ChrisTitusTech avatar Oct 24 '22 22:10 ChrisTitusTech

yes dism disk check and sfc

WCL-user avatar Oct 24 '22 23:10 WCL-user

Hi Chris. I am looking eagerly to make my laptop perform like it did when it was younger, so I decided to try you script, but that was no luck for me. When running the script I got a prompt reply:

Exception calling "DownloadString" with "1" argument(s): "The remote server returned an error: (404) Not Found." At line:1 char:1

  • iex ((New-Object System.Net.WebClient).DownloadString('https://git.io ...
  •   + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
      + FullyQualifiedErrorId : WebException
    
    

Any tip to what I can do to fix this?

EvenKr avatar Oct 25 '22 19:10 EvenKr

hi I use edge, and I find it very useful to autofill the urls, how can I activate it back?

Zyk0h avatar Nov 19 '22 07:11 Zyk0h

Running the tweaks as a result of seeing the script being used on TikTok@ckenthusiast.

When I clicked on the "add ultimate performance profile", for example, I expected the button to remain highlighted to show it had been selected/clicked. Same goes for the desktop/laptop/minimal buttons at the top. Can the GUI be changed to show which buttons have been clicked?

LagrangeL2 avatar Nov 20 '22 14:11 LagrangeL2

Hello. I tried installing "Shell (Expanded context menu)" and Bitdefender is detecting it as a suspicious activity. Is this a false positive? More exactly "Heur.BZC.ZFV.Boxter.341.170B3489"

kamisenpai avatar Dec 01 '22 17:12 kamisenpai

I am so glad I ran into your tool. I love learning! Thank you for a valuable tool!

P.S. Before I found your tool, I had already deleted cortana and xbox (inclulding the bar) from my laptop via Powershell. It's so frustrating these companies install unwanted programs on our devices!

Reiki2022 avatar Dec 02 '22 01:12 Reiki2022

only for me or for someone else also the search function by pressing the window button is not working anymore?

Rosch94 avatar Dec 05 '22 18:12 Rosch94

Hello Chris , I tried running the powershell script but Its showing an error stating unable to connect to remote server.

Full output : iwr : Unable to connect to the remote server At line:1 char:1

  • iwr -useb https://christitus.com/win | iex
  •   + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
     eption
      + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestComman
    

Abysswalker06 avatar Dec 24 '22 13:12 Abysswalker06

i have a problem with microsoft store can't run it: what can i do

error: 0x80070426

lalo369 avatar Jan 15 '23 21:01 lalo369

Hi, I've just ran the suggested optimization for a laptop, the only thing, I want the MS Mail app to work on background, I've tried to re enable background apps on OOShutup, but still i can't receive mail while the app is closed.

Anyone knows how to fix?

tommasobenatti avatar Jan 23 '23 21:01 tommasobenatti

I disabled chortana by mistake. I need the search bar. The undo tweak is not working . There was a enable chortana tweak before. can anyone help me

Sowab69 avatar Feb 09 '23 14:02 Sowab69

Facing the same issue, can anyone help me with restoring Cortana? Windows Search not finding my apps is driving me mad.

xaineth avatar Feb 18 '23 14:02 xaineth

Chris Love your Work , but Im now getting the following with your win 10 script.

iex : At line:3835 char:5 + class WingetFailedInstall : Exception { + ~~~~~ Class keyword is not allowed in ConstrainedLanguage mode. At line:3835 char:11 + class WingetFailedInstall : Exception { + ~~~~~~~~~~~~~~~~~~~ Unexpected token 'WingetFailedInstall' in expression or statement. At line:3841 char:5 + class ChocoFailedInstall : Exception { + ~~~~~ Class keyword is not allowed in ConstrainedLanguage mode. At line:3841 char:11 + class ChocoFailedInstall : Exception { + ~~~~~~~~~~~~~~~~~~ Unexpected token 'ChocoFailedInstall' in expression or statement. At line:3847 char:5 + class GenericException : Exception { + ~~~~~ Class keyword is not allowed in ConstrainedLanguage mode. At line:3847 char:11 + class GenericException : Exception { + ~~~~~~~~~~~~~~~~ Unexpected token 'GenericException' in expression or statement. At line:1 char:40 + iwr -useb https://christitus.com/win | iex + ~~~ + CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException + FullyQualifiedErrorId : ClassesNotAllowedInConstrainedLanguage,Microsoft.PowerShell.Commands.InvokeExpressionCom mand PS C:\Windows\system32> iwr -useb https://christitus.com/win | iex iex : At line:3835 char:5 + class WingetFailedInstall : Exception { + ~~~~~ Class keyword is not allowed in ConstrainedLanguage mode. At line:3835 char:11 + class WingetFailedInstall : Exception { + ~~~~~~~~~~~~~~~~~~~ Unexpected token 'WingetFailedInstall' in expression or statement. At line:3841 char:5 + class ChocoFailedInstall : Exception { + ~~~~~ Class keyword is not allowed in ConstrainedLanguage mode. At line:3841 char:11 + class ChocoFailedInstall : Exception { + ~~~~~~~~~~~~~~~~~~ Unexpected token 'ChocoFailedInstall' in expression or statement. At line:3847 char:5 + class GenericException : Exception { + ~~~~~ Class keyword is not allowed in ConstrainedLanguage mode. At line:3847 char:11 + class GenericException : Exception { + ~~~~~~~~~~~~~~~~ Unexpected token 'GenericException' in expression or statement. At line:1 char:40 + iwr -useb https://christitus.com/win | iex + ~~~ + CategoryInfo : ParserError: (:) [Invoke-Expression], ParseException + FullyQualifiedErrorId : ClassesNotAllowedInConstrainedLanguage,Microsoft.PowerShell.Commands.InvokeExpressionCom mand PS C:\Windows\system32> iex ((New-Object System.Net.WebClient).DownloadString('https://git.io/JJ8R4')) Error reading or writing history file 'C:\Users\fredd\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt': Access to the path is denied. umNew-Object : Cannot create type. Only core types are supported in this language mode. At line:1 char:7 + iex ((New-Object System.Net.WebClient).DownloadString('https://git.io ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : PermissionDenied: (:) [New-Object], PSNotSupportedException + FullyQualifiedErrorId : CannotCreateTypeConstrainedLanguage,Microsoft.PowerShell.Commands.NewObjectCommand

3 days prior your script worked but no go now any Ideas

Thanks Bryan. [email protected]

bryanturner1003 avatar Mar 22 '23 02:03 bryanturner1003