960 questions
277
votes
19
answers
408k
views
How can I auto-elevate my batch file, so that it requests from UAC administrator rights if required?
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 ...
76
votes
21
answers
121k
views
"Docker Desktop Starting..." forever on Windows
I have installed Docker Desktop version 4.4.4 and it is not running. It only displays "Docker Desktop Starting ..." but never starts running.
I have tried so many ways but didn't solve:
...
22
votes
11
answers
38k
views
Android Studio Emulator is not working on Windows 11 using WHPX
I have Windows 11 on my system.
The system specifiction:
Edition: Windows 11 Home Single Language
Update: 21H2
Installed on: 06-07-2021
OS build: 22000.65
Experience: Windows Feature ...
21
votes
5
answers
20k
views
How to add a "Git Bash Here" context menu option to the windows explorer in Windows 11? [closed]
I've recently switched to Windows 11 and after installing git, I found out that the context menu option, to easily launch git bash, is not there. The good news is, that it is possible to access the ...
20
votes
4
answers
12k
views
What's the supportedOS GUID for Windows 11?
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 ...
17
votes
4
answers
17k
views
Is it possible to install SQL Server on Windows 11 running on Parallels on Mac M2 chip?
I have a brand-new Mac laptop with an Apple M2 chip. I have installed Parallels and installed Windows 11 under parallels.
I have made a few attempts to install SQL Server 2019 Express on this Windows ...
14
votes
2
answers
13k
views
gethostbyname says No such service is known. The service cannot be found in the specified name space
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(...
13
votes
3
answers
5k
views
Glitches in Chrome Browser in Android Emulator [Windows 11 Visual Studio 2022]
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
...
12
votes
3
answers
2k
views
Enabling javascript debugger in VS 2022 freezes application
I have been searching for an answer for 2 days now so really hope someone can help.
When I try to debug my project the application freezes, nothing happens in the browser it just keeps loading and ...
10
votes
2
answers
11k
views
How to refer to HKEY_CLASSES_ROOT in PowerShell?
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 ...
10
votes
0
answers
2k
views
The Container view in docker desktop updates/flashes constantly
The Container view in docker desktop keeps updating (i guess that is what it is doing anyway) which makes the window flash/reload about every second.
This makes it quite hard to work with the ...
9
votes
3
answers
8k
views
cannot install github copilot on visual studio 2022
Like the title says. I cannot install github copilot on visual studio 2022 version 17.4.4 (latest)
i am on a arm64 windows 11 parallels virtual machine on a macbook pro with m1 chip
I cannot find the ...
9
votes
0
answers
3k
views
How to create Windows 11 taskbar application?
I want to create a Windows 11 application that will work as built-in apps like "Widgets" or "Chat" in taskbar using C#. There is very little information on this subject on the ...
8
votes
4
answers
32k
views
Docker Desktop - Windows 11 - Unexpected WSL error [closed]
Docker Desktop - Windows 11 - Unexpected WSL error An unexpected error
occurred while executing a WSL command.
I'm having trouble with Docker Desktop on my Windows 11 system. I get an Unexpected WSL ...
8
votes
4
answers
4k
views
Android Emulator stuttering + Artifacts (Windows 11 on AMD Processor)
System Specifications:
Windows 11
AMD Ryzen 9 5900x
RTX 2080 TI
ASUS PRIME x570 PRO Motherboard
32GB RAM
The Android Emulator is extremely laggy (No matter the image chosen, I've tried all the way ...
8
votes
0
answers
3k
views
Windows 11 and QT5.14: "8007277C No such service is known" when making request to Microsoft Server 2016 Datacenter
We have a data server running on an AWS instance of a Windows Server 2016 Datacenter. I have just compiled the program and while running in debug mode am trying to make requests to the server to ...
7
votes
1
answer
3k
views
Is there any possible way to run Android apps on Windows Subsystem for Android by Android Studio?
It would be great if we can debug Android apps on Windows Subsystem for Android.
6
votes
1
answer
2k
views
Why did Ctrl+Space (Autocomplete) suddenly stop working in Android Studio, Intellij, and other JetBrains IDEs?
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 ...
6
votes
1
answer
2k
views
Accept part of the autocompletion
I have recently got myself a new Windows 11 laptop, and started exploring powershell. Never used it before on Windows, but I'm a frequest user of zsh in Mac so not completely new.
I upgraded ...
6
votes
2
answers
212
views
Ctrl+Break stop working in VB6 (suspect KB5058499)
After applying KB5058499, the Ctrl+Break keyboard shortcut in Visual Basic 6 stopped working (Windows 11 Pro 24H2 26100.4188).
Ctrl+Break is the native shortcut to pause code execution in the VB6 IDE. ...
6
votes
1
answer
3k
views
what is courgette.log file and why was it automatically saved on my desktop?
I looked up on the internet and it said courgette.log file is based on docker.
I am using Docker version 20.10.17, build 100c701 on Windows 11 Home.
But I have docker installed for a long time now. ...
6
votes
1
answer
1k
views
Short or "Medium" Date format produces "Sept" for September on a Windows 11 Machine - bad VB code but ... what causes this behaviour?
In our software we occasionally need to pass a date and time value in some sort of String format which may end up being used in SQL and converted back to a DATETIME.
I wish it weren't so, but it is ...
6
votes
0
answers
3k
views
Windows 11, WSL2, Docker - New PC, very slow php website problem (for local development)
We are a team of 4 developers working on the same project.
Our lead dev made a docker script that starts all the containers. Two of the devs use native linux and a good desktop and the website loads ...
5
votes
3
answers
9k
views
In PowerShell, how can I create a scheduled task that runs only 1 time at startup and then deletes itself?
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 &...
5
votes
4
answers
7k
views
How to detect Windows 11 using Delphi 10.3.3
I use TOSVersion.ToString function (uses SysUtils) to detect Windows version. However this is what I get in Windows11:
Windows 10 (Version 10.0, Build 21996, 64-bit Edition)
Is there any reliable way ...