Windows 2012 Storage Spaces not mounting after reinstall

After reinstalling Windows 2012 R2 Server you may find that the Storage Spaces virtual disks will not show up automatically. In fact you won’t even see them in “Computer Management”. The reason for this is that the server is not configured to use the old storage space setup. Authorize server for read-write to storage spaces First … Read more

Apache WebDAV setup compatible with Windows

Windows supports mounting WebDAV shares as drives. WebDAV is a HTTP protocol for file access used by for example SharePoint. It does however not support basic auth by default (basic auth sends password in cleartext, which is bad). It took me some troubleshooting to figure it out so I thought I’d share my results. You’ll … Read more

Should I defrag my SSD?

The answer is: “Yes!” and “No, never!” or somewhere between. SSD disks has overcome the physical limitations of traditional harddisks. It is actually not a harddisk any more because it doesn’t have a disk. Traditionally when you access a fragmented file the data is scattered around on the disk so the read heads has to … Read more

.Net GUI thread crossing

In this article I thought I’d try to explain the exception: Cross-thread operation not valid: Control ‘someControl’ accessed from a thread other than the thread it was created on. This article is a simplification and applies to WinForm and WPF (though samples are for WinForm). What is the GUI thread? When an application starts the … Read more

Disable Windows 7 Sound Card Jack Sensing

Windows attempts to auto detect any changes to the plugs in your sound card. That doesn’t work well with my sound card (X-Fi something) so the speakers keep falling in and out randomly. Solution: The sound card drivers are located under the registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class{4D36E96C-E325-11CE-BFC1-08002BE10318} Search for “EnableDynamicDevices” (located under GlobalSettings somewhere) and set it … Read more