Questions tagged [windows-10]

The successor to Microsoft Windows 8.1 which combines features from Windows 7 and 8.1, including touch-interface and restored Start Menu. This tag exclusively is for programming questions related to Windows 10; general software issues not directly related to programming should be directed to Super User.

Windows 10 was released on July 29th, 2015 and is the successor to Microsoft Windows 8.1 which combines features from Windows 7 and 8.1, including touch-interface and restored Start Menu. It has some important changes which affect developers.

Windows 10 is the latest OS launched by Microsoft. Users can upgrade to Windows 10 from Windows 7 and Windows 8.1, provided they have a genuine version.

At the Build conference 2015, Microsoft announced the fact that Windows 10 will be designed to run on every conceivable device, from desktops and phones, to IoT devices and televisions.

A few of the changes include:

  • Unified platform for desktop and mobile; will be replaced by Windows 10. Developers will now develop for the (Universal Windows Platform), a set of libraries that can be updated independent of the OS and will be common to , , and .
  • Integration
  • Better integration, including streaming games from your console.
  • New browser (codenamed Spartan).
  • Support for holographic computing.

Official link:

Related Tags:

Useful links:

12165 questions
44
votes
9 answers

How to install the Inspect tool on Windows 10?

Is Inspect a part of the Windows 10 standalone SDK? Is there any alternative application to "inspect" for windows 10? I want to install "inspect" tool on my machine running windows 10 build 10586 (for testing purpose). According to Inspect…
Keshav Madan
  • 541
  • 1
  • 4
  • 4
43
votes
3 answers

Interrupt (NOT prevent from starting) screensaver

I am trying to programmatically interrupt the screensaver by moving the cursor like this: win32api.SetCursorPos((random.choice(range(100)),random.choice(range(100)))) And it fails with the message: pywintypes.error: (0, 'SetCursorPos', 'No error…
mortpiedra
  • 687
  • 4
  • 13
43
votes
5 answers

How to detect Windows 10 light/dark mode in Win32 application?

A bit of context: Sciter (pure win32 application) is already capable to render UWP alike UIs: in dark mode: in light mode: Windows 10.1803 introduces Dark/Light switch in Settings applet as seen here for example. Question: how do I determine…
c-smile
  • 26,734
  • 7
  • 59
  • 86
43
votes
4 answers

Batchfile: What's the best way to declare and use a boolean variable?

What's the best way to declare and use a boolean variable in Batch files? This is what I'm doing now: set "condition=true" :: Some code that may change the condition if %condition% == true ( :: Some work ) Is there a better, more "formal" way…
James Ko
  • 32,215
  • 30
  • 128
  • 239
42
votes
5 answers

GetWindowRect returns a size including "invisible" borders

I'm working on an app that positions windows on the screen in a grid style. When Running this on Windows 10, there is a huge gap between the windows. Further investigation shows that GetWindowRect is returning unexpected values, including an…
Deanna
  • 23,876
  • 7
  • 71
  • 156
42
votes
6 answers

How to make Eclipse behave well in the Windows 10 taskbar and program search?

This question is very similar to its famed windows 7 counterpart, but the same solution no longer works on windows 10 so it seems like the new platform is worthy of its own question. Of course, everybody who uses eclipse on windows has hit this age…
icyitscold
  • 1,151
  • 1
  • 9
  • 19
42
votes
7 answers

How can I detect if my app is running on Windows 10

I'm looking for a means to detect if my C# app is running on Windows 10. I had hoped that Environment.OSVersion would do the trick, but this seems to return a Version of 6.3.9600.0 on Windows 8.1 and Windows 10. Other solutions such as this don't…
Richard Ev
  • 52,939
  • 59
  • 191
  • 278
41
votes
4 answers

What does "Beta: Use Unicode UTF-8 for worldwide language support" actually do?

In some Windows 10 builds (insiders starting April 2018 and also "normal" 1903) there is a new option called "Beta: Use Unicode UTF-8 for worldwide language support". You can see this option by going to Settings and then: All Settings -> Time &…
Andrew Savinykh
  • 25,351
  • 17
  • 103
  • 158
41
votes
3 answers

Cannot find the daemon.json file in windows 10 after docker-desktop installation

I installed the docker-desktop in windows 10 using the installer. Now i want to see the configuration file daemon.json. The official documentation says that The default location of the configuration file on Windows is…
AnjK
  • 2,887
  • 7
  • 37
  • 64
41
votes
8 answers

Could not start Windows Service, Error 1064

I wrote a Windows Service to run on Win10, and it worked perfectly fine until I decided to change it a bit. I rewrote some logic, tested it in both Debug and Release configurations, and everything was fine. Then I uninstalled the current version of…
semptra
  • 740
  • 1
  • 6
  • 10
41
votes
9 answers

Xunit Unit Tests will not run

I am completely stuck on this issue. So my team has a unit test project in a services test project. The tests are discovered in the test explorer pane however when I try and run the tests I get these errors: 'Multiple test adapters with the same…
CMR
  • 549
  • 1
  • 5
  • 12
41
votes
7 answers

Vagrant cannot find box

I am on windows 10 and has VirtualBox 5.0.14 and vagrant 1.8.1 installed in it. While i try to add a box it gives me this error: Command: $ vagrant box add ubuntu/trusty64 Error: The box 'ubuntu/trusty64' could not be found or could not be…
rakibtg
  • 5,521
  • 11
  • 50
  • 73
41
votes
2 answers

How to connect Cortana commands to custom scripts?

This may be a little early to ask this, but I'm running Windows 10 Technical Preview Build 10122. I'd like to set up Cortana to have custom commands. Here's how she works: Hey Cortana, Microsoft will process…
Charles Clayton
  • 17,005
  • 11
  • 87
  • 120
40
votes
7 answers

git checkout error: unable to read askpass response in Windows 10

Error occurred while cloning repository in Android Studio error: unable to read askpass response from 'C:\Users\User\AppData\Local\Google\AndroidStudio2021.1\tmp\intellij-git-askpass-local.sh' bash: /dev/tty: No such device or address error: failed…
39
votes
5 answers

What is the proper way of using JDK on WSL2 on Windows 10?

I have installed Ubuntu 20.4 LTS on WSL. My windows 10 already have the JDK installed. Do I need to install JDK on ubuntu on WSL or can I use the Windows 10 JDK in the Ubuntu? How you do Java programming on WSL? Which is the proper way? I was just…