If you need a hard disk image done fast
If you want to create a (mountable, bootable) image of your local hard disk just use that small and cool tool Disk4vhd
Source: http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx
If you want to create a (mountable, bootable) image of your local hard disk just use that small and cool tool Disk4vhd
Source: http://technet.microsoft.com/en-us/sysinternals/ee656415.aspx
Every once in a while you download some code and fire up your Visual Studio and find out that this particular solution was once associated to a team foundation server you don’t know or have a login to. Like when you download source code from CodePlex and you get this “Please type in your username+password for this CodePlex Team Foundation Server”.
Or maybe you’re working on your companies team foundation server and you want to put some code out in the public. You surely want to get rid of these Team Foundation Server bindings.
There’s a fairly complicated way in Visual Studio to do this but since I was able to produce unforseen side effects I do not recommend it.
So what I did was looking into those files a Visual Studio Solution and Project consists of. And I found that there are really just a few files that hold those association information. As you can see in the picture below there are several files side by side to the .sln and .csproj files – like that .vssscc and .vspscc file. Even inside the .csproj and .sln file there are hints that lead to the team foundation server – so obviously besides removing some files a tool would have to edit some files to remove the tfs association.
So I wrote such a tool and I am going release it’s source code just beneath this article. Have fun with it. It compiles with Visual Studio and even Mono Xbuild – actually I wrote it with Monodevelop on Linux
Multi-platform galore! Who would have thought of that in the founding days of the .NET platform?
So this is easy – this small tool runs on command line and takes one parameter. This parameter is the path to a folder you want to traverse and remove all team foundation server associations in. So normally I take a check-out folder and run the tool on that folder and all its subfolders to remove all associations.
So if you want to have this cool tool you just have to click here: Sourcecode Download
Developing software is hard work – especially when you target several operating systems. One task that you have to perform quite often would be to deploy a new installation of an operating system as fast as possible on a test machine.
Doing this with Windows is easy – you can use the Windows Deployment Services to bootstrap Windows onto almost every machine which can boot over ethernet using PXE. Everything needed to make WDS work on a Windows Boot-Image is located on that image. Since it’s that easy I won’t dive into more detail here.
What I want to show in greater detail is how you can use WDS to deploy even Linux over your network.
Step 1: Get PXELINUX
What’s needed to boot Linux over a network is a dedicated PXE Boot Loader. This one is called PXELINUX and can be downloaded here.
“PXELINUX is a SYSLINUX derivative, for booting Linux off a network server, using a network ROM conforming to the Intel PXE (Pre-Execution Environment) specification.”
On the homepage of PXELINUX is also a short tutorial which files you need and where to copy them.
Step 2: Setup WDS with PXELINUX
I suppose you got your WDS Installation up and running and you are able to deploy Windows. If that’s the case you can go to your WDS Server Management Tool and right-click on the server name – in my case “fileserver.sones”. If you select “Properties” in the context menu you would see the properties windows like in the screenshot below:
You have to change the Boot-Loader from the standard Windows BootMgr to the newly downloaded PXELINUX bootloader. Since this bootloader comes with it’s own set of config files you can edit this config file to allow booting into Windows.
Step 3: Edit PXELINUX configuration file
The first entry I made into the boot menu of the PXELINUX boot loader is the “Install Windows…” entry. Since the first thing the users will see after booting is the PXELINUX loader menu they need to be able to continue to their Windows Installation. Since this Windows Installation cannot be handled by the PXELINUX loader you have to define a boot menu entry which looks a lot like this:
LABEL wds
MENU LABEL Install Windows…
KERNEL pxeboot.0
To add OpenSuSE to the menu you would add an entry looking like this:
LABEL opensuse
MENU LABEL Install OpenSuSE 11.x
kernel /Linux/opensuse/linux
append initrd=/Linux/opensuse/initrd splash=silent showopts
The paths given in the above entry should be altered according to the paths you’re using in your installation. I took the /Linux/opensuse/ files from the network install dvd images of OpenSuSE.
That’s basically everything there is about the installation of Linux (Debian works accordingly) over PXE and WDS.
And finally this is what it should look like if everything worked great:
Source 1: http://en.wikipedia.org/wiki/Preboot_Execution_Environment
Source 2: http://syslinux.zytor.com/wiki/index.php/PXELINUX
At sones I am involved in a project that works with a piece of hardware I wanted to work with for about 3 years now: the Microsoft Surface Table.
I was able to play with some tables every now and then but I never had a “business case” which contained a Surface. Now that case just came to us: sones is at the CeBIT fair this year – we were invited by Microsoft Germany to join them and present our cool technology along with theirs.
Since we already had a graph visualisation tool the idea was to bring that tool to Surface and use the platform specific touch controls and gestures.
the VisualGraph application that gave the initial idea
The good news was that it’s easier than thought to develop an application for Surface and all parties are highly committed to the project. The bad news is that we were short on time right from the start: less than 10 days from concept to live presentation isn’t the definition of “comfortable time schedule”. And since we’re currently in the process of development it’s a continueing race.
Thankfully Microsoft is committed to a degree they even made it possible to have two great Surface and WPF ninjas who enable is to get up to speed with the project (thanks to Frank Fischer, Andrea Kohlbauer-Hug, Rainer Nasch and Denis Bauer, you guys rock!).
I was able to convice UID to jump in and contribute their designing and user interface knowledge to our little project (thanks to Franz Koller and Cristian Acevedo).
During the process of development I made some pictures which will be used here and there promoting the demonstration. To give you an idea of the progress we made here’s a before and after picture:
We started with a simple port of VisualGraph to the surface table…
…and had something better working and looking at the end of that day.
I think everyone did a great job so far and will continue to do so – a lot work to be done till CeBIT!
Source 1: http://www.sones.com
Source 2: http://www.microsoft.de
Source 3: http://www.uid.com/
Today was Linux-Distribution-ISO-Install-Day. And it turned out that the only existing external DVD drive was fubar.
So what to do? We had a spare USB stick and it turns out that you can quite easily convert that USB stick into a bootable Linux-Distribution-Install-USB-Stick. Awesome!
Just download the tool called “UNetbootin”, start it and you can turn virtually any ISO Distribution Image into an USB Stick that boots and installs that ISO:
Create a new folder, rename it to:
GodMode.{ED7BA470-8E54-465E-825C-99712043E01C}
After hitting <return> the folder will be a shortcut to the Windows 7 Administration GOD Mode. Enjoy. (Thanks Damir)
I had the task to make my Outlook Task List appear on my iPhone. As everyone knows Apple did not do anything about todo lists or tasks on their phone… well there’s an app for that: Most of the task applications on the iPhone use Toodledos services to sync task lists with the desktop.
To sync the Toodledo service with the desktop you need another tool. This tool uses your Toodledo account and your locally running Outlook to sync between both. So this little desktop sync tool needs access to the Outlook data: This means you will maybe be bugged by Outlook that some program wants to have access to the data. You can allow it for a number of minutes but not forever.
Okay one solution would be to install appropriate antivirus tools to suit the operating systems security needs. Because this wasn’t a solution in my case I needed something more sophisticated to solve the problem.
Now that’s the point where “Advanced Security for Outlook” from MapiLab comes into play. This Outlook Plugin extends Outlooks Security Dialog and adds things like “always allow”:
Source 1: http://www.toodledo.com/
Source 2: http://www.mapilab.com/download/
Thanks to a podcast I found a great software for my iPhone and iPod touch. It’s a small tool which does cost less than 3 Euro and it’s served by a server tool which runs on Windows and Mac OS X.
It’s called Air Video and it’s frikin’ awesome! ™
What you do is you install the server software and point it to all your directories / drives that might contain video material. You then take your iPhone and install the client app. If you configured the server to be available over the internet you can now connect from anywhere you want using a pass-pin (which is generated) and a password (which is set by you). And by “from anywhere” they mean “anywhere”. WLAN or 3g didn’t make any difference in my test. You start the client, point to a video file and most of the time you are asked if you a) want to directly play is (if the file is ipod-compatible) or b) if you want to live-convert it and play it (when the file isn’t compatible and needs to be re-encoded live for you) or c) if you want to add the file to a conversion queue which will off-line convert the video for you.
In terms of “finding your video” it does look like this:
Simple, eh? Taping a video will bring up this screen:
As I said – Play directoy, Play with Live Conversion and Offline-Conversion-Queue…
It did work with EVERY Video I tried. When I tried Full-HD Movies my serving PC wasn’t able to handle the load but everyhing in SD worked great which is perfect for me.
Therefore I can highly recommend this tool – it really does work better than anything I’ve seen before.
Hurray for VMWare! – I am using their products for years now – both private and on my job. It’s a blast to work with the Workstation and Fusion. Now they brought a major update to version 7 for VMWare Workstation and version 3 for VMWare Fusion. I upgraded my VMWare Fusion installation and finally the one feature that I missed the most on my Windows Vista and 7 virtual machines is available now: Aero Glas!
There’s a great Visual Studio documentary on CH9. Highly recommended to anyone who wants to see what happened from the start till now.
“Welcome to the first installment of the Visual Studio Documentary.This is an hour long documentary that is split into two parts, roughly a half hour each. Welcome to part one, where we take you back to the days of MS-DOS and Alan Cooper who originally sold Visual Basic to Bill Gates back in 1988. Next week we will feature Part Two but for those that would like to watch it sooner, here is Part Two. In addition, each week we will post a longer and more in-depth stand alone interview from the interviewees that were featured in the documentary.”
Almost three years ago I wrote about this nice little Regular Expression Tool which provides not only a RegEx-Builder but also a clean and nice interface to test and play.
It was a CodeProject sample project in that time and as it turns out it became a full blown version 3!
Obviously the user interface was revamped completely:
So you now not only get the Testing and playing but also a Regular Expression Library, a cool How-To, a more useable design mode and you can even output your final regular expressions to C#, VB.NET or managed C++!
Great stuff! Even better is the fact that it does not come at any costs. Despite the fact that there’s a registration you can just get your free license on their website.
Source 1: http://www.ultrapico.com/Expresso.htm
Source 2: want some espresso?
Great stuff this week: Notepad++ was released in a new version 5.5. Nice new features all around:
…is just great! A cool tool to find bottlenecks and the cause why your machine is just slow right now.
I’ve run into several problems while trying to install the current 8.1 version of the APC PowerChute Business Edition.
Basically I get this error message when I am trying to install it:
So you can simply not install this version of PowerChute on this machine – OR you could go here and follow the link to the Download of the 8.0 version of the software. This will start the setup with this screen:
Great! Just get the “old” version and use it.
Source 1: APC PowerChute and VMWare
So here we are on a new blog engine. It took me the better part of two days to do the Migration of 2,869 posts and 2,732 comments, a lot of pictures and movie files.
I will write an article on this but for now only two captures images from the migration:
…switch this website to another weblog software in the future. The dasBlog development isn’t exactly what I would call fast-paced. It even seems that there was no movement at all for the last year at all regarding new features.
I took a short look at a current WordPress installation we did for our Developer Website at sones – and I have to admit that feature-wise this WordPress is way beyond anything I could achieve in dasBlog anytime soon.
Additionally the fact that the skin of this site seems to be broken (especially for older browsers) I would have to do a skin-redesign – turns out that this is way easier in WordPress than it is in dasBlog.
I ran into some strange problems with a notebook that leaded to sound drop-outs or things like sluggish UI and HDD performance. So I tried almost everything troubleshootig the problem. That worked for some problems but there are occasions when I want to have a more systematic approach to those kinds of hardware / driver related problems.
One tool that can help to find hardware / driver problems is the DPC Latency Checker. This tool measures and displays the latency of your system. All you have to do is watch as the measurements scroll by and remove / disable one device after another from your machine. As soon as the latency turns green again there’s a high probability that the device you removed last has a problem of some kind.
On my machine everything is in the greens now – after some BIOS and driver updates. If your system has some issues you would see something like that:
(courtesy of Gnawgnu’s Realm)
Source 1: http://www.thesycon.de/deu/latency_check.shtml
Source 2: http://gnawgnu.blogspot.com/2009/01/dell-latitude-e6400-sound-problem-fixed.html
Normally I am using a notebook and a 24” Widescreen TFT as a Dual-Monitor solution. In fact I am mostly using the 24” TFT for work and the notebook 14” TFT for all the things that don’t need to be in focus right now like Instant Messengers.
Now in those few cases when a video needs to be played I want it on the main monitor but I want it to take as little of space as possible. And I want it On Top of everything else… maybe sometimes I even want to control it’s opacity a bit…
Now there’s this cool tool called “OnTopReplica” – It’s available for free on Codeplex and works out of the box without installation.
After you start it you’ll end with a small glas window where you can right-click to get a menu. You choose a Window which needs to be replaces – for example the YouTube Browser Window. After that you can even control which region of this Window should be displayed. You can resize, move and of course control the opacity of this window.
It’s also great for presentations because it allows you to simply resize any window you like. It will resize it and while it does that the window always is “live” – so everything you’re doing in the original window will be displayed in the replica.
While trying out the new Mozilla Weave I came across the nice interface the guys built into their sync service. Funny messages included.
Source: http://labs.mozilla.com/weave/
Well, if you don’t want to have them removed just form your Team Explorer in Visual Studio you want to go to your Team Foundation Server Remote Desktop and open a commandline.
Change to the folder %program files%\Microsoft Visual Studio 9.0\Common7\IDE and do this:
tfsdeleteproject /force /server:" "
When you start a Skype call WIndows 7 will immediately reduce the volume of all other sounds by a defined value. 80% is default. Great and useful feature!
It’s great to finally have the .NET sourcecode for debugging purposes – inconveniently it’s in a format you might have your difficulties just browsing along. A little tool is here to help!
After you installed, let’s say the WCF sourcecode and debug symbols you get a directory structure similar to this:
This source.zip.tmp file holds the whole sourcecode as one big package. It can’t be unpacked – even one would suggest that by just looking at that .zip ending in the name of the file.
Instead this is a plain-text file of a certain yet simple format. I wrote me a little tool to unpack this file into it’s original files and directories.
You can get the little tool, including sourcecode, here: UnpackMSSources.zip
To start the magic, you would like to go to the command line and start the tool with two parameters. Parameter 1 is the path and filename of the source.zip.tmp file. Parameter 2 is the part of the Path that needs to be cut-off. For the WCF Sources it’s “/DEVDIV/depot/DevDiv/releases/Orcas/SP/ndp/cdf/src/” for example.
The tool will then start to whirl through the file and extract all the files it founds into directories it’s creating along the way. After some seconds you would end with a directory tree like this:
Have fun!
Source 1: http://referencesource.microsoft.com/netframework.aspx
Source 2: http://www.schrankmonster.de/content/binary/UnpackMSSources.zip

After not less than 3 and a half hour Songbird finished with importing the iTunes library I am using for about 6 years.
The first impression is: Cool, it’s got plugins!
The second impression is: Booh, it wants to restart (while stopping the music) to install!
It’s not faster than iTunes. And this is a sad thing, because the only thing I hoped it would be was faster. It’s not – the UI it’s as fast and responsive as iTunes’ UI – at best. With just a few clicks the whole songbird window went into sleep mode and the well known beachball came into the play.
Even worse: for some strange reason Songbird consumes considerably more CPU time while just sitting there and playing an MP3 than iTunes does:
18,7% CPU load used by songbird just by playing an mp3 (no filtering, no visualisation, no nothing)
2,3% CPU load for iTunes while doing exactly the same. Even the same mp3 was played.
iTunes even takes less memory… oh dear: A long way to go for the Songbird team.
Since my last Songbird experiences were not that great I thought it would be a great idea to take the newly released 1.2 version of Songbird for a spin.
It’s said that the new version is faster and more stable. I installed 3 hours ago and I still cannot use it since it’s syncing with iTunes ever since.
More on that topic when songbird is ready….
Source: http://getsongbird.com/
There’s an update of the beloved TFS Build Status Screen tool. And the most frequently asked feature is now built-in: Scaleability.
You can scale the status screen now to fut even on the smallest screens…hurray!
Source: http://raquila.com/software/team-foundation-server-build-notification-screen/
We’re currently running several build processes. So each time someone checks new code in one of the build machines gets the whole package and builds it, runs tests on it and stores the result of this whole process on the Team Foundation Server. Great stuff so far.
Until you start to do things like automated WCF Testing. We’re using the selfhosting capabilities of the WCF to start a ServiceHost and then run tests against it. This works great locally. It does not on the build machines. Even if you promote the Build-Service User to Administrator you won’t get the love.
The error you might get would look something like this:
The exception contains an URL which tells you to add the Service URL to the machines URL Access Control List. On Windows XP and 2003 you have to install the Windows Support Tools and use the httpcfg command. On Windows Vista and 2008 you should use the already installed netsh commandline tool.
Since we need to get this to work on all current and future build servers I decided to add the netsh call to the build script, which looks like this:
Add this Target before any tests in the .proj file and you’re set.
I had to transfer some data the last days and I wanted to do it fast, encrypted and using only one tcp port. SFTP is one of those protocols that come in handy in these cases.
Since the machine that would host the SFTP service is a Windows machine I reached out to find a free, reliable and easy to install and use SFTP Server.
I found Core FTP mini-sftp-server. It’s a small download of just one .exe file. When you start it up it’ll show the dialog above. You can configure username, password, port and path. Click “Start” and off you go. Works as advertised.
Source: http://www.coreftp.com/server/
So it’s been some days with the new Mediacenter Setup. And all I can say is: Oh boy that is some serious cool setup. I wouldn’t want to chance anything beside adding a new Sound System (>5.1 FTW!).
The Display itself is thinner than thought:
I strongly recommend the Mac + Plex + Full HD display setup. Even if you don’t get any HD content from your cable provider you can live-stream or download HD content through the different provider plugins inside Plex. The plugin infrastructure with the built-in “App Store” is just great.
Since Plex is a XBMC based Mediacenter software you have tons of information scrapers regarding series and movies. So you’re eventually huge collection gets indexed and presented in a way you would not get from any other Mediacenter. You get pictures, movie posters, descriptions and many more just by automatic indexing your collection.
MST3k FTW!
Needless to say that HD content is something different. I only had some HD content on normal computer displays in the last years – having it now huge and sharp is different – better.
BTW: It’s on the floor right now because my wife couldn’t decide until now which tv-stand would suffice…
Source 1: http://av.samsung.de/produkte/detail2_main.aspx?guid=b6c1306c-f57d-4ce7-a944-56cc7346ed2e
Source 2: http://www.apple.com/macmini/
Source 3: http://plexapp.com/
My beloved GPS analyzer “GPS-Track” has been discontinued
I wasn’t able to locate an old version of it so I had to find a new tool which does the trick. On the other hand I upgraded my Windows Mobile phone to a newer version – resulting in the not-running of my previous gps logging tool. So I had to find another new tool.
First the GPS Logging tool:
It’s freeware, written in .NET and worked out of the box with my bluetooth gps. It’s called “GPS Cycle Computer” and has a lot of cool features like Google-Earth KML export, the obligatory GPX support and a great several display modes.
The GPS Logger exports an .GPX file which then is imported into the Analyzer called “GPS-Track-Analyse.NET”. This tool – obviously designed to analyze hiking – allows you to view the data in different ways, edit waypoints and export it to several other formats.
Source 1: http://www.gps-freeware.de/Vorschau.aspx
Source 2: the previous GPS Tracker Tool I used
Source 3: the new Windows Mobile GPS Logger tool
You might want to do this:
This will spawn a nice little dialog looking like this:
There you go – you can add, remove, edit, backup and restore your stored passwords. I didn’t know that was possible until now – amazing B-)
Aufgrund neuester Entwicklungen im Speichermedien-Segment wird ab dem nächsten Release des sones Speichersystems auch das angesagteste Speichermedium der Stunde unterstützt: die Speichergurke.
Durch die sensationelle Speicherdichte und unerreichte Zuverlässigkeit ist die Speichergurke das perfekte Speichermedium für den Datenhunger von gestern, heute und morgen.
Source 1: http://www.sones.de
Source 2: http://www.speichergurke.de
Since we moved into a new apartment in the last 3 weeks I had no stable internet connection – neither had my private Mailserver.
As of today everything is in place – the mail- and fileserver is up and running and connected to the internet again. So I had a server which buffered all the mail that came in during that time. That sums up to:
63.671 Mails in about 18 days. Hussah!
Go little Mailserver, go!!!
First my Vista x64 machine at home seems to get slower by any minute it is powered on – most likely because one service is eating up all the installed memory:
(screenshot from Process Explorer)
I wasn’t able to figure out what’s the problem with it – restarting the associated services did nothing at all – killing it and restarting the services resulted in 5 gb of free memory…
And then there’s the other thing that happened this morning. We ordered a pile of 20 hard disks before christmas – and now 4 of them died.
Farewell you little 1 Tbyte hard disk – we never had the chance to get to know each other better.
We have several source-trees in one VSTFS project which are separated by paths in the source control. Now there are several build definitions which are triggered on every checkin.
The problem now is: How do I just build the projects that are affected by the checkin?
Easy! Just cloak the paths in the build definition.
In the example: Every check-in below $/sones/branches and $/sones/PandoraDB is ignored and the code itself isn’t even checked out.
I promised you the sourcecode of the Jabber Logging Client Service I’ve written. You can read about it here.
It’s now a fully blown Windows Service which monitors the EvenLog Datasource you specify. You can specify filters now so that you won’t get overwhelmed by uninteresting messages from the Windows Event Log of the monitored machine. You don’t need to restart the service if you changed a filter – it’ll pick the new filter up automatically. The same stands for the target users. Just change the XML and the Service will pick that information up. If you change the EventLog Datasource or the Jabber-Settings you’’ll need to restart the service.
So here it is: JabberLoggingService Version 0.2
If you’re going to use it and you like it please drop me a line. Oh and don’t forget to read the readme.txt for full instructions.
Oh I almost forgot: You can grab the Sourcecode of the Linux version here: http://www.ahzf.de/itstuff/XMPPLogger/
Source 1: http://www.schrankmonster.de/2009/01/22/UsingJabberToMonitorWindowsEventLogs.aspx
Source 2: http://www.schrankmonster.de/content/binary/JabberLoggingService0_2.zip
Source 3: http://www.ahzf.de/itstuff/XMPPLogger/
When your brand new build server compiles and tests your code automatically and successfully for the first time… oh what a great way to end the work day:
I found out what to do to get the Jabber Eventlog Service to display status information in the Jabber Client…
nice, eh?
I tried to install a Data Protection Manager 2007 Remote Agent remotely and on the machine locally. Trying to install it remotely will always fail with this error message:
Since “tfs” is the only x86 server we have and everything else including the DPM 2007 Server is x64 this is my only bet – but so far even the local installation (which worked) did not change anything. I installed the remote agent and did the console setup setting the dpm server. I then added the production server to the DPM 2007. But the error message remained. I just don’t know what else to do.
Any ideas?
Like every company we also got several machines working just for our infrastructural needs like Sharepoints, Activedirectory, Databases, Backup-Servers and so on.
To monitor many machines we came across the idea to use Jabber Instant Messaging to monitor the machines. For example the VPN should drop a line to specified jabber adresses if someone connects or disconnects. Every single machine is maintaining it’s own log – which means you would have to consolidate them in some ways. And since consolidation is not the masterplan – since you would need an event alarm system which sends out alarm calls if something weird is happening, you would need that alarm system too.
So we wrote (while waiting for the machines to install) several small tools which provide a gateway between syslog-ng, windows event logs and Jabber.
Since we are using this productively my Jabber Client Window looks something like this:
As you can see there are 3 machines online right now – and since these are Linux machines they also provide some status information like load averages and free memory. The Linux version was written by ahzf in perl – and obviously his library can handle the presence and status information much better than the one I used for the Windows version
– So there are no presence and status informations for the Windows machines right now.
The Windows version is written in C# and relies on the Jabber.NET library. It comes with a small setup and runs as a windows service.
In the setup you have to enter the username+password of a user that can access the local Windows Event Log. After the successful setup you need to edit the config file:
It’s XML and quite easy to understand (I think) – so you define the jabber server, the user, the password, the Users that you want to receive the messages and the EventLog you want to monitor.
After starting the service you get the startup message via the jabber server and from now on everything that is written into the Windows Event Log is sent to the accounts you specified. Easy eh?
P.S.: sourcecode release will be after we packaged everything.
Recent Comments