Skip to content

Instantly share code, notes, and snippets.

View tiagoshibata's full-sized avatar

tiagoshibata

  • Microsoft
  • Redmond, WA
View GitHub Profile
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch
@mrik23
mrik23 / Windows10-Unbloating-v1.ps1
Created December 27, 2017 12:52
PowerShell script to remove bloatware shipped in Windows 10 and disabled unwanted features. Tested on version 1709.
# Windows 10 Unbloating
# Inspired by:
# https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/remove-default-apps.ps1
# https://github.com/Disassembler0/Win10-Initial-Setup-Script/blob/master/Win10.ps1
# Uninstall default Microsoft applications
$MsftBloatApps = @(
"Microsoft.3DBuilder"
"Microsoft.BingFinance"
"Microsoft.BingNews"