The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 1,860 other subscribers

Archive for the ‘Windows’ Category

Windows 10/11: how to check if Hibernation is enabled or disabled

Posted by jpluimers on 2024/10/14

A long time ago I wrote about How To Fix Missing Hibernation Option On Windows 10.

Back then I needed to enable it (using powercfg.exe /hibernate on or disable using powercfg.exe /hibernate off), but I forgot about how to query this setting.

[Wayback/Archive] windows check if hibernation is enabled – Google Search gives me a result which is somewhat workable, but hopefully some day I find a better solution than in [Wayback/Archive] How to see from commandline (!!!) if hibernation is on or off? – Windows 10 Forums:

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11 | Leave a Comment »

video memory required for 1920×1080 – Google Search

Posted by jpluimers on 2024/10/11

The amount of memory is indeed not that big as I found out via [Wayback/Archive video memory required for 1920×1080 – Google Search at [Wayback/Archive] memory – How do I calculate video RAM requirements? – Super User:

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11 | Leave a Comment »

Downloading a file from the Windows console without first installing a command-line tool

Posted by jpluimers on 2024/10/09

Note that the below methods likely will cause security warnings if a Windows machine has been properly configured, but in most cases at least one of them works.

  1. using cURL (Widows 10 and up)
    curl --url https://speed.hetzner.de/100MB.bin --output %TEMP%\100MB.bin
  2. using [Wayback/Archive] certutil | Microsoft Docs (at least Windows 7 and up; needs UAC elevation)
    certutil.exe -urlcache -split -f https://speed.hetzner.de/100MB.bin %TEMP%\100MB.bin
  3. using PowerShell (at least Windows Vista and up)
    powershell.exe -Command (New-Object System.Net.WebClient).DownloadFile('https://speed.hetzner.de/100MB.bin','%TEMP%\100MB.bin')

I think it works for all versions of curl, certutil, and PowerShell though I did not have anything older than up-to-date Windows 7 (having PowerShell version 3) and recent to test on.

Read the rest of this entry »

Posted in *nix, *nix-tools, .NET, Batch-Files, CommandLine, cURL, Development, Power User, PowerShell, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Development, Windows Vista | Leave a Comment »

Some links on LaunchTM.exe, as I had been unaware Windows can use it to launch TaskMgr.exe

Posted by jpluimers on 2024/10/04

A while ago I learned that since Windows 8, sometimes it uses LaunchTM.exe (which is not even on Wikipedia) to start TaskMgr.exe.

I could find little information about the why, so here are some links with information on when LaunchTM.exe is used (which is confusing) and what command-line parameters TaskMgr.exe can get (also confusing as the order of parameters matter):

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Yes, Windows user names can contain spaces

Posted by jpluimers on 2024/10/02

I forgot what triggered me querying for [Wayback/Archive] can windows user names contain spaces – Google Search.

Boy I was surprised that the answer is yes.

Following that I was totally not surprised that:

Read the rest of this entry »

Posted in Power User, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1 | Leave a Comment »

Windows 10/11: Skip Security Questions When Adding Local User

Posted by jpluimers on 2024/09/30

Based on [Wayback/Archive] Windows 10/11: Skip Security Questions When Adding Local User, [Wayback/Archive] Remove Security Questions when setting up Local Account in Windows and others:

  • if during initial Windows 10/11 setup you add a user with a password, then it will ask you for 3 security questions
  • if you do not want these 3 security questions:
    1. leave the password blank when adding the user
    2. after first logon, press Ctrl-Alt-Del and change the password from blank to an actual password

Via [Wayback/Archive] windows 10 skip security questions – Google Search.

–jeroen

Posted in Authentication, Power User, Security, Windows, Windows 10, Windows 11 | Leave a Comment »

NTFS Sparse Files For Programmers

Posted by jpluimers on 2024/09/25

Need to check this out some day: cs.exe compiled from [Wayback] sparse.zip which you can download from [Wayback/Archive] NTFS Sparse Files For Programmers

Read the rest of this entry »

Posted in C, C++, Development, NTFS, Power User, RoboCopy, Software Development, Visual Studio C++, Windows, Windows 10, Windows 11 | Leave a Comment »

Thread by @LetheForgot to @SwiftOnSecurity on Thread Reader App – Windows boot recovery

Posted by jpluimers on 2024/09/23

[Wayback/Archive] Thread by @LetheForgot on Thread Reader App:

What we did was use the advanced restart options to launch the command prompt, skip the bitlocker key ask which then brought us to drive X and ran “bcdedit /set {default} safeboot minimal“which let us boot into safemode and delete the sys file causing the bsod.

Not scalable at all but let us get vital systems running while we try to solve the bootloop en masse

Don’t forget to renable normal booting afterwards by doing the same but running “bcdedit /deletevalue {default} safeboot

Just in case another event like the 2024 Crowdstrike debacle happens.

--jeroen

Posted in Encryption, Power User, Security, Windows | Leave a Comment »

Hopefully by now the choco client will be more resilient and informative about Chocolatey maintenance windows (and maybe even about any disruptions mentioned at status.chocolatey.org)

Posted by jpluimers on 2024/09/19

Reminder to check-out of the 2015 issue mentioned in the tweets below has been had any progress.

At the time of tweeting, choco has no notion of [Wayback/Archive] status.chocolatey.org which would be very helpful to point to in case of errors on time-outs on chocolatey server calls especially if it could interrogate and inform of maintenance windows and outages when things fail on the client side.

Read the rest of this entry »

Posted in .NET, Chocolatey, CommandLine, Development, PowerShell, PowerShell, Scripting, Software Development, Windows | Leave a Comment »

Shadow IT has entered the chat – got caught running scripts again : sysadmin

Posted by jpluimers on 2024/09/05

Shadow IT has entered the chat

Many companies have hardly any idea how many scripts are being used by their people to get the chores of day to day work done.

Read the rest of this entry »

Posted in Batch-Files, Development, Power User, PowerShell, Python, Scripting, Software Development, Windows, Windows Development | Leave a Comment »