Questions tagged [windows-11]

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

742 questions
4
votes
1 answer

Is there methods to detect Windows-11 vs Windows-10 in Firefox browser?

Currently,     On Windows-11 devices I'm getting navigator.userAgent value as Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36 Edg/103.0.1264.77 which is same as Windows-10. To…
4
votes
0 answers

Windows commands inside WSL hang a very long time

wsl --version WSL version: 0.60.0.0 kernel version: 5.10.102.1 WSLg version: 1.0.34 MSRDC version: 1.2.2924 Direct3D version: 1.601.0 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22621.160 Distro…
keai4le
  • 623
  • 2
  • 7
  • 13
4
votes
2 answers

R 4.2.0 doesn't start in RStudio (Windows 11)

R 4.2.0 does not start in RStudio. Attached is the screenshot. It says, "The R session process exited with code - 1073740791" R 4.2.0 starts normally outside RStudio. Any help would be appreciated. Thank you.
Paul
  • 107
  • 4
4
votes
0 answers

How to write a Shell extension in C++ for new Windows 11 context menus?

There's already a question about writing Shell Extensions up to Windows 10 here: How to write a shell extension in C++? Since Windows 11, the right-click context menu has changed: A new Share menu has also been created: How do I create an entry in…
Mickaël C. Guimarães
  • 1,020
  • 2
  • 14
  • 32
4
votes
0 answers

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 in 2 seconds for them. My other colleague used the…
P. P
  • 163
  • 1
  • 9
4
votes
2 answers

How to use shebang in windows for Python?

Code #! C:\Python310\python.exe import os import sys print(f"PY_PYTHON={os.getenv('PY_PYTHON')}") print(f"{sys.version=}") print(f"Shebang : '{open(__file__).read().splitlines()[0]}'") cmd = 'py -0p' print(cmd) os.system(cmd) cmd = f'file…
Smart Manoj
  • 5,230
  • 4
  • 34
  • 59
4
votes
1 answer

Live Server does not open in Chrome on Windows 11 and WSL2

I am working in WSL2 on Windows 11 trying to run an index.js file with Live Server. Whenever I open Live Server it seems that I can only do so when I use Microsoft Edge. This seems to add another layer of problems because the JavaScript does not…
4
votes
2 answers

Parcel Error - module not found @parcel\fs-search\fs-search.win32-x64-msvc.node

I recently updated my windows from windows 10 to 11. ** Update ** I've reinstalled windows 10 again, but I'm receiving the same error When I rund yarn start, or npm start, I receive the below error λ yarn start yarn run v1.22.15 $ parcel…
4
votes
2 answers

UWP Toast Message not apearing in Windows 11

UWP Toast notification is not displaying(appearing in front) in Windows 11 Beta But same thing is working on Windows 10 Sample Code: var toastNotifier = ToastNotificationManager.CreateToastNotifier(); ToastContent content = new…
deba
  • 87
  • 5
4
votes
2 answers

Prevent Android app from running on Windows 11

As new Windows 11 has Android app support, it also increases the risk of app tempering. How can we prevent our app from running on a Windows 11 device?
rockhack
  • 55
  • 7
3
votes
0 answers

TLS1.0 no longer working after upgrade of service from .Net Core 3.1 to .Net 7.0

(Edited: have now confirmed that the thing that stopped this working was NOT a windows update, but an update to our service app) We have a .Net 7 Web API service, running using Kestrel. This service used to work, but it seems that upgrading it from…
GPW
  • 2,528
  • 1
  • 10
  • 22
3
votes
2 answers

Julia: Julia 1.9.0 :ERROR: LoadError: Unable to open libLLVM! when llvm is installed in Windows environment

I get an error message when I add SeisIO package in Julia 1.9.0 (Windows 11 environment),which introduces me that"ERROR: Error building LightXML:ERROR: LoadError: Unable to open libLLVM!".Codes are following: (@v1.9) pkg> add SeisIO; build;…
3
votes
2 answers

How can I change powershell's $PROFILE to point to the local Documents folder instead of the one on onedrive

I just installed windows 11 on my new PC, prior to this I was using Windows 10. I was setting up my terminal when I realized that the $profile environment variable points to a onedrive document folder rather than a local folder like how it does by…
eclipse
  • 197
  • 1
  • 5
  • 16
3
votes
1 answer

How to add my right-click context menu entry to the modern context menu in Windows 11?

I've written this PowerShell script to automatically block executables inside a folder in Windows Firewall $currentdir = get-Location cd $currentdir function FirewallBlock { param ($exes) $exes | ForEach-Object {…
user20225877
3
votes
2 answers

PowerShell, determine if we are running on Windows 10 or Windows 11

If I run the following version test on Windows 10 or Windows 11, they both report $Major as 10 and $Minor as 0, so this test is not sufficient to determine if we are running on Windows 10 or Windows 11. [version]$OSVersion =…
YorSubs
  • 3,194
  • 7
  • 37
  • 60
1 2
3
49 50