How to rename VHDX VM

In a case, you may need to rename the VM VHDX name, for example test.vhdx to production.vhdx. This article shows how to do so.

1. Turn off the VM in Hyper-V Manager.

2. Open File Explorer and  highlight the VM VHDX file and select Rename

3. In Hyper-V Manger, go to the Settings of the VM.

4. Go to IDE Controller 0  

5. Browse to the renamed VHDX file.

4. You may also want to rename the VM under Hyper-V Manager.

Now, turn on the VM

Please view this step by step video:

How to Perform Hyper-V Storage Migration

In a case, you need to move VM from one Windows Server host to another host or different location, you may want to use Hyper-V Move feature. This video shows how to do so.

1. With Hyper-V Manager open, click on the VM you want to migrate. Select Move.

2. Click Next.

3. There are two types of migration: move the virtual machine with all files on other Host and move VM storage to different location or shared folder. In this example we move the VM to another computer.

4. Since we are moving to another computer, enter the computer hostname.

5. You have options to move all VM files into the same location, move VM files to different folders, or move the VM only. 

6. Enter the VM location.

7. Click Finish to confirm the migration.

Note: If you move the VM to different location in the same Host with moving to another computer option, you may receive this failed message.

In this case, you should check the second option: Move the virtual machine’s storage.

8. The process may take a few minutes depending on the size.  

Please view this step by step video:

How to move Hyper-V VMRS, VMCX and VMGS files to different location

By default, Hyper-V VM configuration file (VMCX), VM State file (VMRS), VM guest state file (VMGS) are located in  C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines. If the C drive is out of the spaces or you want to move all these files to the same location of your VM VHDX files, you can use Hyper-V export and import feature. This article shows how to do so.

1. With Hyper-V Manager open, highlight on the VM you want to move those files. Select Export.

2. Choose the drive or folder you want to export to.

3. The export may take a few minutes depending on the size.

4. After exporting, delete the original VM.

5. Click on Delete to confirm.

6. Now, those files in C drive should be deleted

7. Import the VM exported before by creating a new VM.

8. Follow the wizard.

9. Choose Use an existing virtual hard disk from the location you exported.

10. Click Finish to confirm the import.

11. Start the VM.

12. You can check those files in the new location.

Please view this step by step video:

Configure iSCSI on Synology NAS

iSCSI Target storage can be attached to your server or workstation as a local hard drive. This article shows how create iSCSI on Synology NAS.

1.Open the iSCSI Manger from Mail Menu.

Note: If you don’t see the iSCSI Manger in some old version, click on Storage Manager.

You should see the iSCSI Manger under Storage Manager

2. In iSCSI Manager, click on Target. 

3. Click on Create

4. In Create a new iSCSI target, enter the info and enable Chap if you want to use it. 

5. Set up iSCSI LUN mapping.

6. Set up iSCSI properties such as Name, Location, Total capacity, and Space allocation.

7. If you click on Advanced features you have more options: Hardware-assisted zeroing, Hardware-assisted locking, Hardware-assisted data transfer, Snapshot, and Space reclamation.

8. Click on Apply to save the configuration.

9. Now, you should have the created iSCSI ready.

Please view this step by step video:

How to configure iSCSI target on a QNAP NAS

With iSCSI, we can use a NAS storage as a local disk. This video shows how to create iSCSI Target on QNAP NAS.

1.Creating an iSCSI Target * Go to Storage & Snapshot > iSCSI Storage.

* Click on Storage & Snapshots.

* Click on OK in Do you want Quick Configuration Wizard?

* Click Next.

* Type the iSCSI Target name and then Next

* Enter CHAP info if you plan to use it.

* Click Apply in Summary.

2. Create LUN

* Select storage space and location.

* Configure LUN name and capacity.

* Click Finish in the Summary.

Now, you should have the iSCSI Target listed.

Please view this step by step video:

How to disable Windows 10 update

In some cases, you may want to disable Windows 10 updates. This article shows how to do so.

Resolution 1: Stop Windows Update Service

Resolution 2. Configure the Group Policy Editor

Resolution 3: Disable Windows Updates Using Registry

Resolution 4: Disable Windows update in Scheduler

Resolution 5: Block Windows update FQNS

Resolution 6: Pause the update

Resolution 1: Stop Windows Update Service

•Type services in the Search bar

* Click on Services

* Double click on Windows Update

•Change the Startup type to Disabled

•Click OK to save the settings

•Restart the computer

Resolution 2. Configure the Group Policy Editor

•Type Group Policy in the Search Bar

•Click on Edit Group Policy

•Go to Computer Configuration > Administrative Templates > Windows Components > Windows Update.

* Double-click Configure Automatic Updates.

* Check Disabled in Configured Automatic Updates and click Apply to save the settings

•The Windows Update state shows Disabled.

•Restart the computer. 

Resolution 3: Disable Windows Updates Using Registry

•Type regedit in the Search bar.

•Double click to run Registry.

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate>AU

•Double click on NoAutoUpdate Change its value to 2

•Click o to save the settings and restart the computer

•Note: If you don’t see WindowsUpdate and AU, you may add them by yourself.

Resolution 4: Disable Windows update in Scheduler.

•Type scheduler in Search Bar.

•Double click on Task Scheduler.

  • Navigate to Task Scheduler Library>Microsoft>WindowsUpdate

* Right click on the Scheduled Start to disable it.

Resolution 5: Block Windows update FQNS

 * Use Notepad run as admin to open hosts file from C:\Windows\System32\drivers\etc

•Make all Microsoft update services’ FQNS

update.microsoft.com

windowsupdate.microsoft.com

windowsupdate.com

download.windowsupdate.com

point to 127.0.0.1 IP address.

* Save the hosts

Or block below websites from your firewall.

http://stats.microsoft.com https://stats.microsoft.com

Resolution 6: Pause the update

•This is not real resolution, but you can pause the update for a while.

•Go to Settings>Update & Security

•If click on Pause updates for 7 more days, the Update status shows Resume updates

* You can also click on Advanced options

* If clicking on Pause updates, you will have more options.

Please view this step by step video:

How to activate VM on Windows Server

Automatic Virtual Machine Activation (AVMA) that acts a proof-of-purchase mechanism lets Microsoft customers to activate Virtual Machine license on virtualization servers. This video shows how to do so.

System requirements

AVMA requires a Microsoft Virtualization Server running Windows Server 2019 Datacenter, Windows Server 2016 Datacenter, or Windows Server 2012 R2.

To install the AVMA key in the virtual machine, run an elevated command prompt, run the following command:

slmgr /ipk <AVMA_key>

AVMA keys

The following AVMA keys can be used for Windows Server 2019.

The following AVMA keys can be used for Windows Server, versions 1909, 1903, and 1809.

The following AVMA keys can be used for Windows Server 2016.

The following AVMA keys can be used for Windows Server 2012 R2.

For example, for a VM on Windows Server 2019 DataCenter

slmgr /ipk H3RNG-8C32Q-Q8FRX-6TDXV-WMBMW

For 2016 DataCenter:

slmgr /ipk TMJ3Y-NTRTM-FJYXT-T22BY-CWG3J

Please view this step by step video:

How Configure iSCSI Target on Windows

This article shows how to configure iSCSI Target as an attached drive based on Windows 2019.

1.Install iSCSI Initiator

•Open Server Manager

•Click on Add roles and features.

* In the Server Roles, check File and Storage Services

•File Server iSCSI Target Server.

* In the Server Roles, check File and Storage Services

File Server

iSCSI Target Server.

* Click Install in Confirm installation selections

2. Run iSCSI Initiator

* Open iSCSI Initiator from Server Manager

•Type Target IP address or DNS name.

•Click on Quick Connect….

Discovered target popup.

•Make sure Status is Connect.

Progress report shows Login Succeeded.

•Now, You should have the iSCSI target connected.

•Click OK to save the settings.

Note: If the Connect To Target popup, you have an option click on Advanced to

* You have option to Enable CHAP log on

3. Setup iSCSI Target as a drive on the Server

•Go to Server manager>Tools>Computer Management

•Click on Disk Management

•Right click on the new Disk (Unknown)

•Click on Online.

* Right click the Disk and then Initialize Disk.

* Check the partition and click OK.

•Now, the Disk is online with Unallocated.

•Right click on it and then New Simple Volume….

* Click Next on Welcome page.

* Select the size and click Next.

* Assign drive letter.

Perform a quick format the drive with Volume label.

* Click Finish to complete the new drive settings.

Please view this step by step video:

Configure iSCSI on Synology NAS

iSCSI Target storage can be attached to your server or workstation as a local hard drive. This Video shows how create iSCSI on Synology NAS.

1. Open the iSCSI Manger from Mail Menu

Note: If you don’t see the iSCSI Manger in some old version, click on Storage Manager. You should see the iSCSI Manger under Storage Manager

2. In iSCSI Manager, click on Target. 

3 . Click on Create

4. In Create a new iSCSI target, enter the info and enable Chap if you want to use it. 

5. Set up iSCSI LUN mapping.

6. Set up iSCSI properties such as Name, Location, Total capacity, and Space allocation.

7. If you click on Advanced features you have more options: Hardware-assisted zeroing, Hardware-assisted locking, Hardware-assisted data transfer, Snapshot, and Space reclamation.

8. Click on Apply to save the configuration.

9. Now, you should have the created iSCSI ready.

How to improve windows 10 performance

After running Windows 10 for a while, you may feel the PC is running slow. This article will show some simple methods to improve the PC performance.

Method 1: Run System Configuration Utility

Method 2: Repair hard drive errors

Method 3: Install latest hardware driver.

Method 4: Adjust Paging File or disable Automatic Paging

Method 5: Run SFC/Scannow

Method 6:  Run (DISM) to fix damaged image files

Method 7: Check any errors in Event Viewer

Method 8: Install latest Windows updates.

Method 9: Run Windows Troubleshooting

Method 1: Run System Configuration Utility – Disable unused programs/services and troubleshoot configuration errors.

* To type msconfig in the Search bar and then double- click on System Configuration

1.On the General, you have options select what drivers and services are loaded at Windows startup. Diagnostic startup and Selective startup can help you troubleshooting Windows problems.

Note: remember to switch back to “Normal startup” after the troubleshooting, and then all the services and startup items are going to be enabled at startup.

2. On Boot, you can select Safe boot and other options for troubleshooting. 

3. On Services, you can disable any services which cause problem for the troubleshooting, for example Adobe Acrobat Update Service.

Or you can Hide all Microsoft services and work on only third-party services.

4. On Startup, click Open Task Manager

* Disable the programs you don’t want startup.

4. On Tools, you have many troubleshooting tools such as Windows troubleshooting, Event Viewer, and System Restore.

Method 2: Repair hard drive errors

1.In the Search box on the taskbar, type command prompt, and then select Run as administrator from the list of options.

2.Select Yes.  

3.In the window that appears, type the following command, including the space as shown:
chkdsk /f C:
and then press Enter.

4.Enter Y and press Enter

5.Repairs will automatically start on your hard drive, and you’ll be asked to restart your device.

6.After restart, try the update installation.

Method 3: Fix an issue by installing latest hardware driver.

1. In the Search bar, type Device Manager.

2. Open Device Manager.

3. Expand the suspected device that causes the problem, Firmware in our example.

4. Right-click the device and select Update Driver Software.

5. You may need to restart the computer, and then try the update again.

Method 4: Adjust Paging File or disable Automatic Paging

* Type Control in the Search bar and open the Control Panel

* Click System and Security

•Click on System

* Click on Advanced system settings

* Click Settings in Performance under Advanced tap

* Click Advanced and then Changing under Virtual memory.

* Uncheck Automatically mange paging file size for all drivers.

•Now, you have two options, Check the System managed size or Custom size if you know what are you doing.

•Click all Oks to save the settings and restart the computer.

Method 5: Run SFC/Scannow

1. In the search box on the taskbar, type command prompt, then select Run as administrator from the list of options.

2. In the window that appears, type this command including spaces as shown:

sfc /scannow

3. Press Enter. Wait until the sfc scan verification reaches 100% completion, and then close Command Prompt.

Method 6:  Run Microsoft Windows Deployment Image Servicing and Management (DISM) to fix damaged image files 1.Open Command Prompt as administrator 2.Run this command:  DISM /Online /Cleanup-Image /CheckHealth

3. If you do see any errors, try this command:

Dism /Online /Cleanup-Image /RestoreHealth

Method 7: Check any errors in Event Viewer

1. Type event viewer in the Search Bar and click on it.

2. Got to Custom Views>Administrator Events to view any errors.

Method 8: Install latest Windows updates.

1. Click on Settings icon

2. Go to Update & Security.

3. Install the Windows update and Restart the computer.

Method 9: Run Windows Troubleshooting 1.Go to Settings>Update & Security>Troubleshooting 2.Follow the instruction to troubleshoot the issue you have.

Please view this step by step video: