/// Frank Hagen: Professional Web Developer, C# User, Reformed Über-geek RSS 2.0
# Thursday, November 12, 2009

Windows 7 XP Mode is probably the best feature added to Windows in a long time.  I won’t go into how awesome here, but this is the compatibility measure Microsoft should have pursued years ago.  That said, the main use I have for it is to VPN into my office network. 

The client site I am working at is using normal MS VPN connections which are easy to setup and use.  Their parent company, however, insists on the Cisco VPN client, which I am loathe to install on my clean Win7 installation.  So I have both setup in XP Mode and can use them interchangeably. 

Getting the initial setup was a little tricky:  First you must shutdown the VirtualPC then switch the network setting from “Shared Network (NAT)” to a named network card.  The funny thing is, the only symptom is the connection is made but times out on authentication.  weird.

However, I ran into a problem where I could no longer get the built in Windows VPN client to connect.  It couldn’t find the address.  Then browsing stopped working, even the Cisco VPN client failed.  After 2 re-installs (of XP Mode) I finally found a post that recommends removing the Virtual PC Network Filter Driver from the NIC, rebooting and re-installing.  Like magic, everything works.  Evidently a patch to XP Mode or Virtualization knocked it out.  (I did start with the RC of XP Mode 64-bit, maybe the reason…)  The blog was the Virtual PC Guy but the instructions were for XP and Vista, not 7.  The 7 instructions are below:

1.  Click on the network icon in the tray and Open Network and Sharing Center (or from the Start menu)
2.  Click on the active connection (Mine is Local Area Connection 2)
3.  In the Properties dialog, highlight the Virtual PC Network Filter Driver and Uninstall  (I deselected IPv6 while I was there; it’s not needed yet)
4.  Click OKs back to desktop and Reboot (evidently a critical step)
5.  repeat 1 & 2 and click Install in the Properties dialog
6.  Select Service and Add; the Virtual PC Network Filter Driver should still be there, select it and click OKs out to the desktop.

Fire up XPMode VPC and you should be good to go.  I was.

UPDATE:  I am still having this problem.  I have found a reboot is usually enough to reset it, but I am still looking for a way to reset just the VPN driver without a reboot.  I've found nothing, yet....

UPDATE 2:  Microsoft seems to have issued a Windows7 x64 hotfix for this issue quietly.  I am no longer having this problem, unless the system goes to sleep mode while VPC is running.  Then it's a reboot of the physical host to reset.

Thursday, November 12, 2009 8:39:03 AM (Eastern Standard Time, UTC-05:00)  #    Comments [0] -
System
# Wednesday, October 14, 2009

 

Dashboard-40 One of my favorite features in Vista is the Sidebar.  I have been using precursors of it since Windows 3.11.  Anyone remember HP’s Dashboard?  I bought and used that app every day on every system I used until Windows 98.  Since then, I’ve used Konfabulator, Stardock’s DesktopX and many others.  When Microsoft came out with Vista’s sidebar, it quickly became one of my favorite features.  In fact, it remains my sole disappointment with 7 so far; it just doesn’t work quite as well.

At work, I am forced to use a 32-bit XP system.  I miss many of the sidebar elements while working.  CPU, memory and network metering are part of my dev cycle.  And there are decent enough widgets that come close.  Clocks, calendars and other items are very useful.  But the sidebar wasn’t portable to XP.

Until, that is, I found a patched/hacked version on DeviantART that seems to work very well.  Called simply Windows Sidebar, Real One, Pack, it comes bundled with the Alky for Windows library that allows it to run within XP (you don’t need to supply a Vista key when it asks, by the way).  So with a couple of useful gadgets, especially the ones from Orb2k, I can have all of my monitoring loaded in one extensible process.  Very nice, and thanks to ~joshoon of DeviantART.com.

Wednesday, October 14, 2009 8:56:04 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
System

Windows_7_Logo Well I finally bought 8GB DDR2 for The Beast.  Before I installed it, however, I went ahead and installed Windows 7, in 64-bit mode, of course.  While I was a fan of Vista, I am very impressed with 7, though I still feel it to be a better chromed version of Vista.  But the 8 gigs is awesome!  NO more memory issues, pagefile thrashing, or even a need for ReadyBoost.  And I haven’t run into a limit of Visual Studios open at one time.  Now I can finish my micro netcast receiver project….  (Ok, I probably didn’t need 8G for that.)

And the frosting?  XP Mode.  My client site has switched to Cisco VPN from whatever they were using that was MS compatible.  I hate the Cisco VPN client.  And of course, it won’t work on a 64-bit OS.  So I downloaded the RC version of XP Mode, fired it right up, installed the VPN and was connected to their network in under 5 minutes.  I’m gonna love that feature!

Wednesday, October 14, 2009 8:23:04 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
System
# Tuesday, September 29, 2009

In the category of “So I don’t forget again”, here is how to compile a simple code.cs file to a console executable:

csc /t:exe NetDir.cs

Very simple, very easy.  To make it a Windows exe (console app with no console window, very useful for scheduled or batch processing), change the target (/t == /target) to winexe.

Tuesday, September 29, 2009 1:08:03 PM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
.NET
# Friday, September 25, 2009

Ok, last review was a little over the top.  I should have called it:  The 21st Century's Alas, Babylon.  This book is credited as inspiration to One Second After and with good reason.  Having never read it, I thought it was time.

"The Day" is the one when the bombs fall.  Although we meet our hero Randy Bragg, native of Central Florida (just north of Orlando), and his brother Mark, who serves in Intelligence for SAC, a few weeks before.  Mark warns Randy of an impending attack and sends his wife and kids to stay with him to weather the threat, giving them all some time to prepare.  The threat is realized when the morning skies are lit up in the direction of Tampa, then less so from Daytona and Miami.  And all doubt is erased when the nuclear strike on Orlando itself and the resulting mushroom cloud is unmistakable.  The rest of the book is the story of a small community fighting for survival in the Florida "Contaminated Zone".

Set in the late '50s, it has an interesting perspective for me, knowing Orlando 30 years later.  The references to McCoy Air Force Base (now Orlando International Airport), Pinecastle and the St. John's River are enjoyable and interesting landmarks.  This is also a well thought out and written book, although not as grim as One Second After, and the characters seemed a bit flat to me as well.  Both these comments, though, are to be expected for a book written 50 years ago.  I found some details, such as the abundance of food, and the town rallying behind the leadership of a man all felt previously to be a amusing playboy, to be disappointing.  But it was a very enjoyable read and was significant for its times, if not so much today.

Friday, September 25, 2009 8:58:30 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Books
# Thursday, September 24, 2009

And now, the book heralded across the Internet as a must read.  One that eclipses most other novels, and tainted my perception of previous reads (Sorry J.F.Lewis).  It was referenced by Techo-geeks, Military writers and SciFi fans.  How could I not read it?  I ended up getting a copy from the local library and consumed it in little over a week.

One Second After actually starts a couple days before.  Then suddenly, the power goes out, most cars stop, and all electronics go dead. And nobody knows why.  Retired USArmy Colonel John Matherson has a pretty good suspicion having to do with high-altitude EMP burst attacks over the United States, but with no communications with anyone in earshot, who can tell?  What follows is a chillingly realistic look at how devastating the total disruption of electricity would be to our country.  The entire novel is set around the people in a small North Carolina community struggling to survive in conditions 100 years gone.

This is one of the most disturbing book I have ever read.  At the same time, it was very well written and executed.  I felt for the characters, identified with them, feared for them.  I will be buying this book for myself later, it was so good.  I have recommended it to everyone into technology and anyone who feels "safe" from foreign threats.  This is "Red Dawn" of the 21st Century.

Thursday, September 24, 2009 8:50:58 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Books
# Wednesday, September 23, 2009

I've gotten way behind and am having a hard time remembering what I've read. First up, though, is the sequel to Staked. Again, I bought this for the wife, but since I enjoyed it so much, I wanted to read ReVamped too.

ReVamped continues where Staked left off. Eric, a newly undead but powerful vampire with a bit of a memory problem, struggles to overcome the "Problems" incurred at the end of the first book and find answers to who and what he is. And find out who is responsible and exact some revenge. Definitely a fun story!

I was really impressed by Book 1, but not so much by this one. It's not that it wasn't good, because it was. Just not great. I came away feeling that it was a continuation of an ongoing story and didn't really resolve anything important. Maybe it was me and I had too high expectations. We'll see how the wife likes it...

Wednesday, September 23, 2009 8:49:56 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Books
# Wednesday, June 03, 2009

Some time ago, I came across my old friend Tom Cavanagh online and discovered he is a writer. I read his first 2 books and really enjoyed them both. I don't usually enjoy crime novels, but someone lent me this book, and because I enjoyed Tom's books so well, and because Sandford is the pseudonym of the Pulitzer Prize-winning journalist John Roswell Camp, I tried it out.

Lucas Davenport is a celebrated police detective in the Minneapolis area who is renowned for using his intellect and game building skills to crack cases. He is brought in to solve a series of seemingly unconnected murders that have all been "signed" by a single killer's messages to the cops. Davenport is forced to out-think a killer who obviously is familiar with forensics and police procedure in order to bring the killer in. What results is a good, rarely predictable investigation that pits mind against mind in a struggle to be top game master.

Ok, I'm still not a fan of crime novels. But I did enjoy this one. It was a mix of the TV shows CSI, Criminal Minds, and Psych. Actually, I couldn't get the image of Lassiter from Psych out of my mind during passages about Davenport, although his actions were more James Bond than Lassy. This was a good diversion, if not a great book. It remains to be seen if I read more of the series (19 books!).

Wednesday, June 03, 2009 9:24:32 AM (Eastern Daylight Time, UTC-04:00)  #    Comments [0] -
Books
<%--
--%>
Statistics
Total Posts: 186
This Year: 0
This Month: 0
This Week: 0
Comments: 72
Locations of visitors to this page
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2010
Frank W Hagen
Sign In
All Content © 2010, Frank W Hagen
Custom DasBlog theme based on 'Business' by Christoph De Baene