[Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “Hey @MicrosoftHelps, in the past @Windows 10 upgrades required around ~10Gbytes of free disk space. It now has increased to over 20Gbytes. @WindowsUpdate Why? This is not fun when upgrading a bunch of regression VMs. “:
Archive for the ‘Windows 10’ Category
Working around Windows 10 upgrade 21H2 suddenly requiring 20+GBytes instead of 10+.
Posted by jpluimers on 2023/10/30
Posted in Power User, Windows, Windows 10 | Leave a Comment »
Jen Gentleman on Twitter: “Did you know that if you press CTRL + ALT + Tab then the ALT + Tab UI will stay open without you having to continue holding the keys down? 👀” / Twitter
Posted by jpluimers on 2023/09/25
[Wayback/Archive] Jen Gentleman 🌺 on Twitter: “Did you know that if you press CTRL + ALT + Tab then the ALT + Tab UI will stay open without you having to continue holding the keys down? 👀” / Twitter
I didn’t, so I suggested this:
[Wayback/Archive] Jeroen Wiert Pluimers on Twitter: “@JenMsft Works best if you do not use one single hand to press these keys at once.” / Twitter
–jeroen
Posted in Keyboards and Keyboard Shortcuts, Power User, Windows, Windows 10, Windows 11 | Leave a Comment »
Figuring out the cause of “Controlled Folder Access” error messages.
Posted by jpluimers on 2023/09/13
Still need to investigate why every now and then Windows Remote Desktop causes this error:
C:\Windows\System32\mstsc.exe has been blocked from modifying %userprofile%\Documents\ by Controlled Folder Access.
Related links about EventID numbers 1123, 1124 and 5007:
- [Wayback] Is anyone using Windows Defender Controlled folder access? – Page 4 – Windows 10 Forums explaining the below Event Viewer (eventvwr.exe) custom view:
<QueryList> <Query Id="0" Path="Microsoft-Windows-Windows Defender/Operational"> <Select Path="Microsoft-Windows-Windows Defender/Operational">*[System[(EventID=1123 or EventID=1124 or EventID=5007)]]</Select> <Select Path="Microsoft-Windows-Windows Defender/WHC">*[System[(EventID=1123 or EventID=1124 or EventID=5007)]]</Select> </Query> </QueryList>
- [Wayback] Protect important folders from ransomware from encrypting your files with controlled folder access | Microsoft Docs
The following table shows events related to controlled folder access:
REVIEW CONTROLLED FOLDER ACCESS EVENTS IN WINDOWS EVENT VIEWER Event ID Description 5007Event when settings are changed 1124Audited controlled folder access event 1123Blocked controlled folder access event - [Wayback] View attack surface reduction events | Microsoft Docs
This is the place in the Settings where you can enable the Controlled Folder Access feature:
Posted in Power User, Windows, Windows 10 | Leave a Comment »
Microsoft Store: update all apps from the command-line
Posted by jpluimers on 2023/09/12
TL;DR
I have converted the below PowerShell one-liner into this batch file (the ^| syntax is to ensure the pipe runs within PowerShell, not within the batch file):
PowerShell 'Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" ^| Invoke-CimMethod -MethodName UpdateScanMethod'
The why and how
Since I am a CLI person, and some Windows applications are only available on the Microsoft Store, I wanted to be able to initiate an update cycle from the command-line interface.
So I searched for [Wayback/Archive] microsoft store update all apps from the command-line – Google Search and found these to be valuable:
Posted in Batch-Files, Development, Microsoft Store, Power User, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »
Windows 10: whitelisting domains so updates still work
Posted by jpluimers on 2023/09/08
The internet access for my mentally retarded brother is fully based on whitelists.
It’s a simple reasoning: his mental abilities is basically a fixed box that does not grow. If he gains one part, he loses on another part.
This makes his risks assessments low and unpredictable at best, especially on the rapidly changing internet, hence whitelisting at the router level.
Whitelisting also implicates I need to update the ever changing list of domains that Windows 10 uses to keep newer versions up-to-date.
If you don’t, then you get an error [Wayback] 0xc1900223 while searching for or a applying updates. The description of that error isn’t accurate; what it actually means is that your computer cannot connect to one or more of the many update locations.
- [Wayback] Get help with Windows 10 upgrade and installation errors states:
Error What it means and how to fix it 0xc1900223 This indicates that there was a problem downloading and installing the selected update. Windows Update will try again later and there is nothing you need to do at this time.
- [Wayback] 20H2 Feature Update Error 0xc1900223 – Microsoft Q&A is more helpful:
The error 0xc1900223 may occur if your computer is unable to connect to the Microsoft Update servers or its content delivery network.
- [Wayback] Fix Error 0xc1900223 When Installing Windows 10 Updates » Winhelponline has a smart alternative that also makes updating a lot faster doing a major update (bit not minor updates):
Visit the Microsoft Windows 10 Download site. [Wayback]
- In my experience installing from an ISO image is often even faster (especially for updating one or many virtual machines) than with the “Windows 10 Upgrade” tool or “Media Creation Tool”. Force downloading Windows 10 ISOs instead of Media Creation Tool describes how.
- [Archive.is] How to troubleshoot Windows Update Error 0xc1900223? – Auslogics blog goes a lot deeper into the matter and (besides connection issues) also covers broken Windows Updater configurations.
These links should help finding the ones for newer Windows versions (at the time of writing, there was no documentation for Windows 10 21H1 or newer):
- [Wayback] Windows 10, version 20H2, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
- [Wayback] Windows 10, version 2004, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
- [Wayback] Windows 10, version 1909, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
- [Wayback] Windows 10, version 1903, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
- [Wayback] Windows 10, version 1809, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
- [Wayback] Windows 10, version 1803, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
- [Wayback] Windows 10, version 1709, connection endpoints for non-Enterprise editions – Windows Privacy | Microsoft Docs
Maybe one day someone makes an overview of these in one big worksheet to easily spot the differences. Until then it is a trial and error process every 6 months or so.
Related: [Archive.is] Jeroen Wiert Pluimers on Twitter: “Anyone knows when the 21H1 update of these instructions will be available? Need to update the site of my mentally retarded brother. Maybe @shanselman or @JenMsft can help me get in touch with the right people for this?”
–jeroen
Posted in Power User, Windows, Windows 10 | Leave a Comment »
Installing the Microsoft To Do app from the Microsoft Store on Windows via the CLI was impossible at first, and requires GUI configuration
Posted by jpluimers on 2023/09/07
I prefer installing applications through the CLI (command-line interface). This way, things can be scripted and installation parameters be stored under version control.
A few months back I published Different ways for installing Windows features on the command line – Peter Hahndorf which wrote way earlier and amended with a few highlights I learned from unsuccessfully trying to Microsoft To Do. Of course that is possible from the GUI by following these links:
- [Wayback/Archive] To Do List and Task Management App | Microsoft To Do
- [Wayback/Archive] Get Microsoft To Do: Lists, Tasks & Reminders – Microsoft Store
But I don’t want GUI, I want CLI as that is way easier to automate than GUI. I knew this should theoretically be possible from my the above winget post.
Putting this to practice however at first failed. Later I found a GUI-based workaround. So this was not possible purely on the CLI.
This post is both a summary of the most important bits and a reminder for myself to check if installing Microsoft Store via [Wayback/Archive] Winget without a Microsoft Store account is still impossible (as when downloading via the GUI from the Microsoft Store site an account is not needed).
winget
First however on how I ended up at winget for anyway were these posts:
Posted in Chocolatey, Microsoft Store, Power User, Windows, Windows 10, Windows 11, winget | Leave a Comment »
Troubleshoot black screen or blank screen errors
Posted by jpluimers on 2023/08/08
Via Jan Gentleman, I learned
- about the Ctrl+⇧ Shift+⊞ Win+B shortcut on Windows 10 and 11 that restarts starts video driver
- that documentation is in [Wayback/Archive] Troubleshoot black screen or blank screen errors as
Action 1: Try a Windows Key sequence to wake the screen.
If you’re using a device with a keyboard connected to it, select Windows logo key + Ctrl + Shift + B. If you’re in tablet mode, press the volume-up and volume-down buttons simultaneously three times within two seconds. If Windows is responsive, a short beep will sound and the screen will blink or dim while Windows attempts to refresh the screen.
Via:
- [Archive] Jen Gentleman 🌺 on Twitter: “
WIN+CTRL+Shift+B: Tells the computer you’re experiencing a black screen and tries to fix it” / Twitter - [Archive] Jen Gentleman 🌺 on Twitter: “@ThomasBurkhartB It’s in the black screen documentation: https://…” / Twitter
Later I found out it also is in Table of keyboard shortcuts – Wikipedia: General shortcuts
Restart Video Driver Windows 10: Ctrl+⇧ Shift+⊞ Win+B[2][3]
Also I learned how people order the modifier keys is varying.
–jeroen
Posted in .NET, Development, Power User, Software Development, Visual Studio and tools, Windows, Windows 10, Windows 11 | Leave a Comment »
Different ways for installing Windows features on the command line – Peter Hahndorf
Posted by jpluimers on 2023/06/02
If course you can configure Windows Optional Features using the GUI as for instance explained at [Wayback/Archive] How to manage Windows 10’s many ‘optional features | Windows Central.
However, I prefer command-line management.
About the only post doing the comparison of command-line mangement options I could find about is [Wayback/Archive] Different ways for installing Windows features on the command line – Peter Hahndorf and hopefully will be further updated in the future. It is dated 2015, but has been updated until at least Windows Server Nano.
I added one, and then rewrote the tool-set availability table in the post into this:
Posted in Communications Development, Development, Internet protocol suite, Microsoft Store, OpenSSH, Power User, SSH, TCP, Windows, Windows 10, Windows 11, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Vista | Leave a Comment »
Install apps with the WinAppDeployCmd.exe tool – UWP applications | Microsoft Docs
Posted by jpluimers on 2023/05/29
Since winget is only available as of Windows 10 version 2004, [Wayback/Archive] Install apps with the WinAppDeployCmd.exe tool – UWP applications | Microsoft Docs as an alternative.
Related:
- [Wayback/Archive] Install Windows Store apps from the command-line – Super User
- [Wayback/Archive] Microsoft Store – Generation Project (v1.2.3) [by @rgadguard & mkuba50]
- [Wayback/Archive] uwp – Can I Use WinAppDeployCmd install, update on pc itself – Stack Overflow
–jeroen
Posted in Power User, Windows, Windows 10, Windows 11, Windows 8.1, winget | Leave a Comment »
Getting the human readable Windows 10 version from the registry (via Super User)
Posted by jpluimers on 2023/05/15
[Wayback/Archive] powershell – How to get the windows version with command line? – Super User (thanks [Wayback/Archive] harrymc!)
The value can be found under registry keyComputer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersioninside the value namedDisplayVersion.The following PowerShell command will get it:(Get-Item "HKLM:SOFTWARE\Microsoft\Windows NT\CurrentVersion").GetValue('DisplayVersion')
–jeroen
Posted in Power User, Windows, Windows 10 | Leave a Comment »





