Skip to content

Commit 07d3716

Browse files
authored
Merge pull request #3775 from Jay-o-Way/docs
Update PowerToys pages
2 parents ecd3a35 + 767fdab commit 07d3716

17 files changed

+525
-494
lines changed
1.23 MB
Loading

hub/powertoys/administrator.md

Lines changed: 27 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,54 +1,40 @@
11
---
22
title: PowerToys administrator mode for Windows
3-
description: For PowerToys to work with an app running in elevated admin mode, PowerToys must be run in administrator mode as well.
4-
ms.date: 05/28/2021
3+
description: For PowerToys to work with an app running in elevated admin mode, PowerToys must be running in administrator mode as well.
4+
ms.date: 04/27/2022
55
ms.topic: article
66
ms.localizationpriority: medium
77
no-loc: [PowerToys, Windows, FancyZones, Fancy, Zone, Zones]
88
---
99

10-
# PowerToys running with administrator elevated permissions
10+
# PowerToys running with administrator permissions
1111

1212
If you're running any application as an administrator (also referred to as elevated permissions), PowerToys may not work correctly when the elevated applications are in focus or trying to interact with a PowerToys feature like FancyZones. This can be addressed by also running PowerToys as an administrator.
1313

14+
1415
## Options
1516

1617
There are two options for PowerToys to support applications running as administrator (with elevated permissions):
1718

18-
- **[Recommended]**: PowerToys will display a prompt when an elevated process is detected. Open PowerToys Settings. Inside the General page, select <kbd>Restart as administrator</kbd>.
19-
- Enable **Always run as administrator** in the PowerToys Settings.
20-
21-
## Run as administrator elevated processes explained
22-
23-
Windows applications run in _User mode_ by default. To run an application in _Administrative mode_ or as an _elevated process_ means that app will run with additional access to the operating system.
24-
25-
The simplest way to run an app or program in administrative mode is to right-click the program and select <kbd>Run as administrator</kbd>. If the current user is not an administrator, Windows will ask for the administrator username and password.
26-
27-
Most apps do not need to run with elevated permission. A common scenario, however, for requiring administrator permission would be to run certain PowerShell commands or edit the registry.
28-
29-
If you see this User Account Control prompt, the application is requesting administrator level elevated permission:
19+
1. **Recommended**: PowerToys will display a prompt when an elevated process is detected. Open PowerToys Settings. Inside the General page, select <kbd>Restart as administrator</kbd>.
20+
2. Enable **Always run as administrator** in the PowerToys Settings.
3021

31-
![Windows elevated permission prompt screenshot](../images/pt-admin-prompt.png)
32-
33-
In the case of an elevated command line, typically the text "Administrator" will be included in the title bar.
34-
35-
![Windows admin command line screenshot](../images/pt-admin-terminal.png)
3622

3723
## Support for admin mode with PowerToys
3824

3925
PowerToys only needs elevated administrator permission when interacting with other applications that are running in administrator mode. If those applications are in focus, PowerToys may not function unless it is elevated as well.
4026

41-
These are the two scenarios we will not work in:
27+
These are the two scenarios PowerToys will not work in:
4228

4329
- Intercepting certain types of keyboard strokes
44-
- Resizing / Moving windows
30+
- Resizing / moving windows
4531

4632
### Affected PowerToys utilities
4733

4834
Admin mode permissions may be required in the following scenarios:
4935

5036
- FancyZones
51-
- Snapping an elevated window (e.g. command prompt) into a Fancy Zone
37+
- Snapping an elevated window (e.g. Task Manager) into a Fancy Zone
5238
- Moving the elevated window to a different zone
5339
- Shortcut guide
5440
- Display shortcut
@@ -58,3 +44,21 @@ Admin mode permissions may be required in the following scenarios:
5844
- App-targeted shortcuts remapping
5945
- PowerToys Run
6046
- Display shortcut
47+
48+
49+
## Run as administrator: elevated processes explained
50+
51+
Windows applications run in _User mode_ by default. To run an application in _Administrative mode_ or as an _elevated process_ means that app will run with additional access to the operating system.
52+
53+
The simplest way to run an app or program in administrative mode is to right-click the program and select <kbd>Run as administrator</kbd>. If the current user is not an administrator, Windows will ask for the administrator username and password.
54+
55+
Most apps do not need to run with elevated permission. A common scenario, however, for requiring administrator permission would be to run certain PowerShell commands or edit the registry.
56+
57+
If you see this User Account Control prompt, the application is requesting administrator level elevated permission:
58+
59+
![Windows elevated permission prompt screenshot.](../images/pt-admin-prompt.png)
60+
61+
In the case of an elevated command line, typically the text "Administrator" will be included in the title bar.
62+
63+
![Windows admin command line screenshot.](../images/pt-admin-terminal.png)
64+

hub/powertoys/always-on-top.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
---
22
title: PowerToys Always on Top utility for Windows
3-
description: A system-wide utility for Windows that allows you to pin windows to the top of your screen.
4-
ms.date: 01/06/2021
3+
description: A system-wide utility for Windows that allows you to pin windows to the top of your screen.
4+
ms.date: 04/27/2022
55
ms.topic: article
66
no-loc: [PowerToys, Windows, Always on Top, Win]
77
---
88

99
# Always on Top utility
1010

11-
A system-wide utility for Windows that allows you to pin windows to the top of all your windows.
11+
A system-wide utility for Windows that allows you to pin windows to the top of all your windows.
1212

13-
![ColorPicker](../images/pt-always-on-top.png)
13+
![AlwaysOnTop screenshot.](../images/pt-always-on-top.png)
1414

15-
### Toggle windows to be on top
15+
## Toggle windows to be on top
1616

17-
With the activation / deactivation shortcut (default: <kbd>⊞ Win</kbd>+<kbd>Ctrl</kbd>+<kbd>T</kbd>), the window will be toggled on top.
17+
With the activation / deactivation shortcut (default: <kbd>⊞ Win</kbd>+<kbd>Ctrl</kbd>+<kbd>T</kbd>), the targeted window will be placed above all non-topmost windows and should stay above them, even when the window is deactivated.
1818

19-
## PowerToys settings
19+
## Settings
2020

21-
From the settings menu, the following options can be configured:
21+
From the Settings menu, the following options can be configured:
2222

2323
| Setting | Description |
24-
| --- | --- |
25-
| Activation shortcut | The customizable keyboard command to turn on or off always on top for that window |
26-
| Do not activate when Game Mode is on | Prevents the feature from being activated when actively playing a game on the system |
27-
| Color | The color of the highlight border |
28-
| Border thickness (px)| The thickness of the highlight border - Measured in pixels |
29-
| Play a sound | A small alert chirp is played to make you aware. Activating and deactivating are different so you can tell. |
30-
| Excluded apps | Add the application's name, or part of the name, one per line (e.g. adding `Notepad` will match both `Notepad.exe` and `Notepad++.exe`; to match only `Notepad.exe` add the `.exe` extension) |
24+
| :--- | :--- |
25+
| Activation shortcut | The customizable keyboard command to turn on or off always on top for that window. |
26+
| Do not activate when Game Mode is on | Prevents the feature from being activated when actively playing a game on the system. |
27+
| Color | The custom color of the highlight border. |
28+
| Border thickness (px) | The thickness of the highlight border. Measured in pixels |
29+
| Play a sound | A short alert chirp is played. Activating and deactivating use different sounds. |
30+
| Excluded apps | Add an application's name, or part of the name, one per line. (e.g. adding `Notepad` will match both `Notepad.exe` and `Notepad++.exe`; to match only `Notepad.exe` add the `.exe` extension) |

hub/powertoys/awake.md

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PowerToys Awake utility for Windows
33
description: A tool for a Windows computer to stay awake.
4-
ms.date: 06/28/2021
4+
ms.date: 04/27/2022
55
ms.topic: article
66
ms.localizationpriority: medium
77
---
@@ -10,45 +10,49 @@ ms.localizationpriority: medium
1010

1111
PowerToys Awake is a utility tool for Windows designed to keep a computer awake without having to manage its [power & sleep settings](https://support.microsoft.com/windows/how-to-adjust-power-and-sleep-settings-26f623b5-4fcc-4194-863d-b824e5ea7679). This behavior can be helpful when running time-consuming tasks, ensuring that the computer does not go to sleep or turn off its screens.
1212

13-
## Get started
13+
## Getting started
1414

15-
PowerToys Awake can be used directly from PowerToys settings or as a standalone executable. When the tool is running from PowerToys, it can be managed from PowerToys settings or the system tray.
15+
PowerToys Awake can be used directly from PowerToys Settings or as a standalone executable. When the tool is running from PowerToys, it can be managed from PowerToys Settings or the system tray.
1616

1717
> [!NOTE]
1818
> PowerToys Awake does not modify any of the Windows power plan settings, and does not depend on a custom power plan configuration. Instead, it spawns background threads that tell Windows that they require a specific state of the machine.
1919
20-
## PowerToys settings
2120

22-
<!-- [Jay] GUI text needs to be updated to "PowerToys Awake", then change following text and images accordingly -->
23-
In the PowerToys settings view, start PowerToys Awake by using the **Enable Awake** toggle. Once enabled, the application will manage the awakeness state of the computer.
21+
## Settings
2422

25-
![A screenshot of the Awake settings](../images/pt-awake-settings-menu.png)
23+
In the PowerToys Settings view, start PowerToys Awake by using the **Enable Awake** toggle. Once enabled, the application will manage the awakeness state of the computer.
24+
25+
![A screenshot of the Awake settings.](../images/pt-awake-settings-menu.png)
2626

2727
The following Awake states can be selected:
2828

29-
- **Off (Passive)** - The computer awakeness state is unaffected. The application is waiting for user input.
30-
- **Keep awake indefinitely** - The computer stays awake indefinitely, until the user explicitly puts the machine to sleep or exits/disables the application.
31-
- **Keep awake temporarily** - Keep machine awake for a pre-defined limited time. Once the time elapses, computer resumes its previous awakeness state.
29+
| Setting | Description |
30+
| :-- | :-- |
31+
| Keep using the selected power plan | The computer awakeness state is unaffected. The application is waiting for user input. |
32+
| Keep awake indefinitely | The computer stays awake indefinitely, until you explicitly put the machine to sleep or exits/disables the application. |
33+
| Keep awake temporarily | Keep machine awake for a pre-defined limited time. Once the time elapses, the computer resumes its previous awakeness state. |
3234

3335
> [!NOTE]
3436
> Changing the hours or minutes while the computer is kept awake temporarily will reset the timer.
3537
36-
## Keep screen on
38+
### Keep screen on
3739

3840
While PowerToys Awake can keep the computer awake indefinitely or temporarily, in its default state the displays connected to the machine will turn off, even though the computer won't go to sleep. If you need the displays to be available, use the **Keep screen on** switch, which will ensure that all monitors remain on.
3941

42+
4043
## System tray
4144

4245
To manage the execution of the tool from the system tray, right-click on the PowerToys Awake icon.
4346

44-
![Awake settings managed from the system tray on Windows](../images/pt-awake-tray.gif)
47+
![Awake settings managed from the system tray on Windows.](../images/pt-awake-tray.gif)
48+
4549

4650
## Command Line Interface (CLI)
4751

4852
PowerToys Awake can also be executed as a standalone application, directly from the PowerToys folder. The following command line arguments can be used when running `PowerToys.Awake.exe` from the terminal or via a `.lnk` shortcut file:
4953

5054
| Argument | Description |
51-
|:------------------|:------------|
55+
| :---------------- | :---------- |
5256
| `--use-pt-config` | Use the PowerToys configuration file to manage the settings. This assumes that there is a `settings.json` file for Awake, generated by PowerToys, that contains all required runtime information. This includes the Behavior Mode (indefinite or timed), whether screens should be kept on, and what the values for hours and minutes are for a temporary keep-awake.<br/>When this argument is used, all other arguments are ignored. Awake will look for changes in the `settings.json` file to update its state. |
5357
| `--display-on` | Determines whether the screens should be kept on or off while the machine is kept awake. Expected values are `true` or `false`. |
5458
| `--time-limit` | Duration, in seconds, during which Awake keeps the computer awake. Can be used in combination with `--display-on`. |

hub/powertoys/color-picker.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: PowerToys Color Picker utility for Windows
3-
description: A system-wide color picking utility for Windows that enables you to pick colors from the screen and automatically copies the default value to your clipboard.
4-
ms.date: 05/28/2021
3+
description: A system-wide color picking utility for Windows that enables you to pick colors from the screen and automatically copies the default value to your clipboard.
4+
ms.date: 04/27/2022
55
ms.topic: article
66
ms.localizationpriority: medium
77
no-loc: [PowerToys, Windows, FancyZones, Fancy, Zone, Zones]
@@ -11,22 +11,22 @@ no-loc: [PowerToys, Windows, FancyZones, Fancy, Zone, Zones]
1111

1212
A system-wide color picking utility for Windows that enables you to pick colors from any currently running application and can copy it in a configurable format to your clipboard.
1313

14-
![ColorPicker](../images/pt-colorpicker-hex-editor.png)
14+
![ColorPicker.](../images/pt-colorpicker-hex-editor.png)
1515

1616
## Getting started
1717

1818
### Enable
1919

20-
To start using Color Picker, make sure it is enabled in the PowerToys settings (Color Picker section).
20+
To start using Color Picker, enable it in the PowerToys Settings (Color Picker section).
2121

2222
### Activate
2323

2424
Once enabled, you can choose one of the following three behaviors to be executed when launching Color Picker with the activation shortcut (default: <kbd>Win</kbd>+<kbd>Shift</kbd>+<kbd>C</kbd>).
2525

2626
:::image type="content" source="../images/pt-colorpicker-behaviors.png" alt-text="ColorPicker behaviors.":::
2727

28-
- **Color Picker with editor mode enabled** - Opens Color Picker. After selecting a color, the editor is opened and the selected color is copied to the clipboard (in the default format - configurable in the settings dialog).
29-
- **Editor** - Opens editor directly, from here you can choose a color from the history, fine tune a selected color, or capture a new color with by opening the color picker.
28+
- **Color Picker with editor mode enabled** - Opens Color Picker. After selecting a color, the editor is opened and the selected color is copied to the clipboard (in the default format - configurable in the Settings dialog).
29+
- **Editor** - Opens editor directly, from here you can choose a color from the history, fine-tune a selected color, or capture a new color by opening the color picker.
3030
- **Color Picker only** - Opens Color Picker only and the selected color will be copied to the clipboard.
3131

3232
### Select color
@@ -35,39 +35,39 @@ After the Color Picker is activated, hover your mouse cursor over the color you
3535

3636
The copied color will be stored in your clipboard in the format that is configured in the settings (default: HEX).
3737

38-
![Selecting a Color](../images/pt-colorpicker.gif)
38+
![Selecting a Color.](../images/pt-colorpicker.gif)
3939

4040
> [!TIP]
4141
> To select the color of the non-hover state of a element:
42+
>
4243
> - Move the mouse pointer close, but not over the element
4344
> - Zoom in by scrolling the mouse wheel up (image will be frozen)
4445
> - In the enlarged area, you can pick the color of the element
4546
4647
## Editor usage
4748

48-
The editor lets you see the history of picked colors (up to 20) and copy their representation in any predefined string format. You can configure which color formats are visible in the editor, and in what order that they appear. This configuration can be found in PowerToys Settings.
49+
The editor lets you see the history of picked colors (up to 20) and copy their representation in any predefined string format. You can configure which color formats are visible in the editor and in what order that they appear. This configuration can be found in PowerToys Settings.
4950

50-
The editor also allows you to fine tune any picked color or get a new similar color. Editor previews different shades of currently selected color: 2 lighter and 2 darker ones.
51+
The editor also allows you to fine-tune any picked color or get a new similar color. Editor suggests two lighter and two darker shades of the currently selected color. Clicking on any of those alternative color shades will add the selection to the history of picked colors. It will appear at the top of the colors history list.
5152

52-
Clicking on any of those alternative color shades will add the selection to the history of picked colors (it will appear at the top of the colors history list). The color in the middle represents your currently selected color from the colors history. By clicking on it, the fine tuning configuration control will appear, where you can change HUE or RGB values of the current color. Pressing <kbd>Select</kbd> will add newly configured color into the colors history.
53+
The color in the middle represents your currently selected color from the colors history. By clicking on it, the fine-tuning configuration control will appear, where you can change HSV or RGB values of the current color. Pressing <kbd>Select</kbd> will add newly configured color into the colors history.
5354

54-
![ColorPicker Editor](../images/pt-colorpicker-editor.gif)
55+
![ColorPicker Editor window.](../images/pt-colorpicker-editor.gif)
5556

5657
To remove any color from the colors history, right click a color and select **Remove**.
5758

5859
## Settings
5960

60-
Color picker will let you change following settings:
61+
Color Picker has following settings:
6162

6263
- Activation shortcut
6364
- Behavior of activation shortcut
6465
- Format of a copied color (HEX, RGB, etc.)
65-
- Order and appearance of color formats in the editor
66+
- Order and presence of color formats in the editor
6667

67-
![ColorPicker Settings screenshot](../images/pt-colorpicker-settings.png)
68+
![ColorPicker Settings screenshot.](../images/pt-colorpicker-settings.png)
6869

6970
## Limitations
7071

7172
- Color picker can't be displayed on top of the start menu or action center (you can still pick a color).
7273
- If the currently focused application was started with an administrator elevation (Run as administrator), the Color Picker activation shortcut will not work, unless PowerToys was also started with an administrator elevation.
73-
- Currently, there is a "blind spot" in the bottom right corner of the desktop.

0 commit comments

Comments
 (0)