Tags

9 pages

Windows

Local Development Pain: Why Can't You Delete `nul` Files? A Solution to the “Composite” File System Problem

In the daily work of software development, we often encounter tricky “minor issues” that seem simple but can consume us hours of valuable time. One such “disaster zone” is deleting specific files – particularly those generated unexpectedly by toolchains. I encountered a “level-boss” problem: during local development, a file named nul inexplicably appeared in my project. I tried Windows Explorer, the CMD command line, but the system displayed “File not found” or “Cannot delete.

KB5054156: Windows 11 version 25H2 Feature Update (Package Deployment Guide)

Updating the local Windows system installation package, it was found that version 25H2 has been released. The local system is still stuck on version 24H2. Microsoft’s update patches have been installed, but the local system hasn’t upgraded to version 25H2 yet. Curious about what steps were missing in between. This article is based on Microsoft official support documentation, outlining the core information of KB5054156 update to help users understand the key points for upgrading from Windows 11 24H2 to 25H2.

Win11 Pro Professional, Remote Desktop login error: Login failed

The host unexpectedly crashed with a blue screen, preventing it from booting. It’s using UEFI boot format and the system consistently fails to load properly. Switching to an MBR boot format (the older one) allows the system to start normally.

Following standard troubleshooting steps, we enabled remote desktop access, and another machine tested successfully – all network components were functioning correctly. Users log in as usual with their Microsoft accounts.

However, when attempting to log in via remote desktop, the error message “Login Failed” appears without any further information.

PowerShell 7 and Persistent Settings Command-Line Prediction View

“I’d gotten used to using zsh on Linux, and when I was writing a blog post the other day, I suddenly realized that PowerShell 7 also supports persistent command-line prediction views, so I tried it out. It turned out to be pretty useful after all.”

“I don’t know what I did to enable this feature, but it just appeared—that’s all.”

Upgrading from a desktop to a 2.5G network card, accelerating local area network connectivity.

Desktop hardware three-in-one, in the previous text we mentioned PCIe adapter for solid state drives, where did the old SSDs go? Of course there was no waste, were any of them broken, disassembled and installed on the newly purchased ‘MechMaker Mini-3765H’ (bought a year ago). The new machine has powerful hardware specifications: 2.5G dual network interface, PCIe4.0, WiFi6. Recently moved house and my room doesn’t have a dedicated router for networking, all the machines are connected via wireless network; the ASUS motherboard desktop wireless card performance wasn’t great, or perhaps it was the router’s wireless access, which resulted in slow upload speeds between local networks, leading to poor network speeds between the machines.

ASUS Z490 motherboard has too many disks, resulting in intermittent disk unrecognition.

Continuing from the previous text, an issue suddenly arose where the wireless network card was unable to be recognized. Before rebuilding the partitions, I had also researched other solutions online, such as: removing the motherboard battery and disconnecting power for fifteen minutes; upgrading to the latest version of the BOIS driver, but all attempts were unsuccessful.

Thinking there were still tasks to complete, I switched to a limited network by pulling a web across from the living room into the room. However, this is when the problem returned – wired networking was also unable to be recognized. I then resorted to the ultimate solution of reinstalling the system, which resulted in partition loss during the boot process. If the issue had consistently occurred, I wouldn’t have spent so long troubleshooting it; the ASUS disk conflict is intermittent and triggered by unstable system restarts.

Last week, I purchased a new 2TB solid-state drive from长江存储 (Jiangang Chengsu – Yangtze Storage) with an M.2 interface, and the machine never rebooted until yesterday when I shut it down once.

Windows Built-in Disk Cleanup Tool: Storage

I’m not sure from what version it started, but in Windows 11, the Disk Cleanup tool has been significantly improved and become much smarter. The key is that it’s an official tool, so it won’t accidentally delete files, won’t have ads, won’t have pop-ups, won’t have background processes, or any unnecessary elements. You can access the Disk Cleanup tool in Windows 11 by going to Settings > System > Storage > Temporary Files.

Quickly calculate folder size on the Windows platform

The Linux platform is very simple: du -sh * – just one line of code solves the problem. What about Windows? With many disks and a desire to clean up, with numerous files, the system’s built-in Resource Manager is too slow to calculate folder sizes, making you want to give up. Everything For developers working on the windows platform, you probably haven’t personally used everything, and should at least have heard of it.