cmder can not run Contig with parameters
I want to replace default cmd with cmder but cmder can't run Contig to defrag my frequently use folders on the hdd. The command is Contig.exe -v -s E:\WarThunder which run fine on cmd but it just pops...
View ArticleDisplay switch with a timeout
I have my PC connected to my monitor and TV. I want to be able to switch my display to the TV and launch an application through a script.As I do this, I would like to set the audio to be the TV...
View Article"Ghost" USB Drive in My PC
Ever since I switched SSDs and installed Windows 10 Pro in the one I'm using right now, I see a "ghost" drive (a not existent drive in gray) that only says "Insert a Disk in USB Device (F:)" when I...
View ArticleIP address of the SMTP GMAIL
would you know what is the IP address of the SMTP GMAIL(It allows you to send mail from a batch windows)@echo offset repertoire="C:\Mon repertoire\"set emetteur=email.emmeteur@domaine.comset...
View ArticleHow to avoid getting locked out of a Windows Server 2022 acccount
Fresh install of windows server 2022, several admin accounts with random names - after a while, all of them get locked with "Too many tries with wrong password". I know ppl are bruteforcing me 100% of...
View ArticleWhere is windows template folder for any file type?
I'm not talking about office template, I'm talking about template for any file type when you create a new one (when searching on Google I get only Word templates answer): if you put a file .ext in some...
View ArticleHow to get Task Manager's "Paged pool" process metric in PowerShell?
Windows Task Manager can display a metric called "Paged pool", per process:However I can't find this metric among Get-Process or Get-CimInstance "Win32_Process" properties in PowerShell (7.x). Is it...
View ArticleWindows 10: How to access the advanced boot menu before booting (which fails)...
I am currently stuck in a never-ending boot sequence in Windows 10 after failing to properly shutdown due to a misbehaving USB thumb drive. How can I escape? This is how it came about:Before...
View ArticleHow to ensure full path in Windows batch FOR loop
I've created a generic batch (or Windows Command) file that lets me loop through the contents of a directory and call a command for each item.IF a%1==a ( set _DIR="%CD%") ELSE ( set _DIR="%~1")IF...
View ArticleHow to index Desktop in Windows 11 where Desktop is part of OneDrive
Since I use OneDrive and Desktop is part of my OneDrive Backup folders, it's located at %UserProfile%\OneDrive\DesktopI can't find the OneDrive directory and hence can't find Desktop to index; how do I...
View ArticleRunning Python script in Scripts from different working directory in Windows
I have pip installed a library (intelhex) with Python 3.5.1, which also places a few scripts in the Scripts subdirectory of the Python installation:>dir "%pythonpath%"\hex2* Volume in drive C is...
View ArticleUse remote laptop screen as extra monitor while connected with Remote Desktop
I have two laptops on my table, which are my private and work laptops, both running Windows 10.I am using Remote Desktop to connect from my private laptop to my work laptop which are both connected via...
View ArticleWindows alternative for call_usermodehelper [migrated]
Is there any windows alternative for call_usermodehelper ?purpose is to run a batch file from a NT Native application. Tried using NtCreateUserProcess. But It crashing whenever it starts.The code which...
View ArticleCan I use Task Scheduler or Group Policy Management Console to close...
I have created a task in Task Scheduler for the Microsoft Sticky Notes app downloaded from the Microsoft Store, to open 30 seconds after I turn on my PC and enter the Desktop, but in order for this...
View ArticleCan I change the system's "Browse for Folder" dialog globally?
As far as I know, everyone hates the "Browse for Folder" dialog:This dialog is always too small, rarely remembers locations well, and worst of all: forces you to navigate your entire computer using a...
View ArticleWindows - Is there any way to detect if a Remote Desktop Session window on my...
I have multiple remote desktop sessions (RDP) to other servers running on my desktop. Occasionally, one will get booted either due to network problems or the RDP session being launched somewhere else...
View ArticleMove Windows Recovery from C: onto its Own Recovery Partition
While setting up this home Windows installation some months back I managed to end up without a recovery partition for complicated reasons I won't get into, but I'd like to have it back. I have...
View Articledoes ntfs writes files two times when compression is used?
I've read in this answer https://superuser.com/a/1358858/1506333 that NTFS does double writes, uncompressed data first, then compressed, is it true?Motive Nº1: It will kill SSD much faster, since it...
View ArticlePaste as plain text, but also remove any new-line and carriage return characters
I want to copy some text from a webpage or a document and paste it somewhere else after stripping all formatting and whitespace.*** Currently, I do this by:Copy the required textPaste the text in an...
View ArticleDoes NTFS write files two times when compression is used?
I've read in this answer https://superuser.com/a/1358858/1506333 that NTFS does double writes, uncompressed data first, then compressed, is it true?Motive Nº1: It will kill SSD much faster, since it...
View Article