Friday, February 21, 2014

IE9 fails to install with error 3715

Having a bit of an unexplained error on a client using IE9 (don't ask) prompted me to attempt uninstalling and reinstalling it after all other attempts to diagnose the issue failed. Uninstall worked fine, but upon running the downloaded manual installer I was met with a generic error. I looked at the Microsoft troubleshooting advice which yielded no results, however on attempting to install from Windows Update I at least got an error code: 3715. A few searches yielded Technet articles like this one that mostly linked back to the same troubleshooting info.

On one of such articles I saw some advice related to clearing temporary files which didn't work but led me to start thinking about what else could be on the computer that could prevent the install. When I started IE8 for the first time after uninstalling 9 I got two popups regarding browser toolbars: Bing Bar, and Google Toolbar for Internet Explorer. I decided to try uninstalling these, and sure enough after doing so the manual installer for IE9 worked flawlessly.

I'm not sure if my original problem is solved yet, but hopefully this post can help anyone else searching on this particular error, or other errors related to installing IE9.

Friday, February 14, 2014

High latency for hyper-v 2012 r2 VMs

I had just finished setting up a 5 NIC team to provide 5gbps to my shiny new Windows Server 2012 R2 Core with Hyper-V host when I discovered that the VMs had very high, and unpredictable latency. Not cool! I read a number of blog posts regarding settings of the physical NIC that could be to blame. The most common theme, as explained in this article is a feature called VM Queueing. It seems to be most common Broadcom NICs but also affects Intel. Looks easy enough to change... except in core. Luckily there are a few handy powershell cmdlets to handle this issue in Core. Confused by the exact syntax for Disable-NetAdapterVMQ, I searched google for this cmdlet and found this great blog post on the exact issue. At first I tried just disabling the VMQ on my NIC team multiplex adapter, but still had the issue. Eventually I ended up running ' Disable-NetAdapterVMQ “*” ' to disable the feature on all adapters. My VMs dropped 4 packets, but then came back up with <1ms ping. I gotta tell ya, I <3 <1ms :)

Tuesday, February 11, 2014

Windows Server 2012 slide login

Sick of that annoying touch-drag motion that makes sense on tablets, but not so much with a mouse that you are forced to perform before logging in to Windows Server 2012 and Windows 8? It turns out the spacebar will skip this screen. There's probably a way to disable the swipe to login on these newer versions of the operating system, but this work around seems efficient enough that I didn't bother looking for it.

Thursday, May 23, 2013

Fix Office File Associations for All users

I ran into a strange problem today. I installed Office 2007 Standard on a Windows 7 machine in the same way as I've done hundreds of times. For some reason something went awry this time. Any user other than the admin user, which I used to install the program, had Wordpad set to open all Office documents. Admittedly I only tested three other user accounts but all indications were that this would affect everyone. Since the Default Programs in Windows are set on a per user basis I couldn't very well just fix the associations manually. Instead I found the solution in an under-appreciated comment on this thread:

"Running winword /r corrected a similar issue I was having." - appdce

winword in this case is of course winword.exe which is located in the Office12 directory (usually C:\Program Files\Microsoft Office\Office12\winword.exe). Running this command once with an unprivileged user seemed to clear up the file associations for all users. Thanks appdce, wherever you are!

Tuesday, May 14, 2013

Ping with timestamp in Windows

Since I've had to look this up on a number of occasions I know others must too. It's a common problem: you need to leave ping running to catch elusive network failures but you need to know not just if but WHEN the network failed. There's as many solutions as there are threads but I feel that a program called fping offers the best solution to the timestamp problem (and a bunch of other nifty features as well). For instance unlike with normal ping simply redirected to a file, fping can log to a file while displaying console output. Nifty!

Friday, April 12, 2013

Run Cisco ASDM client on x64 machine

The official Cisco solution is to only use the web client, but this workaround seems to solve the issue. The Cisco ASDM launcher is configured to use javaw.exe inside c:\windows\syswo64\ but this path causes the connection to hang and never connect.

1. Install ASDM normally - From the interface at https://192.168.1.254:444
2. Edit a shortcut - I tend to create a shortcut from the start menu item onto the desktop. Right click and select properties. Change the Target path to use javaw.exe inside Program FIles for example:

"C:\Program Files\Java\jdk1.6.0_21\bin\javaw.exe" -Xms64m -Xmx512m -Dsun.swing.enableImprovedDragGesture=true -classpath lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar com.cisco.launcher.Launcher"

The client will now work as expected. You're welcome.

Monday, April 8, 2013

Get Dell Service Tag Remotely

I recently needed to know the service tag of a remote machine. I found this article which gave me the simple instructions which follow:

1. RDP into remote machine.
2. Open command prompt.
3. Enter: wmic bios get serialnumber

Now get with Dell and get your system fixed!