The Universal Windows Platform (UWP) is the Microsoft application model for building packaged, sandboxed apps that run on the Windows Runtime (WinRT) API surface and install through the Microsoft Store or an app package. Introduced with Windows 10 in 2015, it promised one app across many device families, from desktop PCs to Xbox, HoloLens and the now-retired Windows phones.
Within Windows apps & Store, UWP explains why many built-in apps behave differently from classic programs: they live in a protected WindowsApps folder, run inside an app container, suspend when minimized and declare their permissions in a manifest. Microsoft still supports UWP, but new feature work has moved to the Windows App SDK and WinUI 3, so the platform is best described as mature and maintained rather than expanding.
How the UWP app model works
A UWP app is defined by three building blocks: the Windows Runtime APIs it calls, the package manifest that describes its identity and capabilities, and the app container that isolates it at run time. Every UWP app has a package identity, which Windows uses to manage installation, updates, settings storage and clean removal.
The Windows Runtime is a language-neutral, object-oriented API layer described by metadata files with the .winmd extension. Through language projections, the same API appears natively in C#, C++/WinRT, Visual Basic and JavaScript. Calls that could take noticeable time are exposed as asynchronous operations, which keeps the user interface responsive.
The table below summarizes the core components and the role each one plays.
| Component | What it does | Where it appears |
|---|---|---|
| Windows Runtime (WinRT) | Provides system APIs to many languages | Windows.* namespaces |
| Package manifest | Declares identity, entry points and capabilities | Package.appxmanifest |
| App container | Restricts file, network and device access | Low-integrity sandbox at run time |
| App package | Bundles code, assets and signature | .appx, .msix or bundle files |
| XAML UI framework | Renders controls and layouts | Windows.UI.Xaml namespace |
Sandboxing, capabilities and the app lifecycle
UWP security rests on capability-based access. An app may reach the camera, microphone, location, removable storage or the local network only if its manifest declares the matching capability, and sensitive resources additionally trigger a user consent prompt. Files outside the app’s own data folders are reachable mainly through file pickers, which grant access to what the user explicitly selects.
The process lifecycle is managed by Windows rather than by the app. A UWP app moves between running, suspended and terminated states; when minimized it is usually suspended within seconds, and under memory pressure the system may terminate it. Developers must save state on suspension and restore it on launch, otherwise users lose unsaved work.
The following table lists the lifecycle states and what an app is expected to do in each.
| State | Trigger | Expected app behavior |
|---|---|---|
| Running | Launch or activation | Normal processing and UI updates |
| Suspended | Minimized or switched away | Save state quickly, release resources |
| Terminated | Memory pressure or system shutdown | Restore saved state on next launch |
| Background task | Trigger such as timer or push notification | Short, limited work under quotas |
UWP compared with Win32 apps and the Windows App SDK
UWP is one of several Windows app models, and the differences explain most compatibility questions. A classic Win32 app has full access to the user’s files and registry and controls its own lifecycle, while UWP trades that freedom for isolation, clean uninstall and predictable updates. The Windows App SDK with WinUI 3 brings modern controls and many WinRT APIs to desktop apps without the app container.
The comparison below covers the attributes administrators and developers most often weigh.
| Attribute | UWP | Win32 desktop | Windows App SDK |
|---|---|---|---|
| Isolation | App container by default | Full user privileges | Full trust by default |
| Packaging | Always packaged | Installer, MSI or MSIX | Packaged or unpackaged |
| UI framework | UWP XAML (WinUI 2) | Win32, WPF or Windows Forms | WinUI 3 |
| Lifecycle | Managed by Windows | Managed by the app | Managed by the app |
| Device families | Desktop, Xbox, HoloLens | Desktop only | Desktop only |
| Development status | Maintained, few new features | Fully supported | Actively developed |
Packaging formats evolved alongside the model. Early UWP apps shipped as AppX packages; the newer MSIX format extends the same structure to desktop apps, so MSIX and AppX are packaging formats, whereas UWP is an application model and API platform.
Where UWP apps appear in Windows today
Many inbox and Store apps were originally built on UWP, including earlier versions of Calculator, Photos, Mail and Calendar, and Settings itself relies on UWP technology. Several of these apps have since been rewritten with the Windows App SDK, so the underlying model of a given built-in app can change between releases.
UWP apps are installed per user into the hidden WindowsApps folder under Program Files, which is protected by restrictive permissions. They are listed under Installed apps in Settings, can be launched from the command line through app execution aliases, and can be sideloaded by double-clicking a package through App Installer when sideloading is permitted. On Xbox, UWP remains the main route for consumer apps.
The decision table below shows when UWP is still a sensible choice.
| Situation | Recommended model | Reason |
|---|---|---|
| Existing UWP codebase | Keep UWP, migrate gradually | Supported and stable |
| Xbox or HoloLens target | UWP | Only broadly supported model there |
| New desktop app | Windows App SDK | Active investment and full trust |
| Strict isolation required | UWP or MSIX with AppContainer | Sandbox limits damage |
| Legacy device drivers or hooks | Win32 | Needs unrestricted system access |
Limitations and common misconceptions
The sandbox that protects users also frustrates many desktop scenarios. Broad file system access requires a restricted capability that the Store reviews carefully, background execution is limited by quotas, and interprocess communication with ordinary programs needs workarounds such as app services or full-trust companions.
- UWP is not the same as the Microsoft Store: the Store now accepts Win32, MSIX and even web apps.
- UWP is not deprecated: Microsoft fixes bugs and security issues, but new controls ship in WinUI 3.
- Deleting the WindowsApps folder breaks apps: removal belongs in Settings or
Remove-AppxPackage. - A suspended app is not frozen by a bug: suspension is normal behavior that saves battery and memory.
- Windows 10 S and Windows 11 in S mode restrict installation to Store apps, not specifically to UWP apps.
The simple explanation
Think of the Universal Windows Platform as a set of building rules for apps. An app built by these rules lives in its own sealed room. It can use only what it asked for in advance, such as the camera or your pictures. Windows asks you before granting anything sensitive.
Such apps install and uninstall cleanly. They update through the Store and pause when you are not using them. The main takeaway is simple. UWP apps are safer and tidier but more restricted than traditional Windows programs. That is why many newer apps use a more flexible approach.
How it is used in practice
A school IT administrator manages 400 shared laptops and wants students to use a note-taking app without being able to alter system files. The administrator chooses a UWP app distributed as a signed package through the organization’s device management tool.
Because the app runs in an app container, it can save notes only in its own data folder and access cloud storage that the student signs into, while it has no access to other users’ profiles or system settings. When a newer version is published, the device management service updates the package silently, and removing it later leaves no leftover registry entries or files.
The result is a predictable, low-maintenance deployment: help-desk tickets about broken installations drop, and a compromised note file cannot spread beyond the app’s sandbox.