Archive for the ‘Tips & Tricks’ category

Fix ‘VMware Workstation Does Not Recognize USB Drive’

December 4th, 2014 by Admin

VMware Workstation does not recognize your USB drive? If you’ve used VMware Workstation for some time, you might ever face the situation where you can use the USB drive well on the host PC (physical machine), but no USB drive is shown up under the VM -> Removable Devices menu within VMware Workstation. Here is how to fix it.

First of all, shutdown the virtual machine if it’s running, and then exit the VMware Workstation program. Right-click on the VMware Workstation shortcut from your desktop and then select “Run as administrator” to run it with admin privilege. This has fixed the problem that I experienced just a few days ago and eventually found out that VMware Workstation have insufficient privileges to capture the USB device.

vmware-not-recognize-usb

If you still don’t see the USB drive in the VM menu, follow the below steps to check if the VMware USB Arbitration service is not running:

  1. Press the Windows key + R to bring up the Run box.
  2. Type services.msc and press Enter.
  3. Search for a service named VMware USB Arbitrator Service. If this service is not running, right-click on it and select Properties, set Startup Type to Automatic and also click Start button to run it.

Note: After starting the VMware USB Arbitrator Service manually, you need to re-launch the VMware Workstation to make the changes to take effect.

Additionally, VMware Workstation does not support USB3.0 natively and you need extra drivers in the guest for the USB device. I highly recommend to use USB 2.0 for your virtual machine. Go to the Virtual Machine Settings and Make sure the USB Controller is present in the device list and USB compatibility is set to USB2.0.

vmware-usb-version

I hope this article helps someone out there that has encountered this issue.

Enable Hardware Virtualization VT-x/AMD-v in BIOS

December 3rd, 2014 by Admin

When you try to install Windows 8, you might receive an error message that says “This PC can’t run Windows 8 – Your PC’s CPU isn’t compatible with Windows 8“. To fix this problem you have to enable hardware virtualization VT-x/AMD-v for your CPU in BIOS.

cpu-not-compatible-with-win

On Intel platforms, you can normally turn VT-x on and off in the BIOS, whereas on AMD platforms, AMD-V is on all the time (at least I have not come across a BIOS which contains an option to enable/disable AMD-V).

How to Enable Hardware Virtualization in BIOS?

Usually, the VT-x feature is disabled by default in the BIOS for some reason. To enable it on your model, you have to find the option in your BIOS, it’s usually called “Hardware virtualization support”, ” Intel(R) Virtualization Technology” or something similar.

Here is how to enable Hardware Virtualization in BIOS:

  1. Power on your computer. Enter the BIOS setup by pressing F2, F12, Del or other key (The key may vary depending on your system model).
  2. Look for an option labeled by ‘Virtualization Technology’ or ‘Intel(R) Virtualization Technology’ under ‘CPU Configurations’, ‘System Configurations’, ‘Advanced’ or ‘Security’ tab and check if the option is enabled or disabled.
  3. Enable Intel Virtualization Technology (VT) or AMD-V depending on the brand of the processor.

    enable-hardware-virtualizat

  4. Save the BIOS settings. However, a warm reboot is insufficient for the change to take effect. You need to power off the machine and disconnect the power supply.

If you can’t find the hardware virtualization settings in BIOS, I highly recommend to check the manual or online guide of your motherboard vendor, and some old computers might don’t support virtualization technology (vt-x/amd-v) at all.

How to Confirm Hardware Virtualization is Enabled?

There is a tool available from Microsoft which can help you check if virtualization technology (vt-x/amd-v) is enabled on your Intel and AMD processor.

Download the Microsoft hardware-assisted virtualization detection tool

Installation is not required here, execute the EXE file and following result will appear.

virtualization-detection

However, this tool doesn’t work on Windows 8. To work around this problem, you can run this tool in compatibility mode by following these steps:

  1. Right-click on the EXE file (havdetectiontool.exe) and then click Properties.
  2. Click on the Compatibility tab.
  3. Compatibility mode lets you choose how to run the EXE file. You can choose anything from Windows 7 to Windows XP, as the virtualization detection tool works with Windows 7/Vista/XP.

    compatibility-mode

  4. click Apply then click OK to save the changes. You can then run virtualization detection tool on Windows 8 to check if virtualization technology (vt-x/amd-v) is enabled on your computer.

How to Burn ISO to Disc in Windows 10/8/7 without Any Software

December 2nd, 2014 by Admin

ISO files are frequently used to distribute CD or DVD images. For example, if you download a Linux distribution or WinPE image, what you’ll most likely download is actually a .iso file that needs to be burned to a disc. Since Windows 7, Microsoft has added native support for burning ISO image directly to disc without using any third-party tools. Here’s how you can burn ISO to CD/DVD from Windows Explorer or Command Prompt in Windows 10, 8.1, 8 and 7.

Option 1: Burn ISO to Disc in Windows 10/8/7 from Windows Explorer

In Windows Explorer, navigate to the ISO image file you want to burn. Right-click on it and select Burn disc image.

burn-disc-image

Windows Disc Image Burner will now open. You can choose which disk burner to use, if you have more than one, in the Disc burner drop-down list. Insert a blank disc in your DVD or CD burner, wait for a few seconds and click on Burn. If you check the “Verify disc after burning” option, it will verify the content of burned CD and ISO file which will require additional time.

disc-image-burner

After the burning process finishes, the DVD/CD tray will automatically open and you will see a confirmation message if the burning process was successful.

Option 2: Burn ISO to Disc in Windows 10/8/7 from Command Prompt

If the “Burn disc image” option is missing from the right-click context menu, you can also launch the built-in Windows Disc Image Burner from Command Prompt. Here’s how to burn ISO file to CD / DVD at the Command Prompt:

Open an elevated Command Prompt. In Windows 10 or 8, just press the Windows key + X to open the Quick Access menu and then click “Command Prompt (Admin)“.

At the Command Prompt, type the following command and press Enter.
isoburn.exe /Q [path to ISO file]

isoburn

Disc Image Burner will launch. Insert an empty CD and click the Burn button to begin burning the selected ISO image file. If you want to verify the disc for any errors after burning, check the option labelled “Verify disc after burning” option before clicking Burn button.

Conclusion

Disc Image Burner (isoburn.exe) is available in Windows 7 or later version of Windows. For Windows Vista or XP, you’ll need to install the third-party application to burn ISO files, such as ISO2Disc, ImgBurn, etc.

Display My Computer Icon on Desktop in Windows 10

December 2nd, 2014 by Admin

Starting from Windows 7, the system only puts the Recycle Bin icon on the desktop after performing a clean install. For many users, one of the first things you’ll want to do is add back some of the desktop icons that are missing by default. Follow the steps below you can display the My Computer, Network, My Documents or Control Panel icons on the desktop in Windows 10. But this procedure applies to Windows 8.1, Windows 8 and 7 too.

How to Display My Computer Icon on Desktop in Windows 10?

Right-click on the desktop background and choose Personalize from the shortcut menu that appears.

personalize

In the Personalization window, click the Themes in the left navigation pane. Next click on the “Desktop icon settings” link.

personalization

Here, under Desktop icons section, tick Computer checkbox and then click Apply button to show the Computer icon on the desktop. You can also show/hide Recycle Bin, Network, and Control Panel icons on the desktop from here.

desktop-icon-settings

So this is how can you display the My Computer icon on the desktop in Windows 10. Having the My Computer icon on your desktop can be one of the quickest ways to access your local disk, removable drives, libraries and more.

How to Install Windows 8.1 on VMware Boot Disk Based on PVSCSI Adapter

November 24th, 2014 by Admin

VMware offers multiple types of virtual SCSI-adapters to use in your virtual machines. Based on your choice of operating system VMware will use Buslogic or LSI logic adapter by default. However, there is a Paravirtual SCSI controller that can improve performance for your virtual machines, especially in environments with high IO-loads. In this article we’ll walk you through the steps of installing Windows 8.1 on a boot disk based on PVSCSI adapter in VMware ESXi.

Part 1: Create A New Virtual Machine

  1. Open up your VMware vSphere Client and log into your server. Once you’ve gained access to the vSphere Client, right-click on your server IP address and choose New Virtual Machine.

    new-virtual-machine

  2. This will launch the Create New Virtual Machine wizard as shown below. Choose Custom for the configuration as we need to specify VMware Paravirtual as the SCSI controller of this VM later.

    custom-configuration

  3. Specify the name of the VM instance in the “Name and Location” section. In this example, I gave Windows 8.1 as the VM name.

    specify-vm-name

  4. This step prompts you to choose a datastore as the location of your virtual hard disk. In this example, there is only one datastore available with the name datastore1 in my VMware ESXi server.

    select-datastore-for-vm

  5. Next vSphere client asks for the version of virtual machine to be set up. This will only be a concern if you are using this machine with an older version of VMware ESXi. I would choose the latest version 8.

    virtual-machine-version

  6. Choose what operating system you would like to install on your virtual machine.

    specify-guest-os

  7. Next you are prompted for the number of processors. The value set here is what the virtual machine will think it has. You can allocate a maximum equal to the number of physical cores you have.

    virtual-cpu-number

  8. Next you can configure the amount of RAM to be allocated to the virtual machine.

    set-vm-memory-size

  9. Next you can specify if the number of NICs to be allocated to the virtual machine. Here I will leave it at the default value.

    create-vm-network-connectio

  10. Choose VMware Paravirtual as it is high-performance storage adapter that can result in greater throughput and lower CPU utilization.

    esxi-scsi-controller

  11. Next comes the step of setting up a virtual hard disk. You could alternatively use an existing virtual disk that you have created before, or create a new virtual disk.

    create-new-virtual-disk

  12. Choose how much disk space you would like to allocated from the datastore for this particular VM. In this example, the available disk space in the datastore1 is 40 GB. I’ll allocate 15 GB for the virtual disk of this VM.

    specify-virtual-disk-size

  13. Next I would need to specify how the virtual disk is connected. Select SCSI as virtual device node and click Next.

    virtual-device-node

  14. Your virtual machine is almost done. Review your settings and then click Finish. The VMware ESXi server starts to create the virtual machine.

    review-vm-settings

Part 2: Mount PVSCSI Driver to Virtual Floppy Drive

Because Windows 8.1 and Windows Server 2012 don’t provide VMware PVSCSI driver directly on the installation media, we need to mount the PVSCSI driver to the floppy drive. Follow these steps:

  1. When the virtual machine has been created, right-click on it in the inventory and click Edit Settings.

    edit-vm-settings

  2. When the Virtual Machine Properties dialog appears, click Hardware tab and select Floppy drive 1.

    mount-floppy-image

  3. Select “Use existing floppy image in datastore“, browse to folder vmimages > floppies and then select pvscsi-Windows2008.flp. Click OK.

    select-pvscsi-driver

  4. Check “Connect at power on“. Click OK to save your changes.

    connect-floppy-at-power-on

Part 3: Install Windows 8.1

  1. Power on the newly-created virtual machine. On the toolbar on top of the screen, click the CD icon, mouseover CD/DVD drive 1, and then select your Windows 8.1 setup disc or Windows 8.1 ISO image.

    mount-windows-setup-iso

  2. After the VM boots from Windows 8.1 setup disc or ISO image, you’ll see the message “Press any key to boot from CD“. Press a key and you’ll get to the Windows Setup screen.

    windows-81-setup

  3. Follow the on-screen instructions to complete the installation. However, when you come to the step which prompts you to choose a partition for Windows 8.1 installation, you’ll notice that it is unable to find any hard disks due to the lack of native driver support with VMware Paravirtual.

    select-partition-for-window

  4. In order to load the PVSCSI driver, click Load Driver. Browse to the Floppy Disk Drive (A:) > amd64 and click OK.

    locate-pvscsi-driver

  5. At this point you’ll see the VMware PVSCSI controller driver is detected, click Next to load the driver.

    install-pvscsi-driver

  6. Now you’ll then be able to see the hard disk.

    pvscsi-hard-drive

    Run through the rest of the Windows Installation as you normally would.

2 Methods to Change Boot Order of Guest VM in VMware ESXi

November 24th, 2014 by Admin

If you want to boot a virtual machine from a CD or ISO image, you need to change the boot sequence so that it starts with virtual CD drive. However, it can be difficult to access the BIOS Setup as the POST screen clears too quickly, especially if you’ve enabled UEFI in your VM. In this article I’ll describe 2 methods to change the boot order for a guest VM hosted by VMware ESXi.

Method 1: Change Boot Order Using vSphere Client

  1. Open up your VMware vSphere Client and log into your server. Make sure the VM that you want to modify is powered off.
  2. In the vSphere Client inventory, right-click on the virtual machine and select Edit Settings.

    edit-vm-settings

  3. When the Virtual Machine Properties dialog appears, click the Options tab. From the list on the left, click Advanced > General. Click the Configuration Parameters button on the right.

    vm-properties

  4. In the Configuration Parameters dialog, click Add Row button. Type bios.bootOrder to the Name column and the devices (for example, cdrom,hdd,floppy) in the Value column.

    configuration-parameters

  5. Click OK to save the changes.

Method 2: Modify .VMX File in VMware ESXi

  1. Open up your VMware vSphere Client and log into your server. Make sure the VM that you want to modify is powered off.
  2. Click on your target virtual machine from the left side tree, and then click Summary tab on the right pane.
  3. Under the Resources area for your VM, there should be a list of datastores. Right-click on the datastore where the target VM files are saved, and select Browse Datastore.

    vSphere-client

  4. Navigate to the folder for your particular VM, and find the .vmx file. Right-click on the file and select Download. Save the file somewhere easily accessible.

    dowload-file-from-datastore

  5. Open up the .vmx file with WordPad or your favorite text editor, and then add the following line to the bottom of the file:
    bios.bootOrder = "cdrom,hdd,floppy"

    bios-boot-order

    The line above will set the boot sequence to cdrom, hdd and floppy. Save the file.

  6. Go back to the Datastore Browser. Click the upload icon in the toolbar and select Upload File, and select your modified .vmx file. Upload it to overwrite the existing .vmx file in your VM.

    upload-file-to-datastore

How to Lock the Start Menu Layout from Being Changed in Windows 10

November 22nd, 2014 by Admin

With Windows 10, the Start button and the traditional Start Menu are back, and it’s much more customizable than it ever has been before. In our previous post we’ve covered how to customize the Start Menu in Windows 10. After personalizing and organizing the Start Menu, you might want to lock the Start Menu layout to prevent any accidental changes. Here are 2 simple ways to lock the Start Menu layout.

Method 1: Using GPO to Lock the Start Menu Layout from Being Changed

  1. Open the Local Group Policy Editor and go to: User Configuration -> Administrative Templates -> Start Menu and Taskbar. On the right-pane, double-click on the “Prevent users from customizing their Start Screen” policy to edit it.

  2. Select the Enabled radio button and click on Apply.

  3. That’s it! Restart the system and now you will be unable to Pin / unpin items to the Start Menu.

Method 2: Using Registry Hack to Lock the Start Menu Layout from Being Changed

  1. Press the Windows key + R to bring up the Run box. Type regedit and press Enter to open the Registry Editor.
  2. Navigate to the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies
    In left-side pane, right-click on Policies and select “New -> Key” and give it name Explorer.
  3. Now right-click on the right-side pane, and then create a new 32-bit DWORD and name it NoChangeStartMenu, and set the value to 1.

  4. That’s it. You will need to restart your system for the changes to come into effect. Your current user should be unable to rearrange the Start Menu layout, pin or unpin items to or from Start Menu. This trick also works with Windows 8.1 and Windows 8.

This method will lock the Start Menu layout only for your current user. If you want to lock the layout for all users, just navigate to the registry location: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies, then repeat the same steps above to create a NoChangeStartMenu entry and it will work.

Windows 10 Tip: Remove the Search Button from the Taskbar

November 21st, 2014 by Admin

If you’ve installed Windows 10 Technical Preview, you should have noticed that there is a new Search button added to the taskbar, placed right after the Start menu button.

windows-10-search-button

The Search button takes up valuable space on the taskbar, and it’s mostly useful for touchscreen devices. Here is a registry hack to get rid of the Search button from the taskbar.

How to Hide / Remove the Search Button from the Taskbar?

  1. Press the Windows key + R to bring up the Run box. Type regedit and press Enter to open the Registry Editor.
  2. Browse to the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion

    In left-side pane, right-click on CurrentVersion and select “New -> Key” and give it name Search.

  3. Now right-click on the right-side pane, and then create a new 32-bit DWORD and name it SearchboxTaskbarMode, and set the value to 0.

    disable-search-box

  4. Once this is done, restart Windows 10 and the Search button should be gone. To bring the button back, delete the value that you just added.

How to Create Windows 8.1 PE Boot CD/USB Drive

November 20th, 2014 by Admin

WinPE (Windows PE) is a stripped down version of Windows. It has the bare minimum drivers and files just enough to run the installer and the repair tools. WinPE does not require a hard drive to boot, it can run solely from a CD drive using the memory for dynamic data. This feature makes WinPE appealing for data recovery and system maintenance purposes. In this tutorial we’ll show you how to manually create a bootable WinPE 5.0 CD/USB drive. WinPE 5.0 is based on Windows 8.1.

How to Create Windows 8.1 PE Boot CD/USB Drive?

  1. WinPE 5.0 is part of the Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1, which you can download here. When you install the ADK, you only need to select these two features: Deployment Tools and Windows Preinstallation Environment.
  2. After installing, launch the Deployment Tools and Imaging Environment. Create an empty folder such as c:\winpe, and then type this command:
    copype.cmd amd64 c:\winpe
    If you want to make a 32-bit WinPE bootdisk, just replace amd64 with x86. This step will copy the boot files and the Windows PE boot image (boot.wim) to the folder c:\winpe\media.
  3. If you need to make changes to the WinPE boot image, you need to mount the image before adding drivers or other third-party apps:
    dism /mount-image /imagefile:c:\winpe\media\sources\boot.wim /index:1 /mountdir:c:\winpe\mount
  4. After mounting the image, you can add any specific RAID or storage drivers, in order for your hard drive to be recognized by the WinPE bootdisk. You will need to collect and extract the raw .inf and .sys driver files in order to install the driver.
    dism /image:c:\winpe\mount /add-driver:"c:/storage/iaStor.inf"
  5. Unmount the image and commit the changes back to the WinPE boot.wim file.
    dism /unmount-image /mountdir:c:\winpe\mount /commit
  6. Now that we have the base image (boot.wim) and its time to create the bootable WinPE ISO image by running the following command:
    oscdimg -b"c:\winpe\fwfiles\etfsboot.com" -n c:\winpe\media c:\winpe\winpe.iso
  7. Finally, you can burn the ISO image (winpe.iso) onto a CD-ROM or USB stick. You can use the freeware ISO2Disc, Rufus, Imgburn or any other burning application of your choice.

Fix the 0x000000C4 Error: Your PC Needs To Restart

November 19th, 2014 by Admin

When you try to install Windows 8.1 64-bit in Oracle VM VirtualBox / VMware Workstation, or boot a virtual machine from Windows 8.1 64-bit PE image, you might receive the following error message:

Your PC needs to restart
Please hold down the power button.
Error code: 0x000000C4
Parameters:
0x0000000000000091
0x000000000000000F
0xFFFFF8028E363A80
0x0000000000000000

0x000000C4

The problem exists only with the Windows 8.1 64-bit. The 32-bit version works fine. This problem is similar to the blue screen error 0x0000005D that we previously covered in this article: How to Fix Error 0x0000005D When Booting from Windows 8 Installation Disc.

If you got the 0x000000C4 error while booting an existing virtual machine from Windows 8.1 64-bit PE image, the temporary solution is changing your guest OS to 64-bit. This article has explained how to change the OS version in VirtualBox and VMware Workstation: VirtualBox and VMware Error 0x0000005D Fix: Your PC Needs To Restart.

If you got the 0x000000C4 error when you try to install Windows 8.1 64-bit in VirtualBox, please perform the following steps to resolve:

  1. First of all, you need to find the name of your problematic virtual machine in the VirtualBox Manager interface:

    oracle-virtualbox

    Or open an elevated Command Prompt, type the following command to list your virtual machine’s name:
    "c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" list vms

    list-virtualbox-vms

  2. Next paste following command followed by Enter:

    "c:\Program Files\Oracle\VirtualBox\VBoxManage.exe" setextradata "virtual_machine_name" VBoxInternal/CPUM/CMPXCHG16B 1

    Replace virtual_machine_name with the name of the virtual machine name which you find in the step above.

    fix-virtualbox-bluescreen

  3. That’s it! Close the Command Prompt, and you can now install Windows 8.1 64-bit in VirtualBox without the blue screen error 0x000000C4.

Another workaround is upgrading VirtualBox to the latest version 4.3.18 which claims to have this issue fixed already. If you got the 0x000000C4 error with Windows Server 2012 R2, the solution is the same as for Windows 8.1.