windows
Running WSL2 GUI Apps in Windows 10
ยท โ˜• 3 min read
All of the answers I found online suggest using a complex workflow of installing X server, configuring RDP and connecting to your Linux box in order to run its GUI app. This approach is at least a few years old. It is no longer the most efficient way in 2023. Instead, you can use WSLg.

Lock File Tool - Test Exception Handling
ยท โ˜• 1 min read
File Locker did not work for me (access denied), but Windows UI tool worked perfectly. It has less options, but it does a read lock, which is what I was looking for.

Persistent Drive Mapping In Windows 2012
ยท โ˜• 2 min read
By experiment, I discovered that Visual Subst no longer works in Windows Server 2012, as good as it did in previous versions of the OS. Specifically for the purpose of referencing a DLL from a locally mapped drive.

Windows firewall authorization failed to start
ยท โ˜• 1 min read
Firewall could not start because of error 1068 - some dependency failed to start. Outgoing connections work, incoming are blocked. I drilled down to Windows Firewall Authorization Driver malfunction.

Driver letter not available for mapping
ยท โ˜• 1 min read
Somehow my Windows 7 partially remapped a drive letter to another entity. It happened suddenly with some unexpected behavior. I noticed it when it could no longer connect to a network share. I removed the mapping and tried recreating with no success. The drive could not be deleted. Restarted, the drive is not mapped, yet it's still not available.

WMI query - Incorrect class on Windows 2003 R2?
ยท โ˜• 1 min read
I got this 'Invalid class' error when querying disk performance data (Win32_PerfFormattedData_PerfDisk_LogicalDisk). The server was running Windows 2003 R2 Std x64 SP2.

Install update for ESET Remote Administrator Server
ยท โ˜• 2 min read
For those who don't like to read stories, here's the extract Proceed with installation, even despite it appears to be a clean install. In the end you will get a working version, with all configuration preserved.

Acronis TrueImage 2010 Home not user friendly?
ยท โ˜• 1 min read
I recently upgraded to a larger hard drive and went from 1TB -> 2TB. Now the task was to make backup task in Acronis use the new location. I created new destination folder, moved all previous backups there. Then I changed Acronis backup task to do backups to the new place. Quite obvious so far, isn't it? Not with Acronis.

NTFS compression worth it?
ยท โ˜• 1 min read
Some time ago I researched compression in various systems, ranging from software archivers (like WinRAR, WinZip etc.) to database solutions (like Oracle data compression). Then I figured there is one more type of compression that I did not touch yet - NTFS compression. People on the net say it's pretty much useless, still I decided to give it a try.