Skip to content

Commit f8c4f2f

Browse files
authored
Merge pull request #1691 from everton1984/wperf-winget
New wperf installation method via winget with gif demo
2 parents 27c06f8 + ef57be6 commit f8c4f2f

File tree

2 files changed

+42
-2
lines changed

2 files changed

+42
-2
lines changed
578 KB
Loading

content/install-guides/wperf.md

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,46 @@ WindowsPerf consists of a kernel-mode driver and a user-space command-line tool.
3939
You cannot use WindowsPerf on virtual machines, such as cloud instances.
4040
{{% /notice %}}
4141

42+
## Using winget (Recommended)
43+
44+
### Install
45+
46+
You can now install WindowsPerf directly from [winget](https://learn.microsoft.com/en-us/windows/package-manager/). Open an `Administrator` terminal on PowerShell and type
47+
48+
```console
49+
winget install WindowsPerf
50+
```
51+
52+
The output should look like:
53+
54+
```output
55+
Found WindowsPerf [Arm.WindowsPerf] Version 4.3.1.0
56+
This application is licensed to you by its owner.
57+
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
58+
Downloading https://developer.arm.com/-/cdn-downloads/permalink/WindowsPerf/Installer/windowsperf-4.3.1.msi
59+
3.07 MB
60+
Successfully verified installer hash
61+
Starting package install...
62+
Successfully installed
63+
```
64+
65+
![Winget installation video](/install-guides/_images/wperf-winget-installation.gif)
66+
67+
It will install the lastest available WindowsPerf along with the [WPA plugins](/learning-paths/laptops-and-desktops/windowsperf_wpa_plugin/). To check that the installation was done correctly open a new terminal tab or window and follow the instructions under the [verify installation section](/install-guides/wperf/#verify-install)
68+
69+
### Uninstall
70+
If you need to uninstall WindowsPerf, open an `Administrator` terminal on PowerShell and run:
71+
```console
72+
winget uninstall WindowsPerf
73+
```
74+
75+
The output from a successfull uninstallation will look like:
76+
```output
77+
Found WindowsPerf [Arm.WindowsPerf]
78+
Starting package uninstall...
79+
Successfully uninstalled
80+
```
81+
4282
## Visual Studio and the Windows Driver Kit (WDK)
4383

4484
WindowsPerf relies on `dll` files installed with Visual Studio, from the Community Edition or higher and, optionally, installers from the Windows Driver Kit extension.
@@ -86,7 +126,7 @@ Make sure you are in the `windowsperf-bin-<version>` directory:
86126
cd windowsperf-bin-4.0.0
87127
```
88128

89-
### Install with wperf-devgen {#devgen_install}
129+
### Install with wperf-devgen
90130

91131
Navigate to the `wperf-driver` folder and run the installer:
92132

@@ -103,7 +143,7 @@ Install requested.
103143
Device installed successfully
104144
```
105145

106-
## Verify install
146+
## Verify install
107147

108148
You can check everything is working by running the `wperf` executable.
109149

0 commit comments

Comments
 (0)