Самописаные скрипты
Список самописных скриптов
для удаления предустановленных приложений из windows store ускоряет работу Компьютера
delete_metro_all.cmd ( удаления всех приложений кроме магазина )
rem powershell "Get-AppxPackage -allusers Microsoft.Windows.Photos | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register '$($_.InstallLocation)\AppXManifest.xml'}"
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHC" /v "PreviousUninstall" /t REG_DWORD /f /d 1
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealthCheck" /v "installed" /t REG_DWORD /f /d 1
powershell "$(Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq 'Перев?рка стану ПК у Windows'}).Uninstall()"
powershell "$(Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "Microsoft Update Health Tools"}).Uninstall()"
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
Get-AppXPackage *Photos* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}
powershell "Get-AppxProvisionedPackage -Online | Remove-AppxProvisionedPackage -Online"
powershell "Get-AppXPackage | Remove-AppxPackage"
delete_metro.cmd ( удаления определеного пула приложений )
@echo off
rem start /MIN start /MIN powershell "Enable-WindowsOptionalFeature -FeatureName NetFx3 -All -Online"
rem IF not EXIST "%windir%\System32\calc1.exe" (
rem start /MIN "OldCalculator" "%~dp0\OldCalculator.exe" /S
rem )
rem MailCalendar
rem start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.windowscommunicationsapps' | Remove-AppxPackage -AllUsers "
rem Calculator
rem start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.WindowsCalculator' | Remove-AppxPackage -AllUsers "
rem Camera
rem start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.WindowsCamera' | Remove-AppxPackage -AllUsers "
echo delete metro apps
echo [1/23] Microsoft.549981C3F5F10
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.549981C3F5F10' | Remove-AppxPackage -AllUsers "
echo [2/23] Microsoft.BingWeather
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.BingWeather' | Remove-AppxPackage -AllUsers "
echo [3/23] Microsoft.DesktopAppInstaller
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.DesktopAppInstaller' | Remove-AppxPackage -AllUsers "
echo [4/23] Microsoft.GetHelp
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.GetHelp' | Remove-AppxPackage -AllUsers "
echo [5/23] Microsoft.Getstarted
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.Getstarted' | Remove-AppxPackage -AllUsers "
echo [6/23] Microsoft.Microsoft3DViewer
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.Microsoft3DViewer' | Remove-AppxPackage -AllUsers "
echo [7/23] Microsoft.MicrosoftOfficeHub
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.MicrosoftOfficeHub' | Remove-AppxPackage -AllUsers "
echo [8/23] Microsoft.MicrosoftSolitaireCollection
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.MicrosoftSolitaireCollection' | Remove-AppxPackage -AllUsers "
echo [9/23] Microsoft.MicrosoftStickyNotes
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.MicrosoftStickyNotes' | Remove-AppxPackage -AllUsers "
echo [10/23] Microsoft.MixedReality.Portal
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.MixedReality.Portal' | Remove-AppxPackage -AllUsers "
echo [11/23] Microsoft.MSPaint
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.MSPaint' | Remove-AppxPackage -AllUsers "
echo [12/23] Microsoft.Office.OneNote
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.Office.OneNote' | Remove-AppxPackage -AllUsers "
echo [13/23] Microsoft.People
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.People' | Remove-AppxPackage -AllUsers "
echo [14/23] Microsoft.ScreenSketch
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.ScreenSketch' | Remove-AppxPackage -AllUsers "
echo [15/23] Microsoft.SkypeApp
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.SkypeApp' | Remove-AppxPackage -AllUsers "
echo [16/23] Microsoft.Wallet
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.Wallet' | Remove-AppxPackage -AllUsers "
echo [17/23] Microsoft.WindowsAlarms
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.WindowsAlarms' | Remove-AppxPackage -AllUsers "
echo [18/23] Microsoft.WindowsFeedbackHub
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.WindowsFeedbackHub' | Remove-AppxPackage -AllUsers "
echo [19/23] Microsoft.WindowsMaps
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.WindowsMaps' | Remove-AppxPackage -AllUsers "
echo [20/23] Microsoft.WindowsSoundRecorder
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.WindowsSoundRecorder' | Remove-AppxPackage -AllUsers "
echo [21/23] Microsoft.Xbox*
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.Xbox*' | Remove-AppxPackage -AllUsers "
echo [22/23] Microsoft.Zune*
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.Zune*' | Remove-AppxPackage -AllUsers "
echo [23/23] Microsoft.YourPhone
start /MIN powershell "Get-AppxPackage -AllUsers -PackageTypeFilter Bundle -Name 'Microsoft.YourPhone' | Remove-AppxPackage -AllUsers "
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHC" /v "PreviousUninstall" /t REG_DWORD /f /d 1
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealthCheck" /v "installed" /t REG_DWORD /f /d 1
rem start /MIN powershell "$(Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq 'Перев?рка стану ПК у Windows'}).Uninstall()"
start /MIN powershell "$(Get-WmiObject -Class Win32_Product | Where-Object{$_.Name -eq "Microsoft Update Health Tools"}).Uninstall()"
Список скриптов PowerShell
Активация Windows / Office
- Открываем PowerShell под Администратором; (Win+X)
- Вставляем туда
irm https://get.activated.win | iex
Chris Titus Tech's Windows Utility (Настройка windows)
- Открываем PowerShell под Администратором; (Win+X)
- Вставляем туда
irm "https://christitus.com/win" | iex