Castle (Longhorn)

**Castle** is the codename of a file sharing and identity replication service included in the Microsoft Windows "Longhorn" operating system. Castle was designed to simplify file sharing across multiple computers on the same network, and used WinFS and other operating system features. The feature was reportedly shelved after the development reset of the operating system in 2004.

### Background

Historically, consumer-oriented editions of the Windows operating system have allowed users to share data across multiple machines. However, in order for users to share data, they are required to create individual user profiles for each machine and connect each machine to the same local network. More inexperienced users must also deal with the complexity of configuring login credential and user permission settings. The idea of creating a simplified file sharing solution for home users of the Windows operating system predates the development of Castle. Earlier consumer-oriented editions of Windows, including Windows 98 and Windows ME, allowed users to share data without protecting it with a password; the first consumer edition of Windows NT, Windows XP, introduced a *Simple File Sharing* feature which offered similar functionality. While these features made it easier for more inexperienced users to share data without the complexity of traditional sharing settings, they also introduced a potential security risk in that they allowed every user on the same local network to access it. Moreover, they did not solve the problem of allowing a single user to securely access his or her data from any computer without the complexity of creating individual accounts on multiple machines. Castle aimed to solve this problem by securely replicating user profiles across multiple machines; in this sense, it is similar to the *roaming user profile* feature in server versions of Windows where an administrator can store user profiles on a centralized server, thereby allowing users to access their data regardless of which computer they are using.

### Overview and features

To join an existing Castle, users would be required to know the login credentials of an administrator account that was already joined to the Castle (in order to ensure that only authorized users had access). Once a relationship between the computer and existing Castle had been established, account profiles on the newly joined computer would automatically be replicated across other computers joined to the Castle and kept in sync, with each computer inheriting and respecting all policies pertaining to the shared data. Although Castle was originally conceived of as a way to simplify file sharing, other potential uses were envisioned, including application and setting synchronization on the same account across multiple machines, Windows Update patch distribution, and new licensing techniques for content protected by digital rights management technology. These features would not have necessarily have been included in Windows "Longhorn" as Castle in that operating system was intended to provide the foundation for these features in future versions of Windows.

According to Paul Thurrott, Jim Allchin remarked on Microsoft's plans for Castle, including an envisaged scenario where users could share their data with other users across the Internet:

> "The idea is to replicate identities across the home machines (if the user wants this to happen). Think about it as a domain in the home. For the scenario across the Internet we are trying to work out a solution so that it is easy to share and publish photos (or other data) with users across the Internet. Our goal is to do this so that standard Windows security IDs can be used."
>
>

In addition to replicating user data, Castle was also designed to replicate device installations across PCs connected to the same local network.

## HomeGroup

HomeGroup is a password-based sharing solution that debuted in the Microsoft Windows 7 operating system. HomeGroup allows users on the same home network to share individual files, folders, and printers, and to set access control permissions on shared content. A HomeGroup can be created during Windows installation or after Windows has been installed. Once a HomeGroup is created, a password is generated which is required for other users to join the HomeGroup; the feature will instruct the user to save this password after it is generated. Once other users join the HomeGroup, they can share their data with other members of the HomeGroup.

During development of Windows 7, technology bloggers compared HomeGroup to the Castle feature that was shelved after the development reset of Windows "Longhorn" and speculated that it was meant to be a reinstatement of the feature.
Although HomeGroup shares some design similarities with Castle in that they were both designed to create a simple and secure file sharing solution, HomeGroup only offers a subset of the functionality that was originally intended for Castle.

## See also

* Guided Help
* PC-to-PC Synchronization

## References

1. ↑ 1.0 1.1 1.2 Lyndersay, Sean. (January 16, 2009). "Castle and HomeGroup: A study in the evolution of user needs"
2. ↑ Microsoft. "File and Printer Sharing with Microsoft Windows" p. 35.
3. ↑ Microsoft. "How to use the Simple File Sharing feature to share files in Windows XP"
4. ↑ Microsoft Developer Network. "Roaming User Profiles"
5. ↑ Thurrott, Paul. "Road to Gold: The Long Road to Windows Vista Part 4: January - July 2005"
6. ↑ Ward, Glenn. Frost, Gabe. (2006) "Link Layer Topology Discovery And Enabling Wi-Fi Diagnostics For Network Performance Tuning"
7. ↑ Roth, Tali. (2004). "Web Services for Printing And Imaging Devices, Part One"]
8. ↑ Microsoft. (October 24, 2003). "Windows 'Longhorn' Pre-Release Privacy Statement"
9. ↑ Thurrott, Paul. "Road to Gold: The Long Road to Windows Vista Part 4: January - July 2005"
10. ↑ Roth, Tali. (2004). "Web Services For Imaging And Printing Devices, Part One"
11. ↑ Microsoft. "Windows 7 - Create a homegroup"
12. ↑ Zheng, Long. (February 15, 2008). "Windows 7 'HomeGroup': rebirth of 'Longhorn' 'Castle'?"
13. ↑ Oiaga, Marius. (February 18, 2008). "Windows 7 - Could Microsoft Go Back Before Vista and Resurrect 'Longhorn'?"