git clone error “Operation not permitted” on WSL2 Shell

On a clean installed WSL2 (Windows SubSystem for Linux Gen 2), you might get error “Operation not permitted” when trying to run command git clone on the shell.

To resolve this, simple run following commands:

sudo umount /mnt/c
sudo mount -t drvfs C: /mnt/c -o metadata

You might need to replace the drive letter if you hit error on other drivers.

How do I know if my current Windows 10 PC meets the minimum hardware requirements for Windows 11?

If you’d like to see if your current PC meets the minimum system requirements, you can download the PC Health Check app (PC Health Check ​​​​​​​). Most Windows 10 PCs currently being sold will be able to upgrade to Windows 11. For the PC to be able to upgrade to Windows 11, it must meet the minimum hardware specifications and specific hardware is required for some features (minimum system requirements). 

If your current device does not meet the minimum hardware requirements, you will not be able to install Windows 11. You do not have to upgrade to Windows 11 in this case as windows 10 will be continue to be supported until October 14, 2025. (Windows 10 Retirement Date)

Web Platform Installer link broken

The official download link of Web Platform Installer (Web PI) https://www.microsoft.com/en-us/web/downloads/platform.aspx is broken for a few days. If you search via google or Bing, you might essentially get a broken link like me.

Fortunately Microsoft IIS site has an alternate download link : https://www.iis.net/downloads/microsoft/web-platform-installer

English: x64 / x86

Enable Flash Player for Windows Server 2016

Flash player is included in Windows Server 2016 but not actived for IE by default due to security concerns. You can enable flash player for IE in Windows Server 2016 by following steps

  1. Open a command line windows and run following command
    dism /online /add-package /packagepath:"C:\Windows\servicing\Packages\Adobe-Flash-For-Windows-Package~31bf3856ad364e35~amd64~~10.0.14393.0.mum"

    image

  2. Reboot, after reboot open adobe flash player official test page with IE to check if flash player is enabled

    image

Change the default PDF Viewer in Windows 10

​When Microsoft Edge is set as your default browser, your PDF viewer will also default to Microsoft Edge. If you would like to change the default application associated with a file type, follow these steps:

  1. Go to Settings > System > Default apps
  2. Scroll to the end of the dialog
  3. Select “Choose default apps by file type
  4. Scroll to the .pdf file type listed on the left
  5. Left click on the associated item to the right of the file type
  6. Select the default app you want to use for opening .pdf files

Clean up Hidden $Windows~BT and $Windows~WS in Windows 10

After upgrading to Windows 10, you might notice two hidden folder $Windows~BT和$Windows~WS consumes more than 10GB spaces of C drive. These two folders are created for Windows 10 upgrade and can be safely removed after successful upgrade. However, if you run build in Disk Cleanup tool on Windows 10, it only cleans up Windows.old folder, and does not touch $Windows~BT and $Windows~WS. Following are scripts which you can manual clean up these two folder.

Continue reading

Use Legacy Disk Cleanup Wizard in Windows 10

In Windows 10, Disk Cleanup Wizard is integrated into new Storage Sense app, which can be launched via Settings>System>Storage. The new Storage Sense app brings more space cleanup features.

However, the new Storage Sense app is very slow, if you just want to perform quick cleanup like old Windows, you can find legacy Disk Cleanup Wizard  by searching for cleanmgr in task bar.

image