Saturday, September 28, 2013

BenQ MiraScan S2W 4300V

Just upgrade my laptop to Windows 7 and my BenQ scanner no longer works.  Since BenQ no longer provides drivers update to the scanner, I am stuck.  Try to install the XP drivers in XP mode but it still fails to detect the scanner.  Search Google for a couple of hours and finally find this link with the drivers that work. 

http://www.eightforums.com/drivers-hardware/16245-old-acer-benq-scanner-drivers-x84-x64.html

Download the driver.  Just use driver update from device manager and it works.  However, I prefer the XP scan GUI. 

Thursday, September 12, 2013

Turn off time sync in virtual machine

Recently, I got a request to recover the gst database of NetWorker to retreive some historical backup stats because retention for stats was set too short.  To avoid interfering the production environment, I close the gstd saveset out with FTD as clone device.  Build a Windows 2003 VM on my laptop with same version of NetWorker.  Because retention for stats was too short.  As soon as I recovered the gstd database and started gst service, those expired records would be purged.  Only option is to change the system time of VM to an earlier date within the retention period.  To achieve that, I follow VMware kb1189 to disable the time sync with host.

Since I am using VMware Workstation, I choose to edit the vmx file.  For vSphere, you can add parameters following the kb1189.

Add configuration options in the virtual machine's .vmx file:

Open the virtual machine's configuration file (/vmfs/volumes/datastore_name/vm_name/vm_name.vmx) using a text editor.
  1. Set these options to zero. If the entries do not exist, add them.

    Note: 0 = disabled, 1 = enabled.

    tools.syncTime = "0"
    time.synchronize.continue = "0"
    time.synchronize.restore = "0"
    time.synchronize.resume.disk = "0"
    time.synchronize.shrink = "0"
    time.synchronize.tools.startup = "0"
    time.synchronize.tools.enable = "0"
    time.synchronize.resume.host = "0"


    Note: In GSX, VMware Fusion, and VMware Workstation, you must use "FALSE" instead of "0". For example:

    tools.syncTime = "FALSE"
    time.synchronize.continue = "FALSE"
    time.synchronize.restore = "FALSE"
    time.synchronize.resume.disk = "FALSE"
    time.synchronize.shrink = "FALSE"
    time.synchronize.tools.startup = "FALSE"
    time.synchronize.tools.enable = "FALSE"
    time.synchronize.resume.host = "FALSE"
After that, I change the system date, scan in the media.  run recoverpsm and then start gst.  Now, all the stats I need is there.