2009/02/26

Windows Home Server Language Change

Some weeks ago, I ordered (with some difficulties) the English restore disc for my Fujitsu Siemens Scaleo Home Server. Originally it was equipped with German discs, but since most of Microsoft Betas are available only in English, I wanted to switch.
In the end, FSC support posted the ISO on a server for me to download. Nice enough, the disc had PP1 already integrated.

I started my server in restore mode and did the restore of the first partition (very important, otherwise you lose data!). But then the problems started. Although all files and shares were restored, it was not possible to join client computers. Here's an excerpt of what I asked on the forums of FSC Scaleo Home Server support and Microsoft Connect Windows Home Server:

[...]
After the reboot, the client should be connected/joined to the server. Server is found, I enter the password, and get the message "The operation cannot be completed at this time. Please try again later. If the problem persists, please contact Product Support" and nothing goes. Reboot of the server and the clients don't help, nor do different operating systems (Vista SP1, SP2beta, Windows 7 Beta).

Eventviewer in the console shows an interessting error: Right after the reboot, the creation of the ssl-certificate fails. (A fatal error occurred while creating an SSL server credential., EventID 36871, Source Schannel). Though I can create it manually with C:\Program Files\Windows Home Server\servercerts.exe, nothing works.

With the tips from http://blogs.msdn.com/eldar/archive/2007/04/28/windows-home-server-client-join-troubleshoooting-hints.aspx I found out, that the public key in WHSMaster.publickey is searched in the German path C:\Programme\Windows Home Server instead of C:\Program Files\Windows Home Server. I created the folders, copied the file, didn't help, even after reboot.

I exported the certificate from the certificate manager - no match with the one in WHSMaster.publickey. So I replaced the files with the exported one, didn't help.

I imported the certificate manually on the client, nothing. I deleted the client backups and client entries, nothing. Restore of the server and earlier replacing of the public key didn't help either. The certificates of the IIS-sites, the server, the client, all match.

[...]

So far, so bad. Seems that when replacing the versions not everything is copied/overwritten correctly. Of course, if I reset the server to factory settings, it might work, but I don't want to lose my files.

Oh, there's another remainder of the german installation, additionaly to the certificate path. Logs are written to C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Microsoft\Windows Home Server\logs instead of Documents and Settings...

[...]


It seems that on the FSC forum, no help is provided by official supporters - and I got no replies from any user. On Microsoft Connect however, I got a reply, which seemed to confirm my worst expectations: Language change is only possible in a clean install, migration is not possible. Here's the reply:

Thanks for the feedback item. At this time, the scenario you described is not supported. The only supported way to change server language is by a clean install. This is due to the fact that some language specific information is stored on the Archiver brings back the old WHS German settings, which breaks things. For example: - transport has the full path to EnrolDLL in the registry, which is no longer valid and may cause the certificate problems - Software is the same in English and German else OOBE would fail immediately Regarding the 28% AU problem - We see in setup log OOBE installed 48 updates just fine, could be a temporary glitch in WU or could be related to switching the language somehow. We suggest that you save your share data first then do a factory reset. -Windows Home Server Team

This reply however contained the little piece of information that I needed: ARCHIVER. This is the place where the information is stored that has to be retained when doing a restore - obviously it can't be on the primary partition, this one gets overwritten.
So, where might this be?

I looked around and found the file whs.reg in D:\folders\{378AE094-F4CA-4D9B-BDA5-649D6F738276}. The same file also appears in C:\fs\*\DE\folders\{378AE094-F4CA-4D9B-BDA5-649D6F738276} - I know WHS does its thing with tombstones and original files, I assumed the one on C:\fs is the original. The * is a "drive letter", actually the mounting point of one of the secondary drives.

Back to the whs.reg: It's a normal registry exported file that contains all the paths and names that WHS needs to know. And, as expected, the paths were absolute.
In German Windows Versions, the folder "Documents and Settings" is called "Dokumente und Einstellungen", the folder "Application Data" is called "Anwendungsdaten" and "C:\Program Files" is "C:\Programme".

Time for search and replace. (Obviously I made a backup of the file - but I had only a vague idea how to replace it if it wouldn't work) Well, time to jump of the cliff and hope there's water. And there was!

The next restore went as it should, it restored all of my shares and - most important - allowed me to join the client computer again!

Now, everything worked fine till I started the Windows Updates - other errors appeared because some stuff still seems to look in the "C:\Programme\Windows Home Server" folder - time for the final blow:
I used Sysinternals (well, Microsofts) junction to make a hardlink. I created the folder C:\Programme and in it, I ran at the command line:
junction "Windows Home Server" "C:\Program Files\Windows Home Server"

End of story, it's running for several weeks now without problems.

Labels: , , ,

2008/08/06

Power Pack 1 für WHS deutsch

Endlich, nach langem Warten: Power Pack 1 für Windows Home Server deutsch ist da... Microsoft hatte es ja schon für den 4. August versprochen, aber Hauptsache es ist nun angekommen.

Leider ging mir bei meinem WHS-Crash vor ner Weile ja meine ganze Podcast-Kollektion von "Echo der Zeit" verloren - nebst meiner ganzen iTunes-Kollektion. So muss ich nun halt langsam aber stetig wieder versuchen, meinen Server zu füllen...

Labels: ,

2008/06/04

PowerLAN, Windows Home Server, VLC und Dreambox

Wenn ich schon einen Windows Home Server habe, auf welchem Musik und Videos liegen, wäre es doch ganz nett, auf diese Sammlung vom Fernseher aus zugreifen zu können, oder?

Ich hatte bereits früher mit meiner Dreambox 500-S und VideoLAN Client probiert - doch es funktionierte nie! Es begann zwar zu Streamen doch brach immer wieder ab. Ich muss hierzu sagen dass meine Dreambox per Powerline angeschlossen ist - der ZyXEL-Adapter hängt an derselben Steckdose wie Fernseher, DVD-Recorder und Receiver. Und obwohl der PowerLAN-Router (ZyXEL NBG-318) meldet die Verbindung sei gut kam ich nie auf die Idee, mal zu messen. Für FTP und Telnet zum Dreambox hats schliesslich gereicht, warum sollte es nicht für mehr gehen? PS zu den beiden ZyXEL-Geräten: Ohne XP lässt sich die Firmware nicht updaten... Musste extra eines installieren!

Zwischenzeitlich versuchte ich, das LAN-Kabel für meinen Laptop zu verwenden. Ich erhielt nie eine Adresse vom DHCP-Server. Zuerst hatte ich Vista (SP1) in Verdacht. Doch schliesslich merkte ich: Die Steckdose beim Fernseher liefert kein brauchbares Signal. OK, Verlängerungskabel her und andere Steckdose gesucht. Obwohl die Steckdose bei meiner Zimmertüre hinter derselben Sicherung (FI) hängt war das Signal dort in Ordnung. Nun gut, jetzt geht unter meiner Matratze halt ein Strom-und ein LAN-Kabel durch - zusammen mit dem Handy auf dem Fensterbrett und dem Wireless LAN im Haus eine gute Mischung! (Elektrosmog my ass... noch nie was davon bemerkt. Selbstversuch Ende 90er: Ich legte alle Kabel meines Towers so, dass ich darauf schlafen konnte, Kissen drauf, schnarch. Keine Wirkung)

Aber ich schweife ab:
Auf die Dreambox gehört das VideoLAN Client Frontend VLCF 1.8 (Gemini installieren, dann ist's bei den Add-Ins) auf den Windows Home Server der VideoLAN Client (per Remote Desktop Connection installieren). Setup gemäss der Anleitung hier.
Achtung, die Ports für VLC müssen in der Windows Firewall geöffnet werden. Am einfachsten geht dies, wenn man den VLC nachdem man ihn fertig konfiguriert hat, nochmals startet. Der WHS fragt dann nach. Ansonsten halt via Systemsteuerung->Windows Firewall

Für "startdir" habe ich "D:\Shares" eingegeben - dann sind die Musik- und Videoshares verfügbar. Ob es ohne cddrive funktioniert habe ich noch nicht ausprobiert.

Erstaunlicherweise reicht die Leistung meines Scaleo WHS 1500 ohne Probleme zum Transcoden vom WMV, Xvid usw. Nur M4A (iTunes plus) läuft bis jetzt leider noch nicht, muss ich noch etwas knobeln.

VLC läuft im Moment noch in der Console-Session, sollte sich aber auch als Service integrieren lassen - ein Skript auf der Dreambox welches den Service auf Tastendruck startet (SSH oder Telnet-Kommando) wäre sicher auch noch was...

Eigentlich kann die Dreambox auf ein NFS-Share aufzeichnen (liesse sich mit den Windows Services for Unix einrichten) aber die Zeit dazu habe ich noch nicht gefunden.

Labels: , , , ,

2008/05/15

Mein neuer Windows Home Server



Seit Dienstag letzter Woche habe ich nun meinen eigenen Fujitsu Siemens Scaleo Windows Home Server 1500. Bestellt habe ich ihn für gerade mal Fr. 750 beim FSC-Shop. Da die mir nicht sagen konnten, wann er genau geliefert wird bestellt ich ihn nach Rapperswil per Pickpost - wollte nicht dass er bis Samstag in der Post in Menzingen rumliegt.

Hätte ich geahnt wie gross die Schachtel ist hätte ich das gelassen - musste ihn mit dem Zug nach Hause bringen. Was für ein Geschleppe...

Ein 1500er wird nur mit einer 500 GB Festplatte geliefert - das reicht grad mal knapp für das Backup der Virtuellen Maschinen und meine Sammlung an "Echo der Zeit" - mehr Platz musste her! Diesen Dienstag habe ich bei Steg Dietikon (trotz der "zuvorkommenden" Bedienung) noch eine Western Digital Platte mit 1 TB gekauft - beim Einbau stellte sich dann heraus, dass leider noch die speziellen Schrauben für die Festplattenhalterung fehlen.

Von Pontius zu Pilatus telefoniert (Fujitsu-Siemens-Support (zuerst Server, dann Consumer), FSC-Shop, Swiss-IT-Repair) und heute wurde mir nun versprochen, dass die Schrauben auf dem Weg sind. Bis dahin liegt die Platte etwas locker im Rahmen...

Wenn jetzt noch der Twonky Media Server richtig läuft bin ich richtig zufrieden mit dem Gerät - braucht kaum Strom, geht zeitgesteuert in den Ruhemodus und erwacht wieder daraus... Wirklich eine tolle Sache!

Labels: , ,