Microsoft Windows version 11 is an operating system for computers. Use for questions about software development on or for the OS. General support questions are OFF-TOPIC and may be asked on https://superuser.com
Questions tagged [windows-11]
742 questions
2
votes
2 answers
Error in r.listen(source) while using the speech recognition module
I am trying to run a basic code for speech recognition. But I am getting an error in the following line:
audio = r.listen(source)
The small piece of code that I am trying is:
import speech_recognition as s_r
print(s_r.__version__) # just to print…

theashwanisingla
- 412
- 4
- 13
2
votes
3 answers
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 "Test 1" -InputObject (
(
…

SpyNet
- 323
- 8
2
votes
1 answer
What is this Win11 feature that limits compute resources?
Intro
Our team has an application that performed fine with Windows 10, but has now started suffering from compute throttling of some kind in Windows 11 when it is not shown on the desktop.
In broad terms, the architecture of the solution is that…

Spastika
- 364
- 3
- 10
2
votes
0 answers
In Windows 11 and server 2022, the child dialog in my MFC application does not display the maximize and Restore buttons properly
If we see above in the image, we would not be able to see the Maximize and Restore button, but I would tell that Maximize button is hidden behind the icon and there is a restore button on the left. Below is the image after moving this minimized…

ted lennen
- 79
- 3
2
votes
1 answer
mkdir can create folders with Windows reserved keyword names
I recently discovered that due to backward compatibility with DOS, the Windows OS has some reserved keywords that cannot be created in the file system, since these were originally used to write streams of data to other hardware like printers.…

MasterHD
- 2,264
- 1
- 32
- 41
2
votes
0 answers
ERR_CONNECTION_RESET error when trying to install extensions in VS Code W11
I am getting this error in VS Code trying to install an extension:
[error] net::ERR_CONNECTION_RESET: Error: net::ERR_CONNECTION_RESET
at SimpleURLLoaderWrapper. (node:electron/js2c/browser_init:105:7047)
at…

Iván López Justicia
- 21
- 2
2
votes
1 answer
How to set an arabic locale in C++ using std::locale class?
#include
int main(){
std::locale::global(std::locale("en_GB.utf8"));
}
From my reading this is the way to set a locale in my C++ program. But what string should I pass to the std::locale() constructor/object? if I want Arabic locale?…

beginner
- 27
- 1
- 6
2
votes
1 answer
Ctrl+click isn't opening links in my VS Code with Google Chrome
I can't open urls in my files in VS Code any more. Everything works to suggest the functionality is still there except for the part where it opens a link in my browser. The link changes color, and a popover shows:
But nothing happens when I…

JimmyTheCode
- 3,783
- 7
- 29
- 71
2
votes
1 answer
Windows 11 cmd window position
This used to be really easy to change in windows 10, 7, etc. But now they've gone and hidden it in Windows 11.
I'm looking to change the default location the Command Prompt window opens.
For reference I've included a screen grab of the window that…

user1544752
- 43
- 4
2
votes
0 answers
pgAdmin4: Instance '' is not persisted
I have used pgAdmin v3 and v4 to access my dB without any problem.
However, after deleted all the connection list and add new server or server group, I got this error:
"Instance '' is not persisted"
This occurs only at…

no_name
- 1,083
- 1
- 8
- 12
2
votes
2 answers
TypeORM: "No migrations pending" on windows 11
I have one nestjs app where I'm using typeorm, PostgreSQL . This app is working fine on linux/mac os. But in windows 11, no data found on migration table, that's why no table is created on PostgreSQL database. When I run npm run start:dev, it is…

sabbir
- 2,020
- 3
- 26
- 48
2
votes
1 answer
How do I create a profile in PowerShell 7.3.2?
I am unable to create a profile in PowerShell 7.3.2.
When I run notepad $PROFILE, the notepad prompts to create this Microsoft.PowerShell_profile.ps1 nonexistent file yet I see no file with this name in C:\Users\1999q\Documents\PowerShell.
When I…

iCantFindaGoodUsername
- 768
- 1
- 6
- 22
2
votes
0 answers
Why generating a PDF report creates an .HTML file?
I am currently learning how to use Odoo. I am doing the following tutorial on PDF report generation.
The instruction is to allow the user to generate a pdf file gathering the offers that have been made for the purchase of a real estate property
It…

Vincent Lagache
- 153
- 7
2
votes
1 answer
Git does not recognise files with umlauts correctly on Windows 11 after migration from Mercurial
I try a migration from a Mercurial repository to Git on Windows 11 in the following way in Git Bash:
MINGW64$ ls
hg-repo/ git-repo/
MINGW64$ cd git-repo
MINGW64$ git init
MINGW64$ ~/fast-export/hg-fast-export.sh -r ../hg-repo/ --force -A…

marli
- 529
- 10
- 19
2
votes
0 answers
How to get non-default Windows Firewall rules in PowerShell?
I've tried using Get-NetFirewallRule | fl * to see if I can tell the difference between Windows Firewall rules that were created by 3rd party programs vs rules that are native and present by default in Windows Firewall, but I couldn't.
Is there any…
user20682592