Saturday, March 26, 2016

Virtualizing a Windows XP Pro (Server)

Yes, I am not joking...

my client has a Windows XP, running core-2-duo, more than 8-years old system that is running a critical operation on their hotel infrastructure.

the PC simply perform interfacing between their phone, POS and internet accounting systems into the property management system.

well, the idea is that since it's not broken, why fix it... But isn't it concerning to know that there is no RAID, only a simple configuration backup, and the OS is obsolete, to run a critical system?

thus, i decided to take this opportunity to re-arrange their infrastructure a little bit, convert one of their 'free' server to work as a Hyper-V machine!

process is supposedly simple:
  1. perform disk2vhd to somewhere outside of C drive on WinXP
  2. transfer disk2vhd to host server
  3. set-up hyper-v on host server
  4. configure vm
  5. decommission the old machine
  6. run the new virtualized Windows XP
or so I thought..


my REAL process:

  1. Installed Hyper-V function on the host server (all was smooth)
  2. reboot host server on one wee-hour morning
  3. set-up hyper-v environment
  4. perform disk2vhd 2.01 conversion of the existing C: of WinXP machine to it's D:
  5. transfer 20GB of VHD file (not VHDX) since host server is Windows Server Standard 2008r2 across network to the Host Server D:
  6. configure working environment and boot.

Horror 1 - Mouse is not usable
  1. what the heck, I just used keyboard. everything was typed!
  2. alt-tab, shift-tab and tab were my friends
  3. I had to run the VM in full-screen mode for transfer of short-cut keys to work...
  4. I needed to be able to send "Windows + U" command to work... that's the most critical!

Horror 2 - Windows XP cannot activate
  1. I couldn't activate windows! no LAN drivers activated too!
  2. at the windows activation prompt, i had to say YES
  3. then run "Windows + U" to run the Windows Narration Toolbar (Prompt)
  4. then tab-tab to click on a link to browse internet.
  5. Internet Explorer launches and I needed to then run c:\windows\explorer.exe on the address bar.
  6. that will allow me to run windows explorer window, so that I can perform any application install/uninstall
  7. I had lots of system junk stuff that came with my HP workstation, so i had to uninstall all of them.
  8. went on to MSCONFIG and disabled a whole-load of un-helpful start-up items too.
  9. shutdown VM
  10. Mount VHD to the Host OS... as a new disk
  11. Copy the following stuff:
    1. 7-zip
    2. AntiWAT tool for Windows XP Activation
  12. after copying stuff, I then proceed to dismount and boot-up the Virtual Machine again.
  13. repeat step 2 to 5, then run the activation of AntiWAT toolkit. Sorry Microsoft.
  14. Reboot one more time after the Activation is successful in AntiWAT.
  15. VIOLA! no more Windows XP Activation screen! 
  16. Proceed to horror-3...

Horror 3 - Hyper-V integration cannot install
  1. I thought installing hyper-v integration tool was supposed to be  breeze, well not-for-me.
  2. no matter how many times i tried installing them-app, the system reboots after that stating that integration service need to be installed to be running etc-etc.
  3. then I realize the root issue, see, when I boot up the system i get this prompt:
  4. I always chose the Disk2VHD Microsoft Windows XP Professional thinking that it's the right one...
  5. I was obviously wrong. After selecting the second option, I could proceed with the installation, and after 2-reboot, the integration services/stuff/ were installed succesfully.
  6. But I can no longer boot into the first option... so I really need to go into boot.ini file to remove that line.. or my horror won't stop when the server is unable to start after it's reboot.
  7. Attempt to boot with auto-option 1 after integration service is installed proved futile:
  8. Boot with the second option, and it works!
  9. and my mouse works!!!

Horror 4 - what about drivers??
  1. Guess what! after horror 3, the installation of the Hyper-V integration tools automatically installed the system driver, the mouse, the LAN and everything is working in-order! 
  2. Next, proceed with boot.ini amendments and we're done!

such is how i spent my saturday 12-noon to 4-pm in my office.. :(

Wednesday, March 23, 2016

Help, my MYOB and PC is simply just... SLOW

Well, my long time client contacted me yesterday and rambled upon the slowness of her PC.

It's Windows 7, 4-GB of RAM, 32-bit PC, on Core-2-Duo system. I know right, it's like 6-years old, but what she uses is mainly skype, MYOB accounting application, Word/Excel and tons of email (Outlook) all in 2010!

Anyhow, we super-charged her PC with a Samsung EVO 850 SSD disk and it flew.

Up till a few days ago when system just started crawling. Help!


My colleague remote into the system, did some checks, and did some deletion, and system went back to norm.


What did my super-tech colleague do?

He said: "Go to C:\Windows\ServiceProfiles\LocalService\AppData\Local\ ,delete all Font*.dat and reboot PC."

Literally in his super-tech language...