Total Pageviews

Sunday, March 25, 2012

A free lightweight PDF viewer for Windows

Sumatra PDF is a PDF, CHM, XPS, DjVu, CBZ, CBR reader for Windows.


Thursday, February 16, 2012

Rent a mac vm in cloud

http://www.macincloud.com/

Use OEM BIOS file in VMWare virtual machine

  • Create a VM but do not start installation, assume the VM is named "Windows 7" 
  • Quit VMWare Fusion 
  • Edit the .vmx file in "/Users/${USER}/Documents/Virtual Machines.localized"
    vi /Users/${USER}/Documents/Virtual Machines.localized/Windows\ 7.vmwarevm/Windows\ 7.vmx 
    • add line:
      bios440.filename = "MY_OEM.ROM"

> See also:

How to install your OEM certificate on Windows 7


  • Click Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  • Click OK.
  • At a command prompt, type the following command, and then press ENTER:
  • slmgr.vbs -ilc oem-cert.xml
See Also:

Tuesday, February 14, 2012

Free online diagram drawing tools

See also Online Diagramming

Sunday, February 12, 2012

Remote desktop to Windows 7 (or Windows 2008 server) which requires Network Level Authentication using freeRDP

FreeRDP is a free, open source implementation of the RDP protocol, according to the Microsoft Open Specifications. It is released under the Apache License and is available on OS X, Cygwin for Microsoft Windows, FreeBSD, Linux, Solaris.

As of January 2012, FreeRDP adds support for Network Level Authentication. You can then use FreeRDP to connect to Windows 7 or Windows Server 2008 which requires NLA by default.

Note: freeRDP is commonly used on Linux. Since
To install freeRDP on Ubuntu Linux:
  • sudo add-apt-repository ppa:freerdp-team/freerdp
  • sudo apt-get update
  • sudo apt-get install freerdp
To use freerdp to connect to a remote Windows machine:
xfreerdp --plugin cliprdr -g 1024x768 -k no -u {username} -d {domain} {remote-windows-machine}

Enable Network Level Authentication on Windows XP

By default, remote desktop server (Terminal server) on Windows Vista or Windows 7 requires the client to have network level authentication enabled. However, Windows XP does not have network level authentication enabled by default.

You can allow non-NLA client to connect on the server side. I do not recommend to do that because it downgrades the security.

To enable network level authentication on Windows XP, first, you have to make sure you have upgraded to Windows XP Service Pack 3. The NLA is not enabled in Windows XP SP3 by default, you also need to do the following to enable it:
  1. Click Start, click Run, type regedit, and then press Enter.
  2. In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa
    In the details pane, right-click Security Packages, and then click Modify.
    In the Value data box, type tspkg. Leave any data that is specific to other SSPs, and then click OK.
  3. In the navigation pane, locate and then click the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders
    In the details pane, right-click SecurityProviders, and then click Modify.
    In the Value data box, type credssp.dll. Leave any data that is specific to other SSPs, and then click OK.
  4. Exit regedit and restart the computer