Archive

Archive for the ‘Windows’ Category

Note to self: Registry hack for faster Windows 7 taskbar navigation

The below registry hack will allow you to Open applications with multiple windows / tabs with single click. Single clicking will open the last active tab, while hovering mouse over the program icon will show all open tabs – like before.

Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Go to Edit->New->DWORD (32-bit) Value
Name the value LastActiveClick
Hit enter to assign the value and change it to 1
Restart Explorer and you’re good to go

Categories: Windows Tags:

Windows Virtual PC or VMware Player: the real-life choice

I’m planning to switch from Windows 7 RC to the retail version on my desktop PC. I started wondering which version would I choose.

Theoretically there are 3 choices: Home Premium, Professional and Ultimate. However, the price difference between Professional and Ultimate is only 12 euros, so I can choose between Home Premium (183 EUR) and Ultimate (294 EUR).

The biggest advantage of Ultimate over Home Premium is the Virtual PC and XP Mode. I use it to access my old scanner via USB (there are no 64-bit drivers) and play around with Active Directory and servers in my Windows 2003 test lab. Even though those come for free, in reality I have to pay 110 euro for the Virtual PC.

Yesterday I asked myself “do I really need it?” and I ran some tests.

It turned out VMWare has just released a new RC version of their free VMWare Player software. This new version can also be used to create virtual machines, so it’s a full-fledged type 2 hypervisor. It also can connect unregnized USB devices to the VM and provides desktop integration (a bit differently than Virtual PC, but it works). Additionally it has some extra little features, like more advanced network configuration (without the annoying DHCP server), automated unattended installer for Windows OSes and the ability to run different guest OSes than just Windows.

And there’s a free converter tool that lets you convert machines from VirtualPC to VMWare.

I have old unused Windows XP license, so the choice was simple – I’m staying on Home Premium edition.

Categories: Windows Tags: ,

Windows Virtual PC built-in DHCP server and ISA 2004

I was setting up a test Windows 2003 domain network to play around with it. One of servers is a gateway server – hosting ISA 2004.
network settings

However, I found an issue there – the “Internal Network” card did not get IP address from DHCP server (installed on domain controller in the local network), but instead an address from APIPA pool.
network status

The weird thing was, it said “Assigned by DHCP”, and the DHCP server itself had an IP address from APIPA range.
weird dhcp server.

I tried pinging this DHCP, sniff it etc. but with no results. Then I found some hint about a built-in DHCP server into Virtual PC. This DHCP server replies faster than my DHCP server on virtual domain controller, so it always won.

To remove this problem, you have to modify the System Policy Rule called “Allow DHCP replies from DHCP servers to ISA Server” to not allow the built-it DHCP server. To do this, go to ISA Server Management -> Firewall Policy and click “Edit System Policy” in Tasks pane. Go to DHCP rule (first one) and add a new exception.
system policy editor

Create a new computer with IP address 169.254.0.1 and add it to excetions. This way the built-in DHCP server will not be allowed to assign IP address to your virtual NIC and it will get the IP from other DHCP servers in your network. Which is exactly what we wanted.

Windows Mobile: activate WiFi at home (or friendly HotSpot) automatically

Having your new, shiny Windows Mobile phone, full of connectivity options must be a bless! Or it would be, if not the short battery life. You need to disable Bluetooth and use WiFi / GPS only when needed, right?

Not anymore.

There’s a small tool which I’ve just discovered – WiFi Locations. It allows you to automatically enable / disable WiFi or Bluetooth in selected locations. And it detects your location based on GSM (or UMTS) cell ID – no need for GPS.

It’s a battery and time (since you don’t have to tediously enable/disable WiFi at home) saver.

You can download it and see newest comments on the XDA-Developers thread.

Wi-Fi locations main window Wi-Fi locations cell options

Categories: Windows Tags: ,

Notepad++ and regional characters on Windows 7 RC

I just switched to Windows 7 64 bit RC on my main computer. Since Crimson Editor was constantly throwing UAC popups, I decided to try something else as a text editor.

I started by looking at Wikipedia “Source Editor” page. I quickly scanned the list of free text-editors for Windows and decided to go with Notepad++, since it had most of the features I need.

I downloaded the installation package (with some plugins included by default) and it installed just fine. However, there’s a glitch. It doesn’t allow you to type in regional characters easily – they appear as if they were entered with ISO into a CP-1250 text editor. 10 years ago that would not be a big surprise, but hey, we have unicode all around us, such things should not happen, right?

Notepad++ wrong regional characters encoding

I tweak the settings around a bit, but nothing helped. But, since I’m a geek, I have to resolve it.

I googled a bit, found notes about removing HexEditor plugin (which I don’t have installed) and then something about transparency problems on Windows 7.

Then I tried switching Notepad++ to run in backwards compatibility mode and I found out it’s enough to “downgrade” to Windows Vista SP2 and it starts working properly.

Notepad++ correct national characters encoding

So – if you have the same problem with Notepad++, just set the executable file to run in Vista compatibility mode.

compatibility mode

Categories: Windows Tags: ,