Friday, May 20, 2011
Disable ipv6 and Teredo
To completely disable ipv6 and the Teredo interface:
reg add "HKLM\SYSTEM\CurrentControlSet\services\Tcpip6\Parameters" /v DisabledComponents /t REG_DWORD /d "255" /f
“255” decimal stands for 0×000000ff hexadecimal.
However, this isn’t listed here: http://support.microsoft.com/kb/929852/. Nonetheless this setting suits my needs best.
Thursday, May 12, 2011
VMWare Windows 2008 slow mouse performance
After installing the vmware tools on a Windows 2008 (R2) server, the mouse (still) performs very slow.
The solution is to update the video card driver.
Even after vmware tools installation, the vga card is listed as “Standard VGA Graphics Adapter”
Normally all drivers can be found at:
C:\Program Files\VMWare\VMWare Tools\Drivers\
However, the vga driver is located at:
C:\Program Files\Common Files\VMWare\Drivers\
Take the “wddm_video” folder.
A reboot is required. After that, you’ll be surprised :)
Increasing the virtual video RAM is supposed to increase performance even more.
Wednesday, May 11, 2011
Windows 7 set environment variables permanently
It’s not that hard to set environment variables for a current (dos) session.
But sometimes you want to set or update variables permanently, e.g. the Path variable.
Windows 7 has a nice built-in tool called “setx” to do these sort of things (and more).
setx /M PATH "%path%;c:\bla"
Where /m makes it system-wide instead of the current user.