Category "windows"

How do I get a WinUI Control's parent Window?

I need to get a reference to the parent Microsoft.UI.Xaml.Window for a Control. Is there a way to do that in Project Reunion 0.5? Window.Current does not work i

I can't download the mongoose.exe

The Story So, I wanted to see what a small web server was like, and I discovered mongoose, a nice, small, simple web server for static sites. Then the horrors

Schedule a task to run every friday, but avoid to run it twice if it's done and computer rebooted on friday + do it next day if computer off on friday

I've tried to schedule a specific task with Python with various methods: rolling my own scheduling (with time.sleep(3600) and check every hour), see below tryi

Is there a way in C# to find the current location of a shortcut target programatically?

Windows shortcuts use the Distributed Link Tracking service to get the current location of shortcut target which has moved or renamed when the link is clicked o

Editing Default Commands on Windows Command Prompt

I am creating a Windows virtual machine and would like to edit the default commands for the command prompt like tree so that when that command is typed it will

Packaging an .exe file to MSIX and signing it

I have developed an application and want to publish to the microsoft store. I have tried using advanced installer but unless I pay $500 I cannot publish it i th

Why does my file sometimes disappear in the process of reading from it or writing to it?

I have an app that reads from text files to determine which reports should be generated. It works as it should most of the time, but once in awhile, the program

auto-py-to-exe stuck at Loading module hook 'hook-gevent.py'

I am trying to convert the code to exe with auto-py-to-exe. It stuck at "Loading module hook 'hook-gevent.py'...". import time, pyautogui, keyboard, threading f

PFXExportCertStoreEx to export private and public keys

I have used PFXExportCertStoreEx API to successfully export public and private key of a RSA certificate from Windows key store. Can the same PFXExportCertStoreE

Copy Files from Windows to Windows Subsystem for Linux (WSL) [closed]

I have enabled developer mode and installed Bash on Ubuntu on Windows. My home directory can be found under %localappdata%\Lxss\home\<ubun

Is there anyway to debug a windows kernel with secure boot on?

Is there anyway that i can debug a windows kernel that has secure boot on? when i try to turn on debug mode when secure boot on windows says that i need to turn

Time maximums in Windows shell and Why?

I made a simple countdown in Windows Batch Scripting: @ECHO OFF MODE con: cols=13 lines=2 COLOR 4f TITLE Countdown Timer SET /p m=? Minutes: SET /a s = 60 * m

Determine file owner from a Windows kernel-mode driver

Using C in a Windows in a Kernel Mode Driver using KMDF, how do I determine the owner a of file? I searched high and low but could not find any hint. Only C++

Cannot install spacy in pycharm

I've tried installing spaCy numerous times. At first I was getting an error noting that C++ needed to be upgraded to version 14. Now I'm getting a number of err

a javascript error occurred in the main process, Unity hub

After I installed Unity hub and tried to Launch it in Windows 10 , "a javascript error occurred in the main process" appeared. Anyone encountered the same err

how can i find how many hdd or ssd has a computer [duplicate]

I have this case and I find the size of any file. If I don't know how many disks has my computer(for example C:,D:,Z:...or "panos:" or "name:"

PostgreSQL timezone takes Windows OS timezone automatically

While installing Postgresql DB 13.0-1 x64 on Windows, if I comment the "timezone" key on postgresql.conf file then "show timezone" sql query gives me "GMT". How

Can't open the mysql.plugin table. Please run mysql_upgrade to create it

I have downloaded mysql ZIP from here https://dev.mysql.com/downloads/file/?id=467269 Then extracted it, renamed my-default.ini to my.ini, set basedir = D:\A

Running Windows container's command prompt in admin mode

I am running Windows Nanoserver in a container.The nanoserver contains only the command prompt and lacks powershell. I want to execute certain commands inside t

Create React App Error when trying to run command npx create react app: spawn UNKNOWN

When I try to run a simple npx create-react-app i received this error: D:\>npx create-react-app abc npx: installed 67 in 4.255s Creating a new React app in