Script of the week: how to expire files with Classification

It is an eye opening experience to sit at our FCI booth and see customer after customer telling us their biggest problem with managing file servers today: lots of old data sitting on their file servers. When I tell them how that our classification feature solves this problem, it something that always brings a sincere…


A simple way to access Shadow Copies in Vista

In the past, I presented various ways to browse these mysterious device objects called "shadow copies". Shadow copies are static images in time (snapshots) of your volume contents, at some point in the past. These shadow copies are volumes on their own, with a file system namespace accessible through the regular Win32 APIs such as…


Demo: New virtualization technologies in Windows Server (Longhorn)

A nice demo that shows you several things: – Windows Server virtualization (a separate partition running a striped-down version of Windows to manage all other virtual machines) – Running an 8-proc virtual machine – 64-bit and 32-bit machines running concurrently – Managing virtual machines with System Center (nice UI) – System Center Operations Manager: monitoring the…


WS-Management? Already here in Vista!

WS-Management is a new web services-based management protocol. It’s SOAP-based of course, and it is compatible with the rest of the specifications in the WS-* Web Service stack, like WS-Transfer, WS-Enumeration, WS-Addressing. WS-Management is enabled in Vista (and Longhorn Server) in several ways. On the client side, you have a standard library (called WinRM) which…


How to run Defrag on a scheduled basis

On Windows XP, it’s simple. Just run this command and you are done: schtasks /create /TN defrag /RU “NT AUTHORITY\SYSTEM” /SC weekly /TR “defrag %systemdrive%”


More VSHADOW stuff: how to backup Exchange, SQL, NTFS

While researching for the previous post, I just started a few searches for VSHADOW on the internet, and I found more interesting usages of it. One example: EqualLogic published a nice technical report of using VSHADOW to backup/restore Exchange, SQL and NTFS. Here is the link: Just to bring you up to speed: VSHADOW…


Fast backup of Virtual Server images (using VSHADOW)

Jeff Trumbull published a very nice script on how to backup a Virtual Server image wiht about one minute of downtime! The solution uses VSHADOW.EXE, a small command-line utility that can be used to create shadow copies. VSHADOW is part of the VSS SDK  


Unix guy shares his experience in switching to Windows

Simon Gerber wrote a slightly-negative article titled Switching to Windows: Not as easy as you think. Any Windows developer should read this article. Why? Beyond anything else, it is a perfect example of how a Unix/Linux-oriented people are sincerely viewing Windows, especially when they are forced to switch due to one reason or another. They are coming to Windows…


How to do atomic writes in a file

Let’s assume that you want is to write some simple code that writes to a text file. A few assumptions:1) You need avoid corruptions of any kind. 2) Either all of your writes have to make it to the disk, or none of them. 3) The file is updated serially – no concurrent updates from separate processes are allowed. So…