Blog / Windows

vi for Windows

October 6, 2010

You’re probably asking “Why in the world would I want to use viin Windows?”

Well, I didn’t have an answer to that until a couple of days ago. I was testing a software that seems to have been originally designed for UNIX and ran into an issue modifying a configuration file. I needed to add an entry to the config file so I used Notepad to do it but when I tried starting the …

How to change the TIME-WAIT delay and the highest source port number that can be assigned in Windows XP or Windows Server 2003

September 15, 2010

We ran into an issue last night where a web server we use for testing wasn’t able to open anymore connections. It turned out that our web application was creating too many connections too fast and Windows ran out of port numbers to allocate.

By default, Windows XP and Windows Server 2003 (not sure about other versions of Windows) wait 4 minutes before releasing sockets in TIME-WAIT state (RFC 793) and the highest …

The application has failed to start because its side-by-side configuration is incorrect

July 11, 2010

Error Message:

The application has failed to start because its side-by-side configuration is incorrect.

Received this error after submitting an application written in C++ to the Microsoft HPC Server 2008 cluster. To fix it, simply install the Microsoft Visual C++ 2008 Redistributable Package on the compute nodes. I recommend you install both the 32-bit and 64-bit versions as you may have some users compiling their applications in 32-bit and some in 64-bit.

Reference: http://docs.hp.com/en/BA683-90006/ch13s08.html

How to change from ACPI Multiprocessor HAL back to ACPI Uniprocessor HAL in Windows 2003

January 9, 2009
Warning: Changing the number of virtual processors after the guest OS is installed may make your virtual machine unstable.

You’ve probably seen this message before while working with VMware, especially if you’ve done physical to virtual migrations.

As a best practice, it is recommended to always start with only 1 vCPU when creating virtual machines and only increase the number of vCPUs if you think it’s necessary and if the virtual machine is actually running …

Windows XP: Updating a domain account’s local cached password

December 3, 2008

So I took a laptop home from work tonight to do some tests and I forgot that I haven’t logged in to that laptop with my domain account for quite some time now so I of course got the message “Domain YOURDOMAIN is not available” and I couldn’t log in.

I connect to our network over a VPN connection using Cisco VPN Client but I first have to be logged in to Windows to do …