Questions tagged [windows-10-desktop]

the tag windows-10-desktop is for questions concerning application development for the Windows 10 Desktop. Windows 10 Desktop development uses the Win32 API and provides a user interface similar to a traditional Windows UI that supports and may require the use of a keyboard and mouse. Along with this tag should be a tag indicating the language being used and the platform such as .NET. This tag is not used for posts concerning WinRT application development.

Windows 10 comes in three main flavors: Windows 10 Desktop, Windows 10 Mobile, and Windows 10 IoT. Development can be done in a wide variety of languages with several different target processors as well as the different target versions of Windows 10.

The Windows Desktop, Win32, uses the Windows 10 version of the Win32 API which contains functionality that is unavailable in the WinRT in order provide the security of a protected environment for WinRT. The most common processor target is x86 or x64 CPUs.

See the discussion and links in How to: Use Existing C++ Code in a Universal Windows Platform App.

The Windows Runtime, WinRT, with Universal Windows Platform applications allows for a code once, compile many for specific target. A UWP application can be built to target one of several different processors (x86, x64, ARM) as well as any of the versions of Windows 10 (Windows 10 Desktop, Windows 10 Mobile, and Windows 10 IoT).

367 questions
1
vote
2 answers

Active directory web service (ADWS) is missing on Windows 10 Pro

I want to run below command on the Windows 10 Powershell but I am getting error: PS C:\WINDOWS\system32> Get-ADUser -filter * Get-ADUser: Unable to find a default server with Active Directory Web Services running. After googling error I got few…
User7723337
  • 11,857
  • 27
  • 101
  • 182
1
vote
0 answers

DeprecationWarning: desired_capabilities has been deprecated, please pass in an Options object with options kwarg

I'm relatively new to Winium (1.6.0.0) , Selenium (4.1.3) and Python (3.10.2). I want to automate a simple app like calculator I implemented some suggested code but it's for an older version of Selenium from time import sleep from selenium import…
1
vote
1 answer

Python cannot open a text file outside of an IDE (Windows 10)

I am having this problem with any python script that involves opening a text file. I have tried in various IDEs, including VSCode and PyCharm, and all works as intended. But as soon as I run the python script for real it closes (due to an error…
1
vote
1 answer

Shortcut Menu with Dynamic Verbs for FILE_ATTRIBUTE_OFFLINE

I want that my Shortcut Menu via QueryContextMenu method (dynamic verbs), is visible as well for "Placeholders". Placeholders are Files that only exist locally virtual and needs to be downloaded from the cloud sync provider before the file can be…
1
vote
0 answers

Win10 1607 LTSB - Change Start Menu Layout for Existing Profile (Appx)

We have a bunch of business critical Win 10 tablets (imagine being used by Ambulance drivers when they are out on a call). As part of upgrading the main app used on these devices, I need to run a PowerShell script to install a disgusting and foul…
1
vote
1 answer

Anaconda3 + PyInstaller + Win10Toast = Doesn't work

I've started taking a multi-language course in meantime and now I'm practicing Python with beginner projects. I've made a small desktop notifier project and I want to make an .exe out of it. I use Anaconda3 and I write codes in Spyder4. When I try…
1
vote
1 answer

Random black box on desktop

Image of Random black box Started up my computer and have this random black box on my desktop.I can only move it around and have no way of closing it. Anyone know how what the cause it and how to remove it.
RennY
  • 15
  • 3
1
vote
1 answer

How to draw adjacents single pixels with windows 10 scaling of over 100% in java awt graphics

I'm drawing a minimap for a game and every 40x40 pixels in the game is a pixel on the minimap. The problem starts when I have a screen which uses windows 10 scaling for example of 125% scaling. Pixels drawn with g.drawLine(x,y,x,y) fill 1 pixel in a…
HopefullyHelpful
  • 1,652
  • 3
  • 21
  • 37
1
vote
0 answers

Windows Firewall: Looking for user-interaction API

I'm considering making a small GUI application for Windows 10, which interacts with the Windows Firewall. However i'm having trouble locating the relevant API for one desired action. USE CASE (SITUATION) When Windows 10 is being used in a fairly…
1
vote
0 answers

Smart Screen Filter with standard Code signing certificate

I signed my Windows Application (this MSI file) with a standard Code signing Certificate (no EV Certificate) to avoid the Smart Screen Filter on Windows 10 to appear and unsettle the User with the message that my application is a possible danger for…
Michael Meyer
  • 2,179
  • 3
  • 24
  • 33
1
vote
1 answer

How to reinstall IIS on windows 10?

When I launch IIS on my windows 10 machine, it does not list DefaultAppPool under Application Pools and there is no Default Web Site. How can I reinstall IIS to have these defaults back? I tried to uncheck the below and restarted my machine hoping…
Jyina
  • 2,530
  • 9
  • 42
  • 80
1
vote
1 answer

Writing USB Disk Sectors Results in Permission Error 5

The code below is required by my app to write disk sectors of external USB drives. It works on most Win10 PCs, but it's returning error 5 for permission denied on a couple PCs. I have exclusions created for both Windows Defender and Malwarebytes.…
Randall Deetz
  • 512
  • 4
  • 25
1
vote
0 answers

Docker Linux Containers on Windows - could not determine link-layer address / rejecting access to file using non-canonical name

Problem: When running a simple webservice application in Linux Container on Docker for Desktop in Windows 10, the service is unable to pull data from an external database on the same network. This same project running in Windows Containers in…
1
vote
0 answers

Our app is no longer listed in Windows Defender Firewall's list of apps

We publish a Windows 10 64-bit desktop app with a Wix (.msi) installer. Our support staff occasionally has to direct a user to allow our app through Windows Defender Firewall (Control Panel\All Control Panel Items\Windows Defender Firewall\Allowed…
Scott Smith
  • 3,900
  • 2
  • 31
  • 63
1
vote
1 answer

Windows 10 C# App will not run says CLRWrapper missing dependencies

I have a WPF application that runs fine on a Windows 10 x 64 development machine and a basic Windows 10 x64 VM. When put on a customer machine get an exception saying: DispatcherUnhandledEvent: Could not load file or assembly 'CLRWrapper.dll' or one…
AeroClassics
  • 1,074
  • 9
  • 19