Author Archives: devonenote

Fix [Errno 8] Exec format error: ‘/Users//.azure/bin/bicep’

When you run az bicep command on Mac M1, you might experience error

[Errno 8] Exec format error: '/Users/<username>/.azure/bin/bicep'

This error is because for some reason, bicep in azure cli was installed with a non-ARM version, to resolve this, do following steps

  1. Remove /Users/<username>/.azure/bin/bicep
  2. Run az bicep version, this will force Azure CLI to download bicep and refresh.
  3. If you see a message output with Successfully installed Bicep CLI to, then the bicep is repaired successfully.

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) 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 :

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"


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


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