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
az bicep version, this will force Azure CLI to download bicep and refresh.
- If you see a message output with
Successfully installed Bicep CLI to, then the bicep is repaired successfully.
You might notice oh-my-zsh very slow on WSL2 shell, especially when you cd into a directory with git enabled.
This can be resolved by running following command
git config --global oh-my-zsh.hide-status 1
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.
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)
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
If you want to change password from a computer running windows server in RDP session, you will find Ctrl-Alt-End does not work as its always caught by current session. Follow these steps to change password in RDP session
- Press Ctrl-Alt-End
- Select Change Password
- Input current and new password and press enter
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
- 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"
- Reboot, after reboot open adobe flash player official test page with IE to check if flash player is enabled
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:
- Go to Settings > System > Default apps
- Scroll to the end of the dialog
- Select "Choose default apps by file type"
- Scroll to the .pdf file type listed on the left
- Left click on the associated item to the right of the file type
- Select the default app you want to use for opening .pdf files
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 →
Microsoft Edge is the new default browser in Windows 10. If you upgrade from a previous version of Windows, your default browser will be set to Edge.
Following are steps to change the default browser in Windows 10
Continue reading →