Archive for the ‘Windows 10’ Category
Posted by jpluimers on 2023/11/03
Formatting USB sticks in Fat32 on Windows 10 can be a pain, especially when they are larger than 32 gigabyte.
Microsoft Windows [Version 10.0.19043.1081]
(c) Microsoft Corporation. All rights reserved.
C:\bin>format D: /FS:FAT32
Insert new disk for drive D:
and press ENTER when ready...
The type of the file system is EXFAT.
The new file system is FAT32.
Verifying 239.0 GB
The volume is too big for FAT32.
Format failed.
C:\bin>
This works:
Read the rest of this entry »
Posted in FAT (8-bitFAT, FAT12, FAT16, FAT16B, FAT32), Power User, Windows, Windows 10 | Leave a Comment »
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:
This is the place in the Settings where you can enable the Controlled Folder Access feature:
Read the rest of this entry »
Posted in Power User, Windows, Windows 10 | Leave a Comment »
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:
Read the rest of this entry »
Posted in Batch-Files, Development, Microsoft Store, Power User, PowerShell, Scripting, Software Development, Windows, Windows 10, Windows 11 | Leave a Comment »
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.
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 »
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:
Read the rest of this entry »
Posted in Chocolatey, Microsoft Store, Power User, Windows, Windows 10, Windows 11, winget | Leave a Comment »
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:
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 »
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:
Read the rest of this entry »
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 »