Category "windows"

How should I pass a function that runs an external file to be able to use multiprocessing?

I recently saw a module that allows me to run my code simultaneously which happens to be what I need. However, as I was testing with function, I ran into some e

How to detect if function is implemented in installed library?

I have my program for windows, which uses windows system library (let's name it "sysLib"), and it implements function "libFun1". My program can look like this:

Hashicorp Vault Server UI loads a blank screen

I am trying to run hashicorp vault server as windows service in windows 10 system. Vault server UI is showing as blank screen. Please refer my configuration det

can I build a production level windows application in Python

I'm trying to build a Windows Application in Python. But, sometimes I question myself, can this Application run on another person's PC without installing Python

How to fix "shutdown: NOT super-user" when using a shutdown script in Python? [duplicate]

I got this script import os shutdown = input("Do you wish to shutdown your computer ? (yes / no): ") if shutdown == 'no': exit() else: os

How to use python to create and modify windows shortcuts

Based on most of the postings I have read, I need to import winshell in order to create a Windows shortcut using python. But I am running Anaconda python and wh

powershell script to select directory

I would like to create a powershell function or cmdlet that would allow me to quickly navigate to files and function like the example below. Could someone enlig

Why there is a delay in running a console application just created?

I have noticed this for a while. After building a cpp console application, when i run it through command prompt, the first time it takes some time to run. The s

Atom IDE Tab Groups

I was a macbook user in my previous job. I used Atom IDE as a text editor there because I liked how it handled projects in the LHS tree view, and because I lik

Driver signing works for some machines only

I developed a kernel-mode driver and signed it with a "standard" code signed certificate because at this time I do not know about Win 10 driver signing. I test

how to create a windows shortcut to a folder in python

My problem is that i can't find a solution to create a shortcut to an folder with python. Only to a file, code example: shell = Dispatch('WScript.Shell') shortc

Is there a pathlib equivalent to os.path.basename under Windows?

When running Python 3.9.5 on Windows 10: Path("c:/temp/one/two/").name == "two" PurePath("c:/temp/one/two/").name == "two" PureWindowsPath("c:/temp/one/two/").n

How to remove "Restore Previous Versions" Context Menu in Windows 10 [closed]

Windows 10 is showing a "Restore previous version" context menu entry. How to remove this context menu entry?

Checking the last accessed files on Windows 10 in C++

I'm writing a small tool to help my workflow as an artist, and it'd be neat if it could check a list of recently accessed files on my computer for a *.psd (phot

GCPW Azure Cloud Windows

I have installed Google Credential Provider on an Azure Windows 10. However, when I reboot the machine there is no option to sign in with Google. Do I have to d

Using Task Scheduler to run Python when I get a Windows Notification

I'm trying to run a script every time I get a Windows Action Center notification. I think Task Scheduler would allow me to do this relatively easily, but I'm un

windows AD server has been corrupted

I have used windows 2008 AD since 2013.and I have secondary domain as well. unfortunate due to hardware failure the primary domain was corrupted. I configured a

Object reference not set to an instance of an object on mySQL Installer while configuring mySQL Server 8.0.25

I recently deleted mySQL and now when i am trying to reinstall it is giving me an error while configuring the mySQL Server i have tried deleting everything from

Flutter windows build: Nuget is not installed

I uninstalled Visual Studio 2019 and installed it as 2022. I reinstalled Flutter. When building Flutter desktop, the following problem is repeated. If I run it

Manage Taskbar Align Windows 11 - Powershell

I want align the taskbar of windows 11 to the left side using PowerShell. I did this: New-ItemProperty "HKLM:\Software\Microsoft\Windows\CurrentVersion\Explorer