Home > Common Problem > Windows 11 default apps apparently take up more than 1.5GB of disk space

Windows 11 default apps apparently take up more than 1.5GB of disk space

PHPz
Release: 2023-05-15 22:04:04
forward
1751 people have browsed it
Windows 11 默认应用显然占用了超过 1.5GB 的磁盘空间

Like many different operating systems, among other products, Microsoft also provides a bunch of default apps for its Windows 11, Windows 10, and more. While some users of these apps find them helpful, others may find them more like bloatware.

If you fall into the second category of users, then you may often wonder how much disk storage space these applications take up.

Using the superpowers provided by PowerShell, this site was able to calculate the reported size of the default Windows 11 application, as shown in the image below. The applications have been sorted in descending order by size in bytes, which means Microsoft Teams is the largest one as it apparently consumes 91MB.

Windows 11 默认应用显然占用了超过 1.5GB 的磁盘空间

Seeing that some of the listed apps, like the Microsoft Store Purchase app, only took up 11kB of space, we did some more digging. It was found to have two separate folders and the total size of the application is actually around 37MB, as shown in the "Sum" portion of the image below. This is nearly a 3500x increase from 11kB.

Windows 11 默认应用显然占用了超过 1.5GB 的磁盘空间

This exercise was conducted against all default Windows 11 applications, which total approximately 1.6GB in size.

Windows 11 默认应用显然占用了超过 1.5GB 的磁盘空间

While this isn’t a lot of disk space for those who use the Windows 11 apps provided by default, it will be useful for those who rarely or never use these apps. Other users may want to delete and "erase" their Windows 11 installation.

Here's how to view the size of all Windows apps in PowerShell, including the size of default apps and apps downloaded from the Microsoft Store, by using the following script:

Get-AppxProvisionedPackage -online | % {	# Get the main app package location using the manifest	$loc = Split-Path ( [Environment]::ExpandEnvironmentVariables($_.InstallLocation) ) -Parent	If ((Split-Path $loc -Leaf) -ieq 'AppxMetadata') {		$loc = Split-Path $loc -Parent	}	# Get a pattern for finding related folders	$matching = Join-Path -Path (Split-Path $loc -Parent) -ChildPath "$($_.DisplayName)*"	$size = (Get-ChildItem $matching -Recurse -ErrorAction Ignore | Measure-Object -Property Length -Sum).Sum	# Add the results to the output	$_ | Add-Member -NotePropertyName Size -NotePropertyValue $size	$_ | Add-Member -NotePropertyName InstallFolder -NotePropertyValue $loc	$_} | Select DisplayName, PackageName, Version, InstallFolder, Size
Copy after login

However," The WindowsApps folder is usually hidden by default, so be sure to unhide it first.

The above is the detailed content of Windows 11 default apps apparently take up more than 1.5GB of disk space. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yundongfang.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template