ChrisTitusTech / website

My HUGO Website that I use for Videos, Blogs, and Redirects
75 stars 44 forks source link

debloat-windows-10-2020/ #13

Open utterances-bot opened 1 year ago

utterances-bot commented 1 year ago

Debloat Windows in 2022

Having Fun with Technology

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

popete commented 1 year ago

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?

xy1611 commented 1 year ago

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 commented 1 year ago

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

dumbfuckjuic commented 1 year ago

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

xy1611 commented 1 year ago

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: @.***>

LukeTheThorn commented 1 year ago

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

dumbfuckjuic commented 1 year ago

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

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

dumbfuckjuic commented 1 year ago

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

lolzorzbbq commented 1 year ago

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!

ChrisTitusTech commented 1 year ago

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.

BYaoKnight commented 1 year ago

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"

WCL-user commented 1 year ago

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 commented 1 year ago

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.

WCL-user commented 1 year ago

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

ChrisTitusTech commented 1 year ago

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

WCL-user commented 1 year ago

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.

ChrisTitusTech commented 1 year ago

Did you run DISM Restore Health? @WCL-user

WCL-user commented 1 year ago

yes dism disk check and sfc

EvenKr commented 1 year ago

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

Any tip to what I can do to fix this?

Zyk0h commented 1 year ago

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

LagrangeL2 commented 1 year ago

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?

kamisenpai commented 1 year ago

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"

Reiki2022 commented 1 year ago

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!

Rosch94 commented 1 year ago

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

Abysswalker06 commented 1 year ago

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

lalo369 commented 1 year ago

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

error: 0x80070426

tommasobenatti commented 1 year ago

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?

Sowab69 commented 1 year ago

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

zahrd024 commented 1 year ago

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

bryanturner1003 commented 1 year ago

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. bryanturner1003@gmail.com

Adamzkaable commented 1 year ago

Did you manage to fix your issue with Edge? @WCL-user

sysadmin-info commented 1 year ago

What about this one? https://www.howtogeek.com/226308/the-windows-platform-binary-table-why-crapware-can-come-back-after-a-clean-install/ Can your script for debloat do a cleanup from crapware mentioned in this article?

arindam2904 commented 1 year ago

Hey, Chirs your work is amazing but I just got this issue with the debloat. so basically i used that code in my terminal with admin and when i run it basically everything went back to normal like the search bar is back, notification is also appearing and basically the window get back to its base, can you help me please? i would really appreciate that and love you work and sorry my for my english.

Picklehammer commented 1 year ago

My right click menu doesnt work after bootup until I restart explorer.exe. Tried removing Nilesoft shell and reinstalling but no luck, still need to restart explorer to get my right click. Anyone else had this?

baorhieu commented 1 year ago

I just selected "Disable Activity History" by mistake and still don't know how to undo it. Although I tried "Undo Selected Tweaks", it's still the same for my Microsoft Edge. Does anyone has solution for this?

rarestoneflall23 commented 1 year ago

1/ Having an issue after running the script with the search bar coming up- I know I can remove that manually but what am I doing wrong in my selections? 2/Could I suggest the option for allowing windows speech recognition under essential tweaks. And thank you Chris for a wonderful script!

tazofmiami commented 10 months ago

Is there a way to force chocolatey installs. In the org I work at we block winget/windows store?

rusovich1999 commented 10 months ago

hello any solution to block 100% windows autoupdate, any form the updates reenabled, and download win 10 and 11.

Code-X-Rahul commented 9 months ago

hello, just purchased dell g15 laptop with 16gb ram and when I see the ram usage without doing any task , its already using 45% of my storage. I tried ending some task but did not help. I used linux on my old laptop but i do not want to make this dual boot and I will do my development on wsl. so can you please guide me or suggest me some utility of process to solve my issue. I would be very helpful to you if you can solve my issue.

1ucasdev commented 9 months ago

Startup Programs:

In the Task Manager, go to the "Startup" tab. Disable unnecessary or unwanted applications that start with Windows. This can free up memory when you boot your system. Windows Services:

Type services.msc into the Windows search bar and press Enter. Look through the list of services and see if there are any you don't need. Be careful with this, as some services are critical to the functioning of Windows. If unsure about a service, it's best to leave it alone or look it up online. WSL (Windows Subsystem for Linux):

If you have WSL running, it might also consume some memory. Ensure that you shut down any WSL instances when not in use using the command wsl --shutdown. Windows Features:

Some Windows features, like "Tips & Tricks", Cortana, or Windows Search Indexing, can consume memory. Consider disabling features you don't use. For instance, to disable Search Indexing: Press Win + R, type services.msc, and press Enter. Find "Windows Search", right-click, select 'Properties', and change the startup type to 'Disabled'. System Scan:

It's a good idea to run a system-wide malware scan to ensure no malicious software is consuming resources. Windows Defender or other third-party antivirus programs can help with this. Memory Diagnostic:

To ensure there isn't a hardware issue with your RAM, you can run the Windows Memory Diagnostic tool. Type "Windows Memory Diagnostic" in the search bar and follow the prompts. Third-party Tools:

Consider using a third-party tool like RAMMap. This tool provides a more detailed view of how Windows is managing memory. It can help identify which processes or files are occupying RAM. Update Drivers and Windows:

Ensure that all your drivers, especially the chipset and graphics drivers, are up to date. The Dell website or Dell Update application can help with this. Great job! Best wishes to you! Also, ensure that Windows is updated to the latest version.

Clean Install: If you've tried all of the above and are still facing issues, consider performing a clean install of Windows. Sometimes, pre-installed bloatware or misconfigurations from the manufacturer can lead to performance issues. A fresh install can often help. Remember, it's natural for modern operating systems to use a good chunk of available RAM to optimize performance. Unused RAM is, in a sense, wasted RAM, as the OS will use RAM to cache frequently accessed files and data. However, if you're seeing high usage with no evident reason, the steps above should help you identify and address the issue.

rdsalvani commented 9 months ago

Hi Cris, I've been using your tool since last year for Windows 10. Is this still updated up to now? Or Is there a tool for Windows 11 also? Because sometimes if I use this on Win11, the windows security is gone so I had to reinstall it again.

NTheZone commented 8 months ago

I've been running this debloat script multiple times on my current Win10 install. I change (move) the default location of my Desktop to another partitioned drive. Today, it got reset to the C:\Users\ directory

Leowhyx commented 6 months ago

If someone has a problem with Windows, the best choice will be to change to Windows 11 pro. If someone is looking for a good and cheap store with a license, I recommend this post: https://royalcdkeys.com/products/windows-11-pro-retail-cd-key

Tzack358 commented 4 months ago

wan trying to install Visual c++2015 Failed when searching source: winget an unexpected error occurred while executing the command: 0z8a15000f : data required by the source is missing

D4thToMS commented 3 months ago

iwr -useb https://christitus.com/win | iex is now considered "malicious code" :D :D

EdilianoD commented 1 week ago

hi! im sorry, but i not able to enable remote desktop connection, can you help me please? i did try to undo the tweaks, but still can't. Thanks