Advertisement
Promo

Become a member of the ZDNet UK community

Xwindowsjunkie

View blog's RSS Feed

Home Server Projects

The best servers are those that don't appear to be servers at all.

Sunday 30 March 2008, 9:17 AM

Time to get a life, Windows eats all my free time

Posted by Xwindowsjunkie

I've been spending a lot of what should be my free time lately writing applications and designing a system to automate Windows XP Pro desktop system configurations for work. The system starts running on a USB flash drive that is running a generic OS image compiled using Windows XP Embedded. It uses no system specific drivers, just standard NT interface drivers. It works on every piece of hardware that supports USB-HDD. It boots up to a command prompt that is also the entire user interface. Deliberately there is no GUI. The entire OS image compared to XP Pro is fairly small, less than 230 megabytes even with a dotNet 2.0 runtime package. There is no Explorer shell. The security and local-user package has not been added to the system.

No user logon is necessary. Yet remarkably its also relatively secure. No remote connections to it can be made. No networking services outside of Workstation, meaning it has no server functions. The NIC driver is installed using an executable program, no Plug-n-Play install. Video is simply the text mode equivalent of the 1024x768 Safe mode generic driver. It has no printer functions, no web browser, no ActiveX support and no NetBios browsing. The IE6 hooks for http and other TCP/IP protocols is disabled. Even at the command prompt the User has no usable access to the networking dlls or executables.

The Win XPE system image on the USB drive boots up and connects to a network connected server to pull images of the operating system down to the system the USB flash drive is plugged into. Before the OS image is copied, the USB flash drive runs a number of routines set to partition, format and run chkdsk /f on the newly NTFS formatted partitions on the installed hard drive. So it does a complete “bare metal” hard drive installation for systems used in our rental fleet of computers. The installed image is based on a volume licensed XP Pro image that essentially replaces a licensed OEM image. It requires a little more bookeeping and costs a little more but the advantage to our company is a consistent XP Pro system image installation. Application software is installed in a second downloaded package that runs as a Windows installation package.

The configuration application using VB.Net is a single form Windows application (not a console application!) with the user interaction limited to checking 6 radio buttons in 6 different group-boxes and a single 5 digit serial number textbox and a few command buttons. Add a little bit of input validation and exception handling code and you're done. Nothing earthshaking. What astonished me was that it started and ran error-free on the command prompt based XPE image using a MSDOS batch file! Its like running a 32 bit DOS machine.

What I discovered is that this form of Windows XP Embedded runs quite well. Even with its generic NT style drivers, its extremely fast when compared to the full-tilt GUI version of Windows XP Pro SP2. It can be shut off like a DOS system, in other words by flipping off the power switch, no shutdown ritual! It loads and starts up from a USB flash drive in 30 seconds. If you see a cmd (like a MSDOS) prompt, you just hit the power switch to “shutdown” the computer. Nice. The OS image on the drive stays pristine unless you save a file to the USB drive. Why can't Microsoft deliver a GUI assisted system like that? Its as close to a bash Linux install you can get from the Red(mond) Gorilla unless you want to resurrect your set of 5.25” disks of MSDOS 6.22.

Friday 29 February 2008, 4:52 AM

Remember that demented WHS box, Kraken? RIP, snap, crackle and pop

Posted by Xwindowsjunkie

Been doing a lot of reading and programming both at home and the office. VB.Net(2005) at the office and C at home, its enough to make you a little schizo! Anyway, been reading security notices about various Windows Server products. Well what do you know? They've discovered a serious kernel flaw in Win2003 Server, the basis for the Windoze Home Server. Needless to say, I'm ever so happy I didn't get snookered into putting one of those things on the net!

Well time to microwave the WHS DVD, 5 seconds on High and its gone. Neat lighting and sound effects. Best way I've found to destroy a CD or a DVD and the most satisfying way I've found to "celebrate" a real dud.

Finally got MySQL server to work on Debbie. Had to completely uninstall it, delete the config files and remove it from the cache. Then use apt-get to bring it back from the Internet repository. That did the fix on MySQL. I suspect that I could get Bacula to work now. That will happen after I figure out a means of backing up the hard drives first. I've got a lot of time and energy invested in her now and I don't want to screw it up.

Cindy, my desktop Debian 4.0 box, works pretty well for a P3 and 256MB of ram. I started working the image down to a minimal configuration so it would be a little faster. I wonder what it would take to just run FireFox (Iceweasel) on top of X and dumping the Gnome desktop?










Xwindowsjunkie

This member is ranked #28 in our top 100

  • Xwindowsjunkie
  • Hardware Design/Engineering, Houston, Republica de Tejas
  • Member since: May 2007

Site Activity Rating 4

Contacts

Number of Contacts: 3

Contacts' Latest Discussions

Number of Tracked Discussions: 1,902

roger andre roger andre

That Random Coin Toss?

Monday 14 December 2009, 12:28 AM

2 comments
roger andre roger andre

Context is Everything

Wednesday 9 December 2009, 11:32 PM

2 comments

Contacts' Latest Blogs

Number of Contacts Blogs: 3

Avatar Karen Friar

HP workers set dates for strikes

Thursday 3 December 2009, 7:57 PM

1 comment
Avatar ator1940

Open Virtual Desktop

Friday 21 November 2008, 4:19 AM

2 comments

Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters