Skip to main content
Filter by
Sorted by
Tagged with
277 votes
19 answers
408k views

I want my batch file to only run elevated. If not elevated, provide an option for the user to relaunch batch as elevated. I'm writing a batch file to set a system variable, copy two files to a Program ...
PDixon724's user avatar
  • 2,773
22 votes
6 answers
14k views

Windows 11, released yesterday, reports itself as Windows 10.0 just about everywhere - RtlGetVersion says 10.0, and if you ask VerifyVersionInfo if you are 11.0 or greater, it says no. There seems to ...
yaakov's user avatar
  • 5,919
170 votes
12 answers
471k views

I am having a really hard time getting my SSH keys up and running after installing Windows 10. Normal method is create it and throw it in the user's account under .ssh. But this folder does not ...
Rudenate3's user avatar
  • 1,921
20 votes
4 answers
12k views

There are documented values for Windows Vista to 10. The first Insider build of Windows 11 was just released, and the documentation wasn't updated yet, but perhaps it can be found somewhere in the ...
Paul's user avatar
  • 7,071
1 vote
2 answers
21k views

What is the cmd tool for zipping files with the new Windows 11 feature ? (The one used by default by explorer). I tried zip, 7zip, compress... Thank you
Blaizz's user avatar
  • 67
13 votes
3 answers
5k views

When I open chrome on emulator & browse any website, I get this: Specifications: OS : Windows 11 Pro Processor : Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz 2.00 GHz GPU : AMD Radeon RX 550 ...
The Backer's user avatar
6 votes
1 answer
2k views

I noticed that Ctrl + Space had stopped giving me autocomplete suggestions. I had to delete the preceding code and start typing again to get any autocomplete suggestions. At first I thought it was ...
Jeff Neet's user avatar
  • 912
2 votes
1 answer
5k views

I'm quite a ways into a DirectX 12 desktop x64 application built upon several of the DirectX Tool Kit examples, but now also supports custom shaders for directional and omnidirectional shadows, ...
Maico De Blasio's user avatar
1 vote
1 answer
2k views

Setup: OS Windows 11 Visual Studio 2022 community version 17.4.5 Workload installed: .Net Desktop development, Universal Windows Platform development. Installation details: .Net desktop development ...
Moshe Yalovsky's user avatar
14 votes
2 answers
13k views

This simple piece of code in Windows results in an annoying debug message printed by gethostbyname. #include <stdio.h> #include <winsock.h> int main() { WSADATA wsaData; WSAStartup(...
s4eed's user avatar
  • 8,041
13 votes
3 answers
22k views

From this article, it states that windows 11 natively supports running of X11 and wayland applications on wsl. I tried to do the same through a docker container, setting the environment variable ...
Tian's user avatar
  • 1,038
10 votes
2 answers
11k views

New-Item -Path "HKCR:\Directory\Background\shell\customname" -Force I've been doing the same thing for HKCU and KHLM but when I try HKCR I get errors in PowerShell. how am I supposed to do ...
user avatar
7 votes
1 answer
3k views

It would be great if we can debug Android apps on Windows Subsystem for Android.
Theppasin Kongsakda's user avatar
5 votes
2 answers
2k views

Windows 11 supports emulating x64 hardware whilst actually running on an ARM64 platform. An example of this would be running Windows inside a virtual machine on a Mac. Previously my Inno installer was ...
StayOnTarget's user avatar
  • 13.4k
5 votes
3 answers
9k views

This is what I've gathered so far. I need a scheduled task that runs only 1 time, at the next startup (whenever that is) and after it runs it should delete itself. Register-ScheduledTask -TaskName &...
SpyNet's user avatar
  • 777
4 votes
1 answer
5k views

When trying to install nvm with wsl 2 on windows 11, it throws: curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash % Total % Received % Xferd Average Speed Time ...
Matt Jaf's user avatar
  • 639
4 votes
1 answer
2k views

I started a MongoDB server mongod.exe on my local Win11 machine and want to connect to it with pymongo from within WSL2 (from a Jupyter Notebook started in WSL2; ip address taken from ifconfig below): ...
alex's user avatar
  • 11.4k
3 votes
1 answer
3k views

I'm trying to return the Win32_PowerPlan in PowerShell 7 on Windows 11 with the following code: get-wmiobject -namespace "root\cimv2\power" -class Win32_powerplan However, I get the output: ...
KyleMit's user avatar
  • 31.4k
2 votes
1 answer
1k views

I developed a "keyboard layout DLL" for Windows but I cannot have it loaded and got no error message. I wonder how to troubleshoot this. There is some sample code for keyboard layouts in ...
Thierry Lelegard's user avatar
2 votes
1 answer
11k views

I wanna set the screen resolution of screen 1 to a predetermined value of 1872 x 1248 then set scaling to 100% then launch a .exe file from a folder, and once the exe is closed revert the screen ...
haephaistoss's user avatar
2 votes
4 answers
2k views

I'm running Python 3.10 on Windows 11. I need to extract metadata from .heic image files. Here is what I tried: 1. ExifRead I tried with ExifRead (see https://pypi.org/project/ExifRead/) but that ...
K.Mulier's user avatar
  • 9,770
1 vote
1 answer
1k views

I have developed Python program using YOLOV8 algorithm to detect human entry and it works perfectly in pycharm. when i convert it to exe file using pyinstaller im getting following error. Can anyone ...
Ranshin's user avatar
  • 11
1 vote
1 answer
656 views

For some reason the multi-value editor for my Path environmental variable has stopped showing. So instead of seeing this editor: Multi-value I am now seeing the the single line editor which is rather ...
Garth's user avatar
  • 11
1 vote
2 answers
329 views

Windows 8 and above changed the (default-DPI) size of "big" taskbar icons (introduced in Windows 7) from 32×32 to 24×24. However, GetSystemMetrics(SM_CXICON) and GetSystemMetrics(SM_CXSMICON)...
Medinoc's user avatar
  • 6,699
1 vote
0 answers
550 views

I am not able to navigate in my UWP WinJS app using a gamepad controller in Windows 11. It is working fine in Windows 10 though. I also found out that I am no longer getting keydown event when ...
vishal's user avatar
  • 626