Questions tagged [windows]
Writing software specific to the Microsoft Windows operating system: APIs, behaviours, etc. GENERAL WINDOWS SUPPORT IS OFF-TOPIC. Support questions may be asked on https://superuser.com
windows
168,795
questions
0
votes
0
answers
14
views
Running .NET Framework 4.7 DLLs in a Docker Container on Windows
I have an application for which I only have the compiled DLL files, but I do not have the source code. Is it possible to add the DLL's into a Docker container and run them using .NET Framework 4.7 on ...
0
votes
0
answers
26
views
Getting Windows user's name in "Firstname Lastname" format when user is part of a group
I'm trying to get the name of the currently logged in Windows user in the format "John Doe". I'm not sure if there's an accepted term for this, but think, the name you see when you bring up ...
0
votes
1
answer
50
views
My python chat server does not send messages properly
When sending a message for the send time from the client it is not sent to the other client.
I'm fairly new to Python and sockets. some of the commented off code has been code I've tried but has not ...
0
votes
0
answers
9
views
I'm trying to show slots for pfkcs11 and I'm using windows but instead I get an error that the library failed to load
I am trying to show slots using softhsm but I get an error.
The code and error is:
softhsm2-util --show-slots
ERROR: Could not load the PKCS#11 library/module: LoadLibraryA failed: 0x0000007E
ERROR: ...
0
votes
0
answers
22
views
A seemingly stopped HTTP service continues to work
I wrote a python function, detailed in another post, which communicates with an HTTP-based RumbleDB server, running on my local machine, in order to evaluate JSONiq queries.
I tested the function in a ...
0
votes
0
answers
8
views
last submission cannot be restored as the driver code has been updated GeeksForGeeks
As you can see its showing last submission cannot be restored as the driver code has been updated
Issue: Unable to Retrieve Previous Submissions on Geeks for Geeks
I have been practicing Data ...
-2
votes
0
answers
14
views
Windows Load Balancing [closed]
I was required to setup load balancing on two servers A and B. I was using the windows server manager to do this. These are steps I used on Network Load Balancing Mangager
Open NLB Manager:
Step 1: ...
0
votes
0
answers
19
views
Cannot open source file "crtdefs.h" in VSC (CUDA script), but CUDA compilation works
My CUDA script (.cu) can be compiled without error, but #include <stdio.h> line raises VSC's error:
#include errors detected. Please update your includePath. Squiggles are disabled for this ...
0
votes
0
answers
10
views
Users cant edit own personal info in AD
I faced such a problem that users cannot fill in the office and description fields in AD. Previously, a script worked to add the computer's name to the user when logging into the session. It stopped ...
0
votes
0
answers
33
views
Unexpected rounded corners in Qt Frameless Widget
Unexpected rounded corners in Qt Frameless Widget
I use Qt and Windows API to create a window with a custom title bar, and I want this window to have some of the effects of a Windows window (maximize, ...
-4
votes
0
answers
271
views
Your Device ran into problem and needs to restart [closed]
Your Device ran into problem and need to restart
I am facing this problem since last night.
Laptop is restarting again and again but it does not work.
My both laptops are not working.
Microsoft ...
-1
votes
0
answers
13
views
Error when trying to install Android SDK tools on Windows
When running the command in cmd sdkmanager "platform-tools" "platforms;android-33", it asks to accept the terms with my response Y, and then displays:
Accept? (y/N): y
Warning: ...
0
votes
0
answers
24
views
Native file open dialog in Windows Ruby
As far as I understand, there are no gems which help to open native file dialogs, so I am interested in writing one, specifically for Windows
I'm stuck at the first step which is getting the CLSID for ...
0
votes
0
answers
20
views
Some WinUI rendering (e.g. showing `ContextFlyout`) very slow on client’s computer
When running my framework dependent, unpackaged, .NET 8, WinUI 3 app (with all the latest dependencies) on my client’s computer (Windows 11) some UI functionality is very slow.
Examples:
When right-...
0
votes
0
answers
29
views
Windows transfer all settings made with mmc snap-in
I have 3 identical laptops, and I have to create identical environments for them. This includes adding snap-in with mmc. I did it on one of them - there a lot of settings: services auto run, messages ...
-2
votes
0
answers
21
views
Is it possible for a windows desktop application to have user's OS credentials to log into the application?
The windows desktop application will not have a login screen. Instead, once the user is signed in to the PC, the user will be automatically signed in to the application. This will also need a Single ...
-1
votes
1
answer
29
views
Attempting to run a MC server and I keep getting Error: unable to access jarfile
I'm trying to run a minecraft server and when I type the command:
java -Xmx1024M -xms1024M -jar minecraft_server.1.21.jar
and I get - Error: unable to access jarfile minecraft_server.1.21.jar...
I ...
0
votes
1
answer
15
views
Pywin32 Windows Service Script Not Connecting with Main Function and Service Unable To Finish Starting?
I'm working on a python app that, among other things, works to block common RCA applications. Because I want it to be able to run on start up and in the background, I figured the best way was to make ...
-1
votes
0
answers
14
views
Cannot add task ':groovydoc' as a task with that name already exists
I am working in an upgrade of a grails project from version 2.0.0 to 3.0.0 and jdk 8 on windows, I am getting the following error message:
Build cache is an incubating feature.
Parallel execution is ...
1
vote
1
answer
27
views
Powershell script to clear Windows "Recent Files" doesn't clear files, but clears quick access shortcuts somehow
I found and modified this code to get the recent files and remove any that were made on the day the script is run:
#remove from past day
$limit = (Get-Date).AddDays(-1)
$path = "$($env:...
0
votes
1
answer
30
views
Can't Install Flutter on Windows
I'm trying to install Flutter using VS code and it shows this error:
What happened:
Firstly, I had Flutter installed and worked fine. All projects build fine, and everything is going well. I tried to ...
-1
votes
0
answers
31
views
WinRT prompt for MddBootstrapInitialize2 function suggests that this application cannot be started
I want the window to have a frosted glass effect, so I use windowsAppSdk in my win32 program. but when running into this code:
#include <Windows.h>
#include <MddBootstrap.h>
#include <...
0
votes
0
answers
9
views
failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec, command execution failed, CreateProcess error=193
I am trying to run a spring-boot maven project in local environment.
Build is failing due to error.
Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (spec1) on project abc-xyz-...
0
votes
0
answers
14
views
ASP.NET Windows Service starting earlier than it should
I currently have a ASP.NET console app that is configured as a Windows Service and continuously runs all day.
From my experience, the whole process takes about 6ish minutes to complete (database ...
0
votes
0
answers
50
views
How to compile for Linux when on Windows using Code::Blocks?
I have a console app which I want to compile for Linux.
I don't have access to a Linux operating system at the moment, but I really do need to compile this program for as many operating systems as ...
-1
votes
0
answers
14
views
How to setup TensorFlow under Windows WSL2 with TensorRT support?
For 2024-07-18 I found that to setup GPU support for TensorFlow for nVidia cards with TensorRT under Windows 10 (19041) WSL2 and above is possible with this minimal (and maximal to date mentioned) ...
0
votes
0
answers
11
views
dill: how to skip ctypes pointers
I need to dump and load my object which includes objects from third party modules over which I have no control. These objects contain ctypes pointers that dill (pickle) cannot save:
ValueError: ctypes ...
0
votes
0
answers
21
views
Why do I need to use the "rebuild PE Header" option when adding an import with CFF EXPLORER?
I used the CFF EXPLORER Import Adder function for days, by just using the option "rebuild import table" and nothing else. Everything was fine for days.
Suddenly one day the application I ...
-1
votes
0
answers
33
views
Problem building Windows Service project using CLI (C#)
I want to build a Windows Service project using CLI (dotnet or msbuild) to be able to make continuous delivery of a new project.
No problem to build a Windows Application, but, if I use dotnet build ...
0
votes
0
answers
9
views
How to programatically find if Windows Hello Facial Recognition is enabled
I'm seeking some advice on how to programmatically determine if Windows Hello Face Recognition is enabled.
I initially thought this could be done easily via the registry. However, I haven't found the ...
0
votes
0
answers
5
views
Can I use remote desktop connection into a private address on a different network via RD Gateway server
I am trying to see if there is a way of having a terminal server (Windows 2019 VM) in the AWS on a private subnet and private IP address and be able to RDP by bypassing my existing RD Gateway server ...
-3
votes
0
answers
13
views
Shared folder between windows 10 Host and Alma Linux linux 9 with hyper v as the hypervisor [closed]
I have a host machine which is windows 10 and a VM which is Alma Linux 9. I need to create a shared folder between the 2, with HYper V as the hypervisor. Is it possible?
I have tried creating a samba ...
0
votes
0
answers
24
views
Why Wireshark doesn't capture outgoing api requests made by localhost app backend?
I'm trying to use Wireshark to capture outging network traffic made by a localhost app's backend. Specifically, this "network traffic" is an api request made by the localhost app's backend ...
-1
votes
0
answers
11
views
Is it possible to create a fully-featured Kotlin multi-platform web browser using GeckoView for Android, Windows and macOS?
Currently, If I need to create a fully-featured web browser for all three major platforms, I have to:
iOS and iPadOS: Program in Swift and use WKWebView (WebKit) for the browser engine which lacks ...
-4
votes
0
answers
80
views
Why does the program freeze? [duplicate]
I've written the following code where two pointers are: char* and int*. They all point at the 'sym' variable that just contains one symbol. Just for fun, I decided to change the symbol using the int ...
0
votes
0
answers
9
views
Syntax Error in Next.js v13.5.4 Deployment on IIS Server (Windows)
I am experiencing difficulties deploying my Next.js v13 application on a Windows Server running IIS. After deployment, I encounter a syntax error that prevents the application from running properly. ...
0
votes
0
answers
26
views
CMAKE: External project, configure fails on GithubActions - works locally
I made a function that downloads a ZIP then unpacks it, and then copies part of the subtree to the build dir (i need some resources in my build dir). The function works here on my Windows machine, ...
1
vote
0
answers
33
views
How do I make CMake find default system libraries to link against without manual script manipulation?
I am trying to build a CMake project on my new pc, I have installed the appropriate Windows 10 Dev kit. But when trying generate the build files using cmake, I am getting linking errors by the cmake's ...
-1
votes
0
answers
17
views
How to Create a Custom passfilt.dll for Active Directory Password Policy Enforcement? [closed]
I need to create a custom passfilt.dll to enforce a more stringent password policy in our Active Directory (AD) environment. The default AD password policy is not sufficient for our security ...
-3
votes
0
answers
10
views
Problem after Join Domain using a Read-Only Domain Controller [closed]
I successfully joined the domain with RODC following this guide. After the first reboot, I was able to log in to the domain account on the computer. However if I restart the computer again, then I get ...
0
votes
0
answers
23
views
Using IIS MaxQueueItemAge performance counter
I want to use the built in performance counter MaxQueueItemAge from the "HTTP Service Request Queues" to measure how long the latest request to my application waited in the IIS queue.
This ...
-1
votes
0
answers
19
views
Does anyone know where to find full explanations of all SysInternals Process Monitor `operations` and `result` codes?
I'm using SysInternals Process Monitor and I wanted to find out a full explanation of each operation and each result code that can appear in the ProcMon event list.
I kind of understand a few of them, ...
0
votes
1
answer
36
views
Python - Clear and Print to Same Line for Multiple Lines on Command Prompt
I want to clear and update the same lines on command prompt for each file it processes with Python.
First I tried using ANSI codes using sys.stdout.write('\033[F\033[F\033[F') and sys.stdout.write('\...
2
votes
1
answer
32
views
Can Client use the same Socket object to reconnect to remote after disconnect
Maybe the simple answer is no, a new socket object must be created each time... but my situation is.
Client creates socket and uses ConnectAsync to connect to remote server
ConnectAsync Completed ...
-8
votes
0
answers
60
views
Windows Logon Screen Keylogger in C [closed]
I got this code for keylogging in C. It does not work for Windows OS logon screen, I think that OS blocks it somehow. What can be done to allow logging in the login screen?
#include <stdio.h>
#...
0
votes
0
answers
35
views
Weird error when injecting a DLL into a process - OSSL_QUIC_client_method could not be located in libcurl-4.dll
I have one of the weirdest problems I have ever encountered, and I can't find anything online about it.
For some context: I have to emulate malware for my job, and this currently is requiring me to ...
0
votes
0
answers
25
views
Azure - SFTP connection from Azure service to Azure blob [closed]
I wrote a tool in C# that (among other things) downloads a file using an SFTP connection. This tool seems to work fine for most connections, but recently caused an error while downloading a file from ...
0
votes
0
answers
16
views
Nordic Sampo S2 RFID Scanner
I have a RFID scanner Nordic Sampo S2.
I have been trying to get some diagnostic data out of it using C++ but the function always ends up returning 1 which means error:
ret = NurApiDiagGetReport(hApi, ...
1
vote
0
answers
30
views
Executing sfc.exe /scannow on Remote Computer Using PowerShell Doesn't Show Process
I'm attempting to run sfc.exe /scannow on a remote computer using PowerShell's Start-Process, but I'm unable to confirm whether the process starts on the remote machine. When I check for any sfc ...
0
votes
0
answers
17
views
windows python app ignore signal handler and close immediately on any signal
I have two simple python3.11.6 scripts.
One is just printing PID and waiting for signal
Second one is trying to send some signal. For example SIGINT into first script.
First script should just print ...