Different modes in windows

Setting the default DPI awareness for a process

Desktop applications on Windows can run in different DPI awareness modes. These modes enable different DPI scaling behavior and can use different coordinate spaces. For more information on DPI awareness, see High DPI Desktop Application Development on Windows. It is important that you explicitly set the default DPI awareness mode of your process so as to avoid unexpected behavior.

There are two main methods to specify the default DPI awareness of a process:

1) through an application manifest setting

2) programmatically through an API call

We recommended that you specify the default process DPI awareness via a manifest setting. While specifying the default via API is supported, it is not recommended.

Setting default awareness with the application manifest

There are two manifest settings that enable you to specify the process default DPI awareness mode: and . was introduced in WindowsВ Vista and only enables your process default to be set to system awareness. was introduced in WindowsВ 10, version 1607 and enables you to specify an ordered list of process-default DPI awareness modes. This enables you to set backup DPI awareness modes, which will be used if your application is ran on a version of Windows unable to support the first awareness mode specified. On older versions of Windows, the newer tag will be ignored. This means that you can use both of these manifest settings to enable a scenario where your process default could be system awareness on older version of Windows while being Per-Monitor on versions greater than WindowsВ 10, version 1607. On WindowsВ 10, version 1607, and on, the setting is ignored if the element is present.

The table below shows how to specify different process-default DPI awareness modes using the two manifest settings:

N/A (no dpiAware setting in manifest)

Process default DPI awareness mode setting setting (WindowsВ 10, version 1607 and later)
unaware unaware
System aware true system
Per Monitor true/pm PerMonitor
Per Monitor V2 Not supported PerMonitorV2

The sample below shows both the and the settings being used within the same manifest file to configure process-default DPI awareness behavior for different versions of Windows.

Setting default awareness programmatically

Although it is not recommended, it is possible to set the default DPI awareness programmatically. Once a window (an HWND) has been created in your process, changing the DPI awareness mode is no longer supported. If you are setting the process-default DPI awareness mode programmatically, you must call the corresponding API before any HWNDs have been created.

There are multiple APIs that let you specify the default DPI awareness for your process. The current recommended API is SetProcessDpiAwarenessContext, as older APIs offer less functionality.

Process-default vs. Thread default

This document refers to setting the default DPI awareness for your process. This is because Windows 10 introduced support for running more than one DPI awareness mode within a single process (prior to Windows 10, the entire process had to conform to a single DPI awareness mode). Support for running more than one DPI awareness mode within a process is referred to as «mixed-mode DPI scaling». When using mixed-mode DPI scaling within your process, each top-level Window can run in a DPI awareness mode that may be different than that of the process default. Unless explicitly specified, each thread will default to the process default when created. For more information about mixed-mode DPI scaling, refer to the Mixed-Mode DPI Scaling article.

How to use multiple monitors in Windows 10

After you’ve connected your Windows 10 PC to external displays, you can adjust the settings for each one.

Video: Connecting a monitor

Here’s a video on the basics of connecting to an external monitor.

Before you start

Before changing settings for your external displays, make sure everything is connected properly. Here’s what you can do:

Make sure your cables are properly connected to your PC or dock.

Check for Windows updates. To check for updates, select Start > Settings > Updates & Security > Windows Update > Check for updates.

Tip: If you’re using a wireless display adapter, connect to an HDMI port on newer TVs, then wirelessly connect your PC to it. After connecting your wireless display adapter to your TV, go to your Windows 10 PC and select Start > Settings > System > Display, then select Connect to a wireless display.

Rearrange your displays

You’ll see this option when Windows detects more than one display. Each display will be numbered to help you identify them more easily.

Identify a display

To see which number corresponds to a display, select Start > Settings > System > Display > Rearrange your displays, then select Identify. A number appears on the screen of the display it’s assigned to.

Detect a display

If you connected another display and it isn’t showing in Settings, select Start > Settings > System > Display > Rearrange your displays, then select Detect.

Arrange your displays

If you have multiple displays, you can change how they’re arranged. This is helpful if you want your displays to match how they’re set up in your home or office. In Display settings, select and drag the display to where you want. Do this with all the displays you want to move. When you’re happy with the layout, select Apply. Test your new layout by moving your mouse pointer across the different displays to make sure it works like you expect.

Change display options

After you’re connected to your external displays, you can change settings like your resolution, screen layout, and more. To see available options, select Start > Settings > System > Display.

Change orientation

Windows will recommend an orientation for your screen. To change it in Display settings, go to Scale and Layout, then choose your preferred Display orientation. If you change the orientation of a monitor, you’ll also need to physically rotate the screen. For example, you’d rotate your external display to use it in portrait instead of landscape.

Choose a display option

To change what shows on your displays, press Windows logo key + P. Here’s what you can choose.

See things on one display only.

See the same thing on all your displays.

See your desktop across multiple screens. When you have displays extended, you can move items between the two screens.

See everything on the second display only.

Second screen only

Simply Windows on Youtube — These videos are only available in English

Windows 10 in S mode FAQ

About Windows 10 in S mode

Windows 10 in S mode is a version of Windows 10 that’s streamlined for security and performance, while providing a familiar Windows experience. To increase security, it allows only apps from the Microsoft Store, and requires Microsoft Edge for safe browsing.

To get Windows 10 in S mode, you need the right volume license agreement and qualifying devices that are already enabled in S mode. Or you can work with the manufacturer or partner to get it installed when you buy a new device.

To increase security and performance, Windows 10 in S mode runs only apps from the Microsoft Store. If you want to install an app that isn’t available in the Microsoft Store, you’ll need to permanently switch out of S mode. There’s no charge to switch out of S mode, but you won’t be able to turn it back on. If you’re blocked from switching and your device belongs to an organization, check with your administrator. Your organization can choose to keep all devices in S mode.

On your PC running Windows 10 in S mode, open Settings > Update & Security > Activation.

Find the Switch to Windows 10 Home or Switch to Windows 10 Pro section, then select the Go to the Store link.

Note: Don’t select the link under Upgrade your edition of Windows. That’s a different process that will keep you in S mode.

On the page that appears in the Microsoft Store ( Switch out of S mode or a similar page), select the Get button. After you confirm this action, you’ll be able to install apps from outside the Microsoft Store.

For info about the commercial versions, see Windows 10 Pro/Enterprise in S mode.

Switching out of S mode is one-way. If you switch out of S mode, you’ll need to keep using the standard version of Windows 10.

With the April 2018 Update, Windows 10 S became a mode of Windows 10 (called “S mode”). It’s now available in Windows 10 Home edition, Windows 10 Pro, and Windows 10 Pro Education—and you can buy new PCs with an edition of the S mode preinstalled.

If you have an existing Windows 10 S device and you install the April 2018 Update or later, you’ll have a Windows 10 Pro device in S mode.

Windows 10 in S mode can come installed on a PC that has an Intel, AMD, or Qualcomm Snapdragon processor. Here’s how to find out what kind of processor your Windows 10 PC is running:

Select the Start button, then select Settings > System > About .

On the About screen, next to Processor, identify whether it says Snapdragon, Intel, or AMD.

For details about processors, see the sections for:

You can download and install apps from the Microsoft Store in Windows. To find Microsoft Store apps, you must be in Windows 10. To discover which apps are available for your device, select Microsoft Store on the taskbar. If you don’t see the Microsoft Store icon on the taskbar, select the Start button, type Microsoft Store, then select it in the list of results to open the Store.

Note: If you switch out of S mode, you can install 32-bit (x86) Windows apps that aren’t available in the Microsoft Store in Windows. If you make this switch, it’s permanent, and 64-bit (x64) apps still won’t run.

Apps you bought from the Microsoft Store are linked to your Microsoft account. In most cases, if you install an app from the Microsoft Store on another Windows 10 PC, you should be able to install it on your PC with Windows 10 in S mode if you sign in with the same Microsoft account.

Unless you switch out of S mode, you’ll only be able to use apps from the Microsoft Store on your device. There are important limitations regarding apps and switching out of S mode on Windows 10 Snapdragon devices.

It depends on the type of Domain join you use and which edition of Windows 10 your device is running.

Azure AD Domain join is available for Windows 10 Pro in S mode and Windows 10 Enterprise in S mode. It’s not available in Windows 10 Home in S mode.

On-premise Domain join is not available in S mode (for any edition of Windows). To enable On-premise Domain join, switch the device out of S mode and run a Windows edition that includes the Domain join feature (Windows 10 Pro or Windows 10 Enterprise). For example, if your device was running Windows 10 Home in S mode, you’d need to switch out of S mode and upgrade to Windows 10 Pro to use On-premise Domain join.

No. When you’re using Windows 10 in S mode, Microsoft Edge is always the default web browser, and Bing is the default search engine. But you can access other browsers and search engines while in S mode. You can download any browser available in the Microsoft Store in Windows, and you can navigate to any other search engine website.

If you want to download a browser (or any other application) that’s not in the Microsoft Store, you’ll need to permanently switch out of S mode. After you switch, you can then set your default browser and search engine to the one you choose, but you won’t be able to return to S mode again.

Note: If your PC is running on a Qualcomm Snapdragon processor, and you switch out of S mode, you’ll need to install the 32-bit (x86) version of the browser. 64-bit (x64) apps won’t run on a Windows 10 PC with a Snapdragon processor.

Yes, we recommend all Windows devices use antivirus software. Currently, the only antivirus software known to be compatible with Windows 10 in S mode is the version that comes with it: Windows Defender Security Center. Windows Defender Security Center delivers a robust suite of security features that help keep you safe for the supported lifetime of your Windows 10 device. For more info, see Windows 10 security.

Also note that by exclusively using apps from the Microsoft Store and browsing safely with Microsoft Edge, Windows 10 in S mode keeps you running more quickly and securely day in and day out.

If you want to use another antivirus software provider, you can ask if they offer a product that runs on a Windows 10 device in S mode.

Many hardware accessories and peripherals (such as printers) that work with Windows 10 Home and Pro also work with Windows 10 in S mode, though sometimes they only offer limited functionality. For additional info, see Windows 10 in S mode accessory compatibility or contact your accessory manufacturer.

Windows 10 in S mode on a Qualcomm Snapdragon processor

PCs with a Qualcomm Snapdragon processor help you keep working wherever you go. Your PC will:

Always be connected to the internet. With a cellular data connection, you can be online wherever you get a cellular signal—just like with your mobile phone. When you’re at work, home, or by another Wi-Fi network you trust, you can connect to Wi-Fi to save cellular data and keep working.

Free you from outlets with a battery life that goes beyond all-day. You’ll use less power than you would with other PCs, so you can go through a typical work or school day without running out of battery or worrying about finding an outlet to plug into. If you want to use the PC for something more fun, you can enjoy up to 20 or more hours of local video playback between battery charges.

Turn on instantly. When you’re not using your PC, just press the power button like you do on your mobile phone to turn off the screen. When you take out your PC and turn it back on, it turns on instantly. Whenever you have a few minutes in between classes, meetings, or other activities, you can get things done without waiting for your PC to start up.

Whether you’re running Windows 10 in S mode or not, there are some limitations when you run a PC on a Qualcomm Snapdragon processor:

Drivers for hardware, games and apps will only work if they’re designed for a Windows 10 PC running on a Snapdragon processor. For more info, check with the hardware manufacturer or the organization that developed the driver. Drivers are software programs that communicate with hardware devices—they’re commonly used for antivirus and antimalware software, printing or PDF software, assistive technologies, CD and DVD utilities, and virtualization software.
If a driver doesn’t work, the app or hardware that relies on it won’t work either (at least not fully). Whether you’re in S mode or not, peripherals and devices only work if the drivers they depend on are built into Windows.

64-bit (x64) apps won’t work. You’ll need 64-bit (ARM64) apps, 32-bit (ARM32) apps, or 32-bit (x86) apps. You can usually find 32-bit (x86) versions of apps, but some app developers only offer 64-bit (x64) apps.

Note: 32-bit (x86) apps might run more slowly than they would on a PC device that has an Intel or AMD processor.

Certain games won’t work. Games and apps won’t work if they use a version of OpenGL greater than 1.1, or if they rely on «anti-cheat» drivers. You can check with your game publisher to see if a game will work.

Apps that customize the Windows experience might have problems. This includes some input method editors (IMEs), assistive technologies, and cloud storage apps. The organization that develops the app detemines whether their app will work on a Windows 10 PC running on a Snapdragon processor.

Third-party antivirus software can’t be installed. You won’t be able to install third-party antivirus software on any edition of Windows 10 running on a Snapdragon processor. However, Windows Defender Security Center will help keep you safe for the supported lifetime of your Windows 10 device.

Client Hyper-V isn’t supported. This feature isn’t supported for any edition of Windows 10 running on a Qualcomm Snapdragon processor.

Windows Fax and Scan isn’t available. This feature isn’t available for any edition of Windows 10 running on a Snapdragon processor.

Windows 10 in S mode provides built-in accessibility features that help you do more on your device. You can also find assistive technology apps in the Microsoft Store in Windows, such as the KNFB Reader and the Read&Write extension for Microsoft Edge—and we’re working to offer more apps soon.

You can check the Microsoft Store to see if your preferred assistive technology apps are available for a PC running in S mode.

If they aren’t available, you can permanently switch out of S mode to use non-Microsoft Store apps. For more info, see Using Windows 10 in S mode with assistive technology: FAQ. You may want to check with the vendor to find out if their application is compatible with Windows 10 running on a Snapdragon processor. Not all assistive technology apps work as expected, even if you switch out of S mode.

If you use a screen reader, NVDA has updated their app to be compatible with Windows 10 on a Snapdragon processor. For more info, visit the NV Access website.

Note: Switching out of S mode is one-way. If you make the switch, you won’t be able to go back to S mode. To learn more, see How do I switch out of S mode?

If you switch out of S mode, you can install 32-bit (x86) Windows apps that aren’t available in the Microsoft Store in Windows. If you make this switch, it’s permanent, and 64-bit (x64) apps still won’t run. Also, even if you aren’t in S mode, peripherals and devices will only work if the drivers they depend on are built into Windows 10. It’s a good idea to check whether the hardware developer has published a version of the driver that runs on a Windows 10 device with a Qualcomm Snapdragon processor. Note that switching out of S mode is one-way. If you make the switch, you won’t be able to go back to S mode on that device.

Every Windows 10 PC running on a Qualcomm Snapdragon processor can connect to a cellular data network, whether or not it’s S mode enabled. This lets you get online wherever you have a cellular signal. Depending on your PC manufacturer, your PC might use a physical SIM card or an embedded SIM (eSIM).

To find out whether your PC uses a SIM card or eSIM:

Select the Start button, then select Settings > Network & Internet > Cellular.

Determine the type of SIM your PC uses. On the Cellular screen, look for a link near the bottom of the page that says Manage eSIM profiles.

If you see the link, your PC has an eSIM and you’ll need a data plan and an eSIM profile from your mobile operator or organization. For more info, see Use an eSIM to get a cellular data connection on your Windows 10 PC.

If you don’t see the link, your PC uses a physical SIM card. You’ll need a data plan and a SIM card from your mobile operator. To learn how to get connected after that, see Cellular settings in Windows 10.

To see if your device will work, check the hardware manufacturer’s website or your mobile operator’s website.

You can also buy prepaid cellular data plans through the Microsoft Store. For more information about how to buy a plan, see Get online with paid cellular data.

No, you won’t be able to update to Windows 10 in S mode because it’s a different type of system. Windows RT is based on the ARM32 architecture, but a Windows 10 PC running on a Snapdragon processor is based on the ARM64 architecture.

Windows 10 in S mode on an Intel or AMD processor

Windows 10 in S mode only works with compatible apps from the Microsoft Store. Most apps in the Microsoft Store work the same for devices whether they’re in S mode or not. Note that some developer tools won’t be supported on Windows 10 in S mode, and a small number of apps with known compatibility issues will list the issues in the app’s product detail page in the Microsoft Store.

Many hardware accessories and peripherals (such as printers) that work with Windows 10 will also work with Windows 10 in S mode, but might have limited functionality. See Windows 10 in S mode Accessory Compatibility for more info on Microsoft hardware accessories, and for links to contact third parties if you have questions about using their accessories with Windows 10 in S mode. If you don’t find information on a specific model, check with your accessory manufacturer.

Yes, education customers can test Windows 10 in S mode on an existing Windows 10 device. This offer is for technical users, so please see the important pre-installation information at docs.microsoft.com/education.

If you try to use an app that’s not in the Microsoft Store, you’ll get a reminder that the app isn’t an option when you’re using Windows 10 in S mode. We’ll often suggest a category of similar apps or a specific app that’s already available in the Microsoft Store. Note that some developer tools won’t be supported on Windows 10 in S mode, and a small number of apps with known compatibility issues will list the issues in the app’s product detail page in the Microsoft Store. If you still want to download an application that’s not in the Microsoft Store or has compatibility issues, you can switch out of S mode, but you won’t be able to switch back again.

The number of compatible apps and devices will continue to grow. For the most up-to-date information, you can always check back at this website, at the Microsoft Store in Windows, or with the hardware or software manufacturer. If you absolutely need to use an app or device that’s not compatible, it’s easy to switch out of S mode—you just won’t be able to switch back. For more info, see How do I switch out of S mode?

Windows provides a number of built-in accessibility features to help you do more. There are great apps available today through the Microsoft Store in Windows, such as the KNFB Reader and the Read&Write extension for Microsoft Edge.

If you need to use assistive technology apps that aren’t available through the Microsoft Store, and aren’t downloadable on a Windows 10 device in S mode, you’ll need to switch out of S mode and you won’t be able to switch back.

About Windows 10 Enterprise in S mode

Windows 10 Enterprise in S mode is a subscription that provides additional options for your compatible device. You’ll get:

Management of Microsoft Store access

Management of consumer experiences

Management of Cortana

You get Windows 10 Enterprise in S mode the same way you would get Windows 10 Enterprise. To install it, you’ll need the right volume license agreement and existing qualifying devices that are already enabled in S mode. Or you can work with the manufacturer or partner to get it installed when you buy a new device.

Yes. If your device is running Windows 10 Enterprise in S mode and you choose to switch out of S mode, your device will be running Windows 10 Enterprise. If you switch, you won’t be able to get back into S mode again. To learn more, see How do I switch out of S mode?

About Windows 10 Education in S mode

Windows 10 Education in S mode is designed to give schools the familiar, robust, and productive features they expect from Windows, in an experience that’s streamlined for security and performance in the classroom. It has many of the Windows 10 Education features that you know today, but we made some changes so you could have a more secure experience, with better performance.

You get Windows 10 Education in S mode the same way you would get Windows 10 Education. To install it, you’ll need the right volume license agreement and devices that are already enabled in S mode. Or you can work with the manufacturer or partner to get it installed when you buy a new device.

Yes. If your device is running Windows 10 Education in S mode and you choose to switch out of S mode, your device will then be running Windows 10 Education. If you switch, you won’t be able to get back into S mode again. To learn more, see How do I switch out of S mode?

Читайте также:  Windows 10 oem 64 bit rus оригинальный образ
Оцените статью
API Minimum version of Windows DPI Unaware System DPI Aware Per Monitor DPI Aware
SetProcessDpiAware WindowsВ Vista N/A SetProcessDpiAware() N/A
SetProcessDpiAwareness WindowsВ 8.1 SetProcessDpiAwareness(PROCESS_DPI_UNAWARE) SetProcessDpiAwareness(PROCESS_DPI_SYSTEM_DPI_AWARE) SetProcessDpiAwareness(PROCESS_DPI_PER_MONITOR_DPI_AWARE)
SetProcessDpiAwarenessContext WindowsВ 10, version 1607 SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_UNAWARE) SetProcessDpiAwarenessContext(DPI_AWARENESS_CONTEXT_SYSTEM_AWARE)