While reading the Windows 8 Consumer Preview and Windows Server “8” Beta Compatibility Cookbook I came across the topic Volume Shadow Copy Service UI Removed. Due to the fact that this feature was obviously rarely used by end users and it’s negative impact on Windows performance, Microsoft decided to removed this feature from Windows 8. In addition Microsoft also decided to deprecate the Windows 7 Backup and Restore feature, again because this functionality appears to be rarely used.
On Windows 7 client the “Previous Versions” feature is configured through the System Protection Settings as shown in the screenshot below.
Users can access the previous versions through the Folder or File properties tab.
As shown in the screen shot below the option for configuring System Protection – Previous files has been removed and so has the “Previous Versions” tab within the Folder & Files properties.
Windows7 Backup and Restore is still available in Windows 8 but is well hidden within the system, in order to access the feature you must search for “file recovery” or “recovery”.
In Windows 8 Microsoft is trying to simplify the creation of user data backups and restore through a new feature called “File History”. File History allows users to backup their data to removable storage such as a USB drive or a network share.
For a general overview of what File History is about I recommend reading Paul Thurrott’s article Windows 8 Feature Focus: File History and Dr. Z’s blog posts Windows 8 How To: 27. Backup your Files Using File History and Windows 8 How To: 28. Restore Files Using File History
As an IT Pro I am of course interested in how things work, so I’ve started looking at how this all runs and is configured.
The File History Service – By default the File History Service is configured to start manually, but once a first user enables File History, the Service startup changes to Automatic (Delayed). Windows 8 is intelligent enough to identify multiple users that have File History enabled, so even if a user disables the feature at a later time, the Service remains configured to Start until no user has file history enabled and then sets the service back to start manually.
File History Configuration – File History Service configuration is stored within the Windows Registry under:
For each user that enables File History a key (pointer) to the user specific File History configuration settings is created under:
For this example the key is:
Then there are 2 files called config1.xml and config2.xml, both files appear to be identical and I haven’t figured out yet why there’s two. The config file holds the configuration settings for the File History Service.
<?xml version="1.0" encoding="UTF-8"?>
File History Data – The data that is being backed up is stored within the specified location e.g the Removable drive or network location. If a user has setup File History on multiple clients, then a subfolder is created per computer.
Each time the File History Service starts a copy of each file version is stored within the defined backup location.
File History – Scheduled Task – In addition to the File History Service that executes a backup based on the defined backup interval, there’s also a Scheduled Task for File History.
When looking at the scheduled Task, you might notice that no “Next Run Time” is defined, this is because the File History Task is part of the Windows maintenance task e.g. the Task is executed when the Windows maintenance Task starts.
File History Event logs – For File History there are also a number of event logs. When enabling “Show Analytic and Debug logs” within the Event Viewer the following File History related event logs are displayed.
File History Group Policy Configuration – Configuration of the File History through group policy is limited At present enterprise administrators can only prevent users from enabling File History. The setting can be found under: Computer Configuration \ Administrative Templates \ Windows Components \ File History.