Search This Blog

Wednesday, November 30, 2022

Cannot Run Nested Virtualization on Windows 11 | "Virtualized AMD-V/RVI is not supported on this platform"

Recently I use upgraded both my mini pc to Windows 11. Everything running smoothly including Vmware Workstation with a few VMs running. However, I found an issue when want to run nested virtualization - Hyper-V.

Error message:

"Virtualized AMD-V/RVI is not supported on this platform"


Here is my tweak to make it work:

1. Uninstall Windows Hypervisor Platform

Go to Control Panel | Programs and Features | Click Turn Windows features on or off

Uncheck the Windows Hypervisor Platform



2. Edit Local Group Policy

Type mmc | Add Group Policy Object | Local Computer

Go to Computer Configuration | Administrative Templates | System | Device Guard | Click on Turn on virtualization Based security | Set to Disable 

Then restart your machine and test run nested virtualization.

That should do the trick!


Thursday, November 24, 2022

How to Reduce Memory Usage on Windows 11?

I just upgraded my both machines from Windows 10 to Windows 11. I find out that initial memory after boot up has used around 6GB memory. You can view it from Task Manager.

Here is my fine-tuning and success to reduce around 3GB of memory.

1. Disable start-up program. Microsoft runs a few applications in the background.

-> Use Task Manager | Start up | Disable unwanted programs such as Cortana, MS Team, Onedrive

2. Go to System Properties | Advanced Tab | Settings

-> Under Visual Effect, set Adjust for best performance

3. Modify the registry key

-> Type Regedit

-> Navigate to Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management

Set ClearPageFileAtShutDown to 1

Restart the machine

Check again the memory usage using Task Manager. Do you get from 6GB to around 3GB? 

Hope this trick helps to reduce your memory usage when upgrading to Windows 11.

Note: These settings are applicable after the upgrade to Windows 11 or the initial setup. Not apply when you install more program and run more on start up application.

Tuesday, November 22, 2022

Unable to Connect to Google Cloud SQL

 You've just created a MySQL on Google Cloud. However, was not able to access it via MySQL Workbench.


Tried to enable Private IP and use VPC and Public IP, but still failed.

Workaround is

1. Go to Connections > Networking > Public IP

2. Add Network | Put a name

3. Put CIDR of your public network. Example: 34.124.242.59.

Enter:

34.124.242.0/24


4. Save

5. Try accessing again using MySQL Workbench.

Another trick.

1. Go to Connection > Security

2. Check Allow only SSL Connection

Wait for changes to apply

3. Set again root password

Wait for changes to apply

4. Uncheck Allow only SSL Connection

Wait for changes to apply


5. Test access again

Wednesday, November 16, 2022

Unboxing Minisforum HM80 and Assembling Parts

 My new lab machine setup. Enjoy


Parts:
  • 2 TB SSD from Crucial
  • 512 GB SSD from Kingston
  • 1 ADATA NVME 1 TB
  • 2 X 32GB RAM ADATA PC3200 SODIMM (JEDEC, 1.2v, CL22)
  • Acasis External Casing for SSD - Support RAID configuration.

Damage control on this purchase:

  • HM80 - USD 300 ( RM1425 - with conversion 4.75.Initial price USD 339, minus refund on customs charges)
  • 2 TB SSD - RM535
  • 64GB RAM - RM750
  • Acasis External SSD casing - RM 69
  • The rest components is reuse from old machine
Total = RM2779

Saturday, November 12, 2022

How to Apply Sirim Import Permit?

Recently I bought a mini pc from a trusted seller: Minisforum. I bought HX90 in 2021, love the beast, and still running strong. 

My two old machines running AMD 2400G and 2200GB (both 64GB RAM) had problems and the motherboard is finally faulty.

Then I saw Minisforum has a Halloween Sale on Oct 2022 & I decided to order HM80 as a replacement. 

Here is my UPS tracking status:

12/11/2022
7:38 A.M.
On the Way
Import C.O.D. (ICOD) charges have been paid or billed.
12/11/2022
4:20 A.M.
UPS has received the information needed to submit your parcel for clearance.
12/11/2022
4:19 A.M.
UPS has received the information needed to submit your parcel for clearance.
12/11/2022
3:54 A.M.
Import charges are due for this parcel. Select Pay Now (where available) or pay at delivery.
12/11/2022
3:54 A.M.
UPS initiated contact with receiver or importer for clearance information. Once received, UPS will submit for clearance.
11/11/2022
10:40 P.M.
Warehouse Scan
Sepang, Malaysia
10/11/2022
10:37 P.M.
Warehouse Scan
Sepang, Malaysia
10/11/2022
10:26 A.M.
UPS initiated contact with receiver or importer for clearance information. Once received, UPS will submit for clearance.
Sepang, Malaysia
09/11/2022
10:40 P.M.
Warehouse Scan
Sepang, Malaysia
09/11/2022
10:15 A.M.
UPS initiated contact with the sender to obtain clearance information. Once received, UPS will submit for clearance.
Sepang, Malaysia
08/11/2022
10:38 P.M.
Warehouse Scan
Sepang, Malaysia
08/11/2022
10:30 A.M.
Import Scan
Sepang, Malaysia

08/11/2022
9:52 A.M.
Arrived at Facility
Sepang, Malaysia
08/11/2022
8:00 A.M.
Departed from Facility
Ho Chi Minh, Viet Nam
08/11/2022
7:46 A.M.
Your parcel is pending release from a Government Agency. Once they release it, your parcel will be on its way. / The package is at the clearing agency awaiting final release.
08/11/2022
7:46 A.M.
The package is at the clearing agency awaiting final release.
08/11/2022
6:44 A.M.
Departed from Facility
Ho Chi Minh, Viet Nam
08/11/2022
5:47 A.M.
Arrived at Facility
Ho Chi Minh, Viet Nam
08/11/2022
4:15 A.M.
Departed from Facility
Shenzhen, China
08/11/2022
1:55 A.M.
Arrived at Facility
Shenzhen, China
07/11/2022
10:40 P.M.
Departed from Facility
Changi, Singapore
06/11/2022
11:33 P.M.
Arrived at Facility
Changi, Singapore
06/11/2022
8:08 P.M.
Departed from Facility
Chek Lap Kok, Hong Kong
06/11/2022
6:05 P.M.
Package is delayed in transit. Delivery will be rescheduled. Check back or signup for UPS My Choice® to receive updates.
Chek Lap Kok, Hong Kong
05/11/2022
7:01 P.M.
Export Scan
Chek Lap Kok, Hong Kong
05/11/2022
7:01 P.M.
Origin Scan
Chek Lap Kok, Hong Kong
29/10/2022
4:56 A.M.
Label Created
Shipper created a label, UPS has not received the package yet.
Hong Kong

When the mini pc arrived on 8 Nov 2022, it was held by Malaysia Customs and required an import permit.

Below is my experience on how to apply for Sirim Import Permit and hopefully can help those individuals who would like to apply themselves rather than go through 3rd party agent.


Here are my final charges to import the computer

  • Import Permit = RM40
  • sales tax charges RM81.61 
  • disbursement fee RM50.00
  • Import declaration Surcharges RM43.00.
  • Total RM214.61 [Malaysia Ringgit]

Wednesday, November 2, 2022

Configure DR for Your Container Using Kasten

To ensure high availability and low RTO for virtual machines, we will use VM Replication.

How about a container?

Even if containers can easily be re-deploy, we still need to configure disaster recovery. View below video on how to do so using Kasten