Tuesday, February 17, 2009

Place your bets on Windows 7


Next generation . . . similar in appearance, Windows 7 is classes above the problematic Vista.

Next generation . . . similar in appearance, Windows 7 is classes above the problematic Vista.

Microsoft looks to have hit the jackpot with its new version of Windows, reports David Flynn.

There are plenty of ways a geek can get lucky. He can meet one of his favourite Star Trek actors. He can go on a date with an actual girl (bonus points if she likes Star Trek).

But for the army of geeks at Microsoft, the pinnacle of luck this year will be to usher in a new version of Windows that blasts away the many woes of Windows Vista and sets the company and its hero product back on track.

That new version of Windows is due at the end of this year. It's called Windows 7, although while the number is fortuitous, it's anchored in practicality - this is the seventh edition of Windows to be built on the "new technology" architecture Microsoft introduced to Windows in 1993.

Nonetheless, Microsoft needs all the luck it can get.

Windows Vista has been a failure by almost any definition of the word. When the operating system arrived in January 2007 after five long years of development, Microsoft's hype machine trumpeted that "the wow starts now".

But the promised "wow" quickly became a painful yelp of "ow!" as buyers were confronted with sluggish performance, nagging "security" alerts and a frustratingly stubborn refusal to work with many common pieces of hardware. Instead of a triumphant successor to Windows XP, Vista has proved one of the company's biggest and costliest mis-steps.

The Windows operating system runs most of the world's desktop and laptop PCs in governments, schools, businesses and, of course, homes.

It delivers about a quarter of the company's revenue. But that revenue shrank by 12 per cent in the last three months of 2008, costing Microsoft $US456 million ($684 million).

This is despite the company boosting advertising and marketing, with $US300 million spent on the "Windows without walls" campaign.

This included the widely criticised Jerry Seinfeld ad which, like the comedian's own television show, appeared to be about nothing.

(Apple viciously lampooned this approach in one of its "Mac and PC" advertisements in which the PC character puzzles over how to best divide a pile of cash between actually improving Vista and just promoting it, before putting all the money into the marketing pile.)

Microsoft has clearly learned from its mistakes. It retired the executives behind Vista and assigned Windows 7 to Steven Sinofsky, who had previously been in charge of Microsoft's Office suite - a product that under Sinofsky's laser focus had always arrived on time and remained perennially successful.

Sunday, February 15, 2009

This week in Apple: Emoji, iPhone doc access, Apple TV feedback


companion photo for This week in Apple: Emoji, iPhone doc access, Apple TV feedback

Unless you've been living under a rock or perhaps outside the US where you haven't been pummeled with sappy advertising, you're probably painfully aware that today is Valentine's/Singles Awareness Day. If you're bucking society and are hanging out at home today, here are the top Apple stories of the week for you to catch up on.

Typing Genius defies Apple, introduces Emoji support: Ars Technica chatted with iPhone developer Gary Fung who is shipping a version of his App Store software that enables Emoji support. But wait, hasn't Apple been rejecting other apps for enabling Emoji support? Exactly.

German company PearC begins selling line of Mac clones: A German company called PearC is selling a variety of configurable Mac clones. Despite the legal trouble Psystar is having with Apple, PearC believes that a German law about the enforceability of EULAs might keep it out of hot water.

Metallica readying iTunes-exclusive box set


companion photo for Metallica readying iTunes-exclusive box set

Metallica has announced that the band has signed an exclusive deal with Apple to sell its new digital box set from its release date on March 31 to April 28 through the iTunes Store. The set will include every song from all of the studio albums, material from Live From Live Earth, and the single from the Mission Impossible 2 soundtrack.

Additionally, Metallica is including live tracks that were previously on iTunes with some of the band's full albums. If standard iTunes pricing applies, the box set will sell for roughly $161.37; however, if past box sets are any indication, the set will most likely retail for significantly less.

Metallica isn't the first band to ink an exclusive deal for distribution on the iTunes Store. In the past, They Might Be Giants, Smashing Pumpkins, Paul McCartney, Led Zeppelin, and Elton John— to name a few— have all also done the deed with the Cupertino company. Exclusivity doesn't always make sense, but when a big act such as Metallica is signed, Apple can certainly profit from the die hard fans who want to be the first on the block to have the shiny new hotness. In some cases, the band will offer content that is unavailable elsewhere, but with this particular deal, there doesn't seem to be much new content baiting users into the purchase.

Apple, MPAA, RIAA attack DRM circumvention requests


companion photo for Apple, MPAA, RIAA attack DRM circumvention requests

Every three years, the Copyright Office hosts a rulemaking in which it considers specific exemptions to the Digital Millennium Copyright Act's (DMCA) rules against circumventing DRM, and the comments are now in for the current round. This year, the Electronic Frontier Foundation has pushed hard for an exemption on jailbreaking the Apple iPhone, allowing people to install and run applications of their choice that don't come from the official App Store. Now, Apple has responded with a ringing defense of DRM and its business practices, siding with groups like the MPAA and RIAA against exemptions.

iPhone Bluetooth: Device-to-device communications achieved


companion photo for iPhone Bluetooth: Device-to-device communications achieved

Think the best news today has to do with tonight's Battlestar Galactica/Dollhouse TV spectacular? Think again. iPhone developer Ralf Ackermann (who Ars posted about last month) has achieved a working device-to-device Bluetooth solution. He has built on work developed by Matthias Ringwald, who has put together a user space bluetooth stack.

Ackerman has built external adapters that plug into the iPhone's connector port and has accessed the phone's bluetooth stack in a way that could possibly even comply with the standard iPhone SDK. Yes, the connector port is off-limits to the SDK, but the stack access might be achievable if Ackerman has it right. Even so Apple would not likely allow Bluetooth stack programming to make it to App Store, and would likely close up any holes that currently permit access.

Report gives iPhone 51% of US smartphone ad market


companion photo for Report gives iPhone 51% of US smartphone ad market

Mobile advertising firm AdMob has released its latest metrics report showing that Apple's iPhone is leading other smartphones in mobile Internet usage. It also confirms that the iPhone and iPod touch are the number one devices for mobile Internet access in the US and worldwide.

For those curious, AdMob doesn't measure raw market share. Instead, it measures the percentage of 2.9 billion ad requests that come from a particular device for ads served via one of its 6,000 or so network members. In the US, 29 percent of those requests came from Apple devices. The iPhone and iPod touch are the number one and number two devices respectively, with 17 percent from the iPhone and 12 percent from the iPod touch. Among just smartphone devices, the iPhone garners a commanding 51 percent of requests, with BlackBerrys taking 19 percent and T-mobile's G1 Android phone getting just three percent.

iPhone anti-piracy measures abound after Crackulous release


companion photo for iPhone anti-piracy measures abound after Crackulous release

Thus far, the major problems faced by App Store developers have been things like the overreaching NDA, Apple's App Store screening process, and pricing. Unfortunately, last week's release of the Crackulous tool has given developers a bit more to worry about, since the App Store DRM can now be removed from iPhone applications. All of a sudden, anti-piracy measures are a very popular topic of conversation, and developers and members of the Mac community are weighing in left and right with their suggestions and solutions.

John Gruber and Marco Arment have been discussing general anti-piracy measures like using a Web service to disable applications remotely or log the IDs of iPhones running cracked versions. Gruber doesn't think this is such as bad idea, as long as users know why an application is being disabled, and an experiment done by Panic a while back suggests that such an approach could lead to a few sales. His conclusion is that, although the FairPlay DRM can now be removed, even basic measures implemented by developers will probably be sufficient to convince people to go legit.

Before addressing piracy in a major way, however, it's probably a good idea to see some number crunching on exactly how many apps are being cracked and whether they are being used for a long period of time. Though the development is disconcerting, it's unlikely that a large portion of the population is making use of Crackulous. Hopefully, some developers will be willing to give us a more in-depth look into what kind of numbers we're really talking about here.

New OS X Security Update, Java Update available

companion photo for New OS X Security Update, Java Update available

If you start up your trusty Software Update this afternoon, you will find that Apple has graced you with not one, but two software updates. Now available are the Java for Mac OS X 10.5 Update 3 and Security Update 2009-001.

The Java update, which weighs in at a rather meager 2.9 MB, improves compatibility and addresses security concerns by updating the Java Web Start and Java Applet portions of the software. The release is for Mac OS X 10.5.6 or later only, though it is available for both PPC and Intel architectures. As of this writing, is no additional information regarding the update.

The second update, Security Update 2009-001, is a bit more substantial at 44.1 MB, but unfortunately the information about what's contained inside is still missing from Apple's security page. The first security update of 2009 is "recommended for all users and improves the security of Mac OS X." We'll update with a link to the nitty gritty if and when it gets posted to Apple's site, but if you're the adventurous type, you can go ahead and update through Software Update. A restart for the security update is, in typical Apple fashion, necessary. Update: The security document is now up; have fun!

iDisk File Share feature now activated via MobileMe

companion photo for iDisk File Share feature now activated via MobileMe

If you're having trouble sending a large file via e-mail, or have been waiting for an easy way to share files via iDisk, the MobileMe team has announced that iDisk's Share File command is now active.

All you have to do is upload a file anywhere on your iDisk—it doesn't have to be in the Public folder. In the iDisk Web app, select the file, and click "Share..." You'll get a dialog box (like the one above) that details the URL the file is accessible from. You can also send a link via e-mail by entering in e-mail addresses (which auto-complete from your Address Book) and adding a message. And, you can set a limit for how long the link is active as well as set a password to protect the file from prying eyes. If you elect to send the link to the file via e-mail, MobileMe sends out a nicely formatted e-mail with your message, details about the file, and a link to click and download it.

Paradigms lost: The Windows 7 Taskbar versus the OS X Dock

Start your copiers?

Windows 7's new Taskbar has drawn many comparisons to Mac OS X's Dock, and many of them negative, with the overwhelming concern that Windows is becoming too Mac-like. Even among Mac users, the new Taskbar is unlikely to be universally appreciated, as many feel that the Dock is deeply flawed.

On a superficial level, the similarity is obvious; both Dock and Taskbar are rows of large icons used for application launching and switching. Closer examination, however, reveals that there's a long way to go before anyone should worry that Microsoft is slavishly following Apple. The Windows UI isn't turning into the Mac OS X UI—not yet, at least.

UI Paradigms

In order to fully appreciate the differences between the Taskbar and Dock, we first have to understand the basic premises on which Windows and OS X are built. Much of the material in this section will be remedial for the majority of readers, but it pays to cover it anyway, since it lays an important foundation for the rest of the article.

The fundamental distinction between OS X and Windows is that, in general, windows on Mac OS X represent documents; on Windows, they represent applications. This conceptual difference motivates many of the UI features of both OSes, and understanding it is key to understanding the two operating systems.

In practice, the most obvious repercussion of this difference is that on Mac OS X, closing the last window of an application does not exit the application itself. After all, each window is merely a document, and just because there are no documents open does not mean that the application should close; perhaps the next action will be to create a new document or open an existing one. In Windows, on the other hand, closing the last window generally closes the application completely. Because the application is the window, closing the window naturally closes the application with it.

So, for example, in this screenshot we see TextEdit is running with a single document window open. Closing that document doesn't close TextEdit; it's still running, just without any windows (that is, documents) open.

TextEdit with one document
TextEdit
TextEdit with no documents
TextEdit has no windows, but is running all the same

In Windows, by contrast, closing the last document window closes the application:

Notepad with one document
Notepad
Notepad with no documents
With no windows, Notepad has nowhere to run, so it quits—hence the Taskbar no longer has a Notepad icon.

The Mac's window-per-document model naturally leads all Mac software to be able to load and display multiple documents simultaneously; to have multiple documents, just create multiple windows.

TextEdit with several document
Multiple documents just mean multiple windows; no problem

The situation isn't so clear-cut on Windows. Because each window represents an entire application, what should an application do if the user wants to load two documents simultaneously? The lack of a single good answer means that Windows applications exhibit a variety of behaviors. The simplest policy is that used by Notepad; Notepad simply can't open multiple documents, and so to get multiple documents you just run multiple copies of the application.

Notepad with several documents
Multiple Notepad documents means multiple Notepad applications
While this works reasonably well for small, lightweight applications like Notepad, it's not so satisfactory for larger applications, and as a result we see a variety of other behaviors in other Windows programs

Who finds the bugs in windows 7?

As a result of all the data and knowledge that has been gathered, the Windows 7 team knows how good the software is. For earlier versions of Windows, a lot of this data would have to come from end-users and bug reports. Not all of it—older versions do have some telemetry courtesy of the Customer Experience Improvement Program (CEIP)—but a lot. This means in turn that the beta program doesn't have as much work to do; instead of shipping a release that probably works OK and then finding out from users if it does or not, Microsoft can ship a release that does work OK and just needs some fine tuning. Similarly, by working more closely with third parties, Microsoft can be far more confident that software and hardware alike will just work on day one.

And the entire process is easier to manage. Though the new coding approach has made it harder to get new features and new code integrated into Windows, it means that Microsoft always has a codebase that's close to release quality. In addition to the obvious reliability improvement this yields, it also makes the development process much more predictable. Essentially, Microsoft could decide "That's enough development work, it's time to release the software" at any time and, a few months later, have something ready to ship. There will probably always be the need for at least one public beta, but it no longer has quite the importance that the betas used to.

In this light, the decision to not have a second beta or Release Candidate makes a lot more sense. These broad releases are still important—not least because they allow all the third parties that don't have a close relationship with Redmond to get on board the Windows 7 bandwagon—but this time around, Microsoft doesn't need the betas to tell it if the OS works.

Citrix, Intel to virtualize the desktop with new hypervisor,windows 7

Citrix, Intel to virtualize the desktop with new hypervisor
Citrix's Project Independence platform

Though virtualization has become firmly entrenched in the server room, the technology has not had the same impact on the desktop. A joint initiative between Intel and Citrix Systems could change that, and herald a new era of virtualized desktops.

Citrix already has a virtualized platform for delivery of desktop applications in its XenDesktop product; however, XenDesktop is a hosted solution, using virtualized servers to run the software and present the desktop experience to the end-user with Citrix's ICA protocol. The new initiative, code-named Project Independence, uses virtualization software running directly on the desktop machine.

Project Independence builds on the existing capabilities of XenDesktop. XenDesktop offers centralized control of the exact mix of operating system, applications, and data provided to each user. The software dynamically assembles virtual machine environments on a per-user basis, then sends it to the hosting platform (which could be XenServer, VMware, or Hyper-V). From the hosting platform it is then delivered to the user's terminal. Project Independence takes the same infrastructure, but will stream the virtual machine directly to the user's machine.

First look at Windows 7's User Interface

At PDC today, Microsoft gave the first public demonstration of Windows 7. Until now, the company has been uncharacteristically secretive about its new OS; over the past few months, Microsoft has let on that the taskbar will undergo a number of changes, and that many bundled applications would be unbundled and shipped with Windows Live instead. There have also been occasional screenshots of some of the new applets like Calculator and Paint. Now that the covers are finally off, the scale of the new OS becomes clear. The user interface has undergone the most radical overhaul and update since the introduction of Windows 95 thirteen years ago.

First, however, it's important to note what Windows 7 isn't. Windows 7 will not contain anything like the kind of far-reaching architectural modifications that Microsoft made with Windows Vista. Vista brought a new display layer and vastly improved security, but that came at a cost: a significant number of (badly-written) applications had difficulty running on Vista. Applications expecting to run with Administrator access were still widespread when Vista was released, and though many software vendors do a great job, there are still those that haven't updated or fixed their software. Similarly, at its launch many hardware vendors did not have drivers that worked with the new sound or video subsystems, leaving many users frustrated.

While windows 7 doesn't undo these architectural changes—they were essential for the long-term health of the platform—it equally hasn't made any more. Any hardware or software that works with Windows Vista should also work correctly with Windows 7, so unlike the transition from XP to Vista, the transition from Vista to 7 won't show any regressions; nothing that used to work will stop working.

So, rather than low-level, largely invisible system changes, the work on Windows 7 has focused much more on the user experience. The way people use computers is changing; for example, it's increasingly the case that new PCs are bought to augment existing home machines rather than replacement, so there are more home networks and shared devices. Business users are switching to laptops, with the result that people expect to seamlessly use their (Domain-joined) office PC on their home network.

As well as these broader industry trends, Microsoft also has extensive data on how people use its software. Through the Customer Experience Improvement Program (CEIP), an optional, off-by-default feature of many Microsoft programs, the company has learned a great deal about the things that users do. For example, from CEIP data Microsoft knows that 70% of users have between 5 and 15 windows open at any one time, and that most of the time they only actively use one or two of those windows. With this kind of data, Microsoft has streamlined and refined the user experience.

The biggest visible result of all this is the taskbar. The taskbar in Windows 7 is worlds apart from the taskbar we've known and loved ever since the days of Chicago.

New Windows 7 Taskbar and Start  Menu

Text descriptions on the buttons are gone, in favor of big icons. The icons can—finally—be rearranged; no longer will restarting an application put all your taskbar icons in the wrong order. The navigation between windows is now two-level; mousing over an icon shows a set of window thumbnails, and clicking the thumbnail switches windows.

Right clicking the icons shows a new UI device that Microsoft calls "Jump Lists."

They're also found on the Start Menu:

Windows 7 Screenshots

Jump lists provide quick access to application features. Applications that use the system API for their Most Recently Used list (the list of recently-used filenames that many apps have in their File menus) will automatically acquire a Jump List containing their most recently used files. There's also an API to allow applications to add custom entries; Media Player, for example, includes special options to control playback.

This automatic support for new features is a result of deliberate effort on Microsoft's part. The company wants existing applications to benefit from as many of the 7 features as they can without any developer effort. New applications can extend this automatic support through new APIs to further enrich the user experience. The taskbar thumbnails are another example of this approach. All applications get thumbnails, but applications with explicit support for 7 will be able to add thumbnails on a finer-grained basis. IE8, for instance, has a thumbnail per tab (rather than per window).

Window management has also undergone changes. In recognition of the fact that people tend only to use one or two windows concurrently, 7 makes organizing windows quicker and easier. Dragging a window to the top of the screen maximizes it automatically; dragging it off the top of the screen restores it. Dragging a window to the left or right edge of the screen resizes the window so that it takes 50% of the screen. With this, a pair of windows can be quickly docked to each screen edge to facilitate interaction between them.

Another common task that 7 improves is "peeking" at windows; switching to a window briefly just to read something within the window but not actually interact with the window. To make this easier, scrubbing the mouse over the taskbar thumbnails will turn every window except the one being pointed at into a glass outline; moving the mouse away will reinstate all the glass windows. As well as being used for peeking at windows, you can also peek at the desktop:

Windows 7 Screenshots

Windows 7 Screenshots

Peeking at the desktop is particularly significant, because the desktop is now where gadgets live. Because people are increasingly using laptops, taking up a big chunk of space for the sidebar isn't really viable; Microsoft has responded by scrapping the sidebar and putting the gadgets onto the desktop itself. Gadgets are supposed to provide at-a-glance information; peeking at the desktop, therefore, becomes essential for using gadgets.

Windows 7 Screenshots

The taskbar's system tray has also been improved. A common complaint about the tray is that it fills with useless icons and annoying notifications. With 7, the tray is now owned entirely by the user. By default, new tray icons are hidden and invisible; the icons are only displayed if explicitly enabled. The icons themselves have also been streamlined to make common tasks (such as switching wireless networks) easier and faster.

Windows 7 Screenshots

The other significant part of the Windows UI is Explorer. Windows 7 introduces a new concept named Libraries. Libraries provide a view onto arbitrary parts of the filesystem with organization optimized for different kinds of files. In use, Libraries feel like a kind of WinFS-lite; they don't have the complex database system underneath, but they do retain the idea of a custom view of your files that's independent of where the files are.

Windows 7 Screenshots

Windows 7 Screenshots

These UI changes represent a brave move by the company. The new UI takes the concepts that Windows users have been using for the last 13 years and extends them in new and exciting ways. Windows 7 may not change much under the hood, but the extent of these interface changes makes it clear that this is very much a major release.

Domain-joined computers with windows 7 can be part of a HomeGroup


The laptop buying trend doesn’t stop at home. Large corporations are also moving toward buying laptops for their employees. There is research out there that outlines productivity improvements with employees using laptops. This makes sense as most of these laptop-wielding employees bring their computers home and put in those extra email hours. However, most corporations require that their laptops be joined to a corporate domain. This enables system administrators to manage and maintain these computers. Domain-joined laptops are thus subject to more restrictions than regular home computers are. It’s hard to even locate another PC on the home network to access or share files, let along configure your domain-joined computer to print to a printer at home.

With HomeGroup, we wanted see if we could make things a little easier for these computers to come home. With more and more people working from home or having the option to these days, we wanted to see if they could enjoy some of the media content they have on the other PCs in the HomeGroup while they work. So in Windows 7, your domain-joined computer can join and participate in a HomeGroup. This enables the domain-joined computer to consume the media available on Windows 7 PCs in the home, watch TV through WMC, listen to music via WMP, or print to the printer on another HomeGroup PC all by entering the same key you provide to other computers in the HomeGroup.

The only difference is that sensitive content on the corporate laptop is never shared to the other HomeGroup computers. In essence, the domain-joined computer can see out (and consume) but no one can see in. We believe this meets the need for corporations to maintain security over documents while enabling our customers to enjoy a fun and interesting work environment at home, with access to all their media and home printers while they work. All you need is an existing HomeGroup, a domain-joined computer, and you can be rocking to your favorite tunes on your home network, while you catch up on all your important work.

Of course the ability to join a HomeGroup is a policy that can be managed by corporate domains as you would expect.

Create a HomeGroup with the Beta

Phew! I hope this post has given you some insight into some of our design decisions, as well as the capabilities of the feature. HomeGroup will highlight some of the cool capabilities Windows has had for a long time in a friendly and easy fashion and also build on some of the new plumbing and infrastructure in Windows 7, and we are very excited with its possibilities. It is important to note that none of this would be possible without the help of people around the world who have provided us with opportunities to listen to their feedback, observe their actions, and take note of their needs.

We know there will be lots of discussion around this feature once folks have had a chance to explore it. It represents a new model for something that has arguably been very difficult to set up and so for most people seeing all this work will be a first and for many of us reading this blog we’ll be “mapping” our existing model to this new experience. The best thing to do is just see if you can let Windows 7 run and do the work. After some use you can then dive into the customization and configuration available to you.

To set up a HomeGroup you will need to install Windows 7 Beta on more than one PC on the same network and be sure to select Home as the network location if you want to automatically create (or join) a HomeGroup.

Printers and other devices work with HomeGroup as well in windows 7

So what about devices? We’ve heard from you that sharing printers needs to be much simpler. While we have made it super easy to add printers to Windows, we needed to bring this simplicity to the home network. USB printers are still tied to a specific PC and can’t be shared out very easily. People typically email files to themselves to retrieve on another computer, or use USB keys to move their files to the computer with the printer. That had to change.

In a HomeGroup , if you have installed a USB printer that has a Windows logo, the other people on the HomeGroup would get this printer automatically installed on their computers. They won’t see a prompt, they won’t need to answer any questions – it would just show up, and “just work.” For non-Windows logoed printers, we need to ask the user for permission to install the printer. HomeGroup members will see a prompt that a printer has been found in the HomeGroup. Clicking on this prompt installs the driver. The reason we had to do this was to ensure that users consent to 3rd party code that hasn’t been through the rigors of the logo program. One of the big benefits of this system is that you no longer need to find, download, and install the driver manually on multiple computers. The driver (for the correct architecture) is just copied from the computer that has the physical printer attached. This saves time and network bandwidth. With a HomeGroup, there will no longer be a need to think about sharing a printer. If you attach one to a computer in the HomeGroup, everyone else will get it installed and ready to use.

Changing Homegroup settings to include printers.

In addition to printers, devices like photo frames, game consoles (such as the Xbox 360), and media receivers (like the Roku Soundbridge) can benefit from some of the easy setup, as well as all the shared media in the home. For setup, we have reduced all the UI within Windows that deals with these devices to one simple checkbox:

Enabling Homegroup sharing of devices such as photo frames, game consoles, and media receivers.

Once you are part of a HomeGroup, we turn on Windows Media Player streaming support, so not only will your computer detect other WMP libraries on the network and allow playback from them, devices would also be able to consume the shared media content. Another blog post will go into more detail on an exciting new feature called “play to” which would also be automatically enabled in a HomeGroup enabling you to send media from your PC to any supported picture frame or media receiver, and never have to deal with the minimal UI you have on these devices, which you can see in the demonstration of the Day 1 keynote at WinHEC. If you check a box in HomeGroup in Control Panel, all existing and future devices in the home will detect and consume the media on the HomeGroup computer. All these previously complicated settings are now simplified with HomeGroup.

Primer on Devices and Drivers Support and Testing for Windows 7

As most folks (finally) get the beta and start to set aside some time to install and try out Windows 7, we thought it would be a good idea to start to talk about how we support devices through testing and work across the PC ecosystem. This is a big undertaking and one that we take very seriously. As we talked about at the PDC, this is also an area where we learned some things which we want to apply to Engineering Windows 7. While this is a massive effort across the entire Windows organization, Grant George, the VP of Test for the Windows Experience, is taking the lead in authoring this post. We think this is a deep topic and I know folks want to know more so consider this a kick-off for more to come down the road.
  • Devices and Drivers in Windows

  • Partner Support

  • Validation and Testing

  • Determining Which Devices to Test

  • Equivalence Classes

  • Driver Goals for Windows 7

  • Scale of Device and Driver Testing in Windows 7


User Account Control (UAC) – quick update in windows 7

There’s been a ton of interest in how we have improved user account control (UAC) and so we thought we’d offer a quick update for folks. We know most of you have discovered this and picked a setting that works for you, and we're happy with the feedback we've seen. This just goes into the details on the choice of defaults.

User Account Control was created with the intention of putting you in control of your system, reducing cost of ownership over time, and improving the software ecosystem. It is important not to abandon these goals. Instead, we want to address feedback we’ve received and build on the telemetry we have using those to improve the overall experience without losing sight of the goals with which we agree.

For those of you using 6801 you have started to see the benefits of prompt reduction and our new and improved dialog designs. You also have seen our efforts to give the user greater control of their system – the new UAC Control Panel. The administrator now has more control over the level of notification received from UAC. Look for the UAC Control Panel to appear in Start Search, Action Center, Getting Started, and even directly from the UAC prompt itself. Of course, the familiar ways to access it from Vista are still present.

User Account Control control panel.

Figure 1: UAC Control Panel

The UAC Control Panel enables you to choose between four different settings:

  1. Always notify on every system change. This is Vista behavior – a UAC prompt will result when any system-level change is made (Windows settings, software installation, etc.)
  2. Notify me only when programs try to make changes to my computer. This setting does not prompt when you change Windows settings, such as control panel and administration tasks.
  3. Notify me only when programs try to make changes to my computer, without using the Secure Desktop. This is the same as #2, but the UAC prompt appears on the normal desktop instead of the Secure Desktop. While this is useful for certain video drivers which make the desktop switch slowly, note that the Secure Desktop is a barrier to software that might try to spoof your response.
  4. Never notify. This turns off UAC altogether.

We know from the feedback we’ve received that our customers are looking for a better balance of control versus the amount of notifications they see. As we mentioned in our last post we have a large number of admin (aka developer) customers looking for this balance, our data shows us that most machines (75%) run with a single account with full admin privileges.

Distribution of number of accounts per PC

Figure 2. Percentage of machines (server excluded) with one or more user accounts from January 2008 to June 2008.

For the in-box default, we are focusing on these customers, and we have chosen number 2, “Notify me only when programs try to make changes to my computer”. This setting does not prompt when you change Windows settings (control panels, etc.), but instead enables you to focus on administrative changes being requested by non-Windows applications (like installing new software). For people who want greater control in changing Windows settings frequently, without the additional notifications, this setting results in fewer overall prompts and enables customers to zero in on the key remaining notifications that they do see.

This default setting provides the right degree of change notification that a broad range of customers’ desire. At the same time we’ve made it easy and readily discoverable for the administrator to adjust the setting to provide more or fewer notifications via the new control panel (and policy). As with all of our default choices we will continue to closely monitor the feedback and data that come in through beta before finalizing for ship.

Disk Defragmentation – Background and Engineering the Windows 7 Improvements

In this blog, we focus on disk defragmentation in Windows 7. Before we discuss the changes introduced in Windows 7, let’s chat a bit about what fragmentation is, and its applicability.

Within the storage and memory hierarchy comprising the hardware pipeline between the hard disk and CPU, hard disks are relatively slower and have relatively higher latency. Read/write times from and to a hard disk are measured in milliseconds (typically, 2-5 ms) – which sounds quite fast until compared to a 2GHz CPU that can compute data in less than 10 nanoseconds (on average), once the data is in the L1 memory cache of the processor.

This performance gap has only been increasing over the past 2 decades – the figures below are noteworthy.

Graph of Historical Trends of CPU and IOPS Performance

Chart of Performance Improvements of Various Technologies

In short, the figures illustrate that while disk capacities are increasing, their ability to transfer data or write new data is not increasing at an equivalent rate – so disks contain more data that takes longer to read or write. Consequently, fast CPUs are relatively idle, waiting for data to do work on.

Significant research in Computer Science has focused on improving overall system I/O performance, which has lead to two principles that the operating system tries to follow:

  1. Perform less I/O, i.e. try and minimize the number of times a disk read or write request is issued.
  2. When I/O is issued, transfer data in relatively large chunks, i.e. read or write in bulk.

Both rules have reasonably simply understood rationale:

  1. Each time an I/O is issued by the CPU, multiple software and hardware components have to do work to satisfy the request. This contributes toward increased latency, i.e., the amount of time until the request is satisfied. This latency is often directly experienced by users when reading data and leads to increased user frustration if expectations are not met.
  2. Movement of mechanical parts contributes substantially to incurred latency. For hard disks, the “rotational time” (time taken for the disk platter to rotate in order to get the right portion of the disk positioned under the disk head) and the “seek time” (time taken by the head to move so that it is positioned to be able to read/write the targeted track) are the two major culprits. By reading or writing in large chunks, the incurred costs are amortized over the larger amount of data that is transferred – in other words, the “per unit” data transfer costs decrease.

So how does defragmentation help? In essence, defragmentation helps by moving data around so that it is once again placed more optimally on the hard disk, providing the following benefits:

  1. Any logically related content that was fragmented can be placed adjacently
  2. Free space can be coalesced so that new content written to the disk can be done so efficiently

The following diagram will help illustrate what we’re discussing. The first illustration represents an ideal state of a disk – there are 3 files, A, B, and C, and all are stored in contiguous locations; there is no fragmentation. The second illustration represents a fragmented disk – a portion of data associated with File A is now located in a non-contiguous location (due to growth of the file). The third illustration shows how data on the disk would look like once the disk was defragmented.

Example of disk blocks being defragmented.

Nearly all modern file systems support defragmentation – the differences generally are in the defragmentation mechanism, whether, as in Windows, it’s a separate, schedulable task or, whether the mechanism is more implicitly managed and internal to the file system. The design decisions simply reflect the particular design goals of the system and the necessary tradeoffs. Furthermore, it’s unlikely that a general-purpose file system could be designed such that fragmentation never occurred.

In Windows Vista, we had removed all of the UI that would provide detailed defragmentation status. We received feedback that you didn’t like this decision, so we listened, evaluated the various tradeoffs, and have built a new GUI for defrag! As a result, in Windows 7, you can monitor status more easily and intuitively. Further, defragmentation can be safely terminated any time during the process and on all volumes very simply (if required). The two screenshots below illustrate the ease-of-monitoring:

New Windows 7 Defrag User Interface

New Windows 8 Defrag User Interface

In Windows XP, defragmentation had to be a user-initiated (manual) activity i.e. it could not be scheduled. Windows Vista added the capability to schedule defragmentation – however, only one volume could be defragmented at any given time. Windows 7 removes this restriction – multiple volumes can now be defragmented in parallel with no more waiting for one volume to be defragmented before initiating the same operation on some other volume! The screen shot below shows how defragmentation can be concurrently scheduled on multiple volumes:

Windows 7 Defrag Schedule

Windows 7 Defrag Disk Selection

Among the other changes under the hood in Windows 7 are the following:

  • Defragmentation in Windows 7 is more comprehensive – many files that could not be re-located in Windows Vista or earlier versions can now be optimally re-placed. In particular, a lot of work was done to make various NTFS metadata files movable. This ability to relocate NTFS metadata files also benefits volume shrink, since it enables the system to pack all files and file system metadata more closely and free up space “at the end” which can be reclaimed if required.
  • If solid-state media is detected, Windows disables defragmentation on that disk. The physical nature of solid-state media is such that defragmentation is not needed and in fact, could decrease overall media lifetime in certain cases.
  • By default, defragmentation is disabled on Windows Server 2008 R2 (the Windows 7 server release). Given the variability of server workloads, defragmentation should be enabled and scheduled only by an administrator who understands those workloads.

Best practices for using defragmentation in Windows 7 are simple – you do not need to do anything! Defragmentation is scheduled to automatically run periodically and in the background with minimal impact to foreground activity. This ensures that data on your hard disk drives is efficiently placed so the system can provide optimal responsiveness and I can continue to enjoy glitch free listening to the Eagles :-).

Showcasing Windows 7 Platform with Applets

The APIs discussed in this post are all described on MSDN in the updated developer area for Windows 7 where you can find the Windows 7 developer guide. Each of the areas discussed is also supported by the PDC and WinHEC sessions on those sites.

Many posts start with a thank you and I want to start this post with an extra special thank you on behalf of the entire Windows team for all the installs and usage we are seeing of the Windows 7 Beta. We’ve had millions of installations of Windows 7 from which we are receiving telemetry, which is simply incredible. And from those who click on the “Send Feedback” button we are receiving detailed bug reports and of course many suggestions.

  • Pre-Beta – This release at the PDC introduced the developer community to Windows 7 and represents the platform complete release and disclosure of the features.
  • Beta – This release provided a couple of million folks the opportunity to use feature complete Windows 7 while also providing the telemetry and feedback necessary for us to validate the quality, reliability, compatibility, and experience of Windows 7. As we said, we are working with our partners across the ecosystem to make sure that testing and validation and development of Windows 7-based products begins to enter final phases as we move through the Beta.
  • Release Candidate (RC) – This release will be Windows 7 as we intend to ship it. We will continue to listen to feedback and telemetry with the focus on addressing only the most critical issues that arise. We will be very clear in communicating any changes that have a visible impact on the product. This release allows the whole ecosystem to reach a known state together and make sure that we are all ready together for the Release to Manufacturing. Once we get to RC, the whole ecosystem is in “dress rehearsal” mode for the next steps.
  • Release to Manufacturing (RTM) – This release is the final Windows 7 as we intend to make available to PC makers and for retail and volume license products.
  • General Availability (GA) – This is a business milestone and represents when you can buy Windows 7 pre-installed on PCs or as full packaged product.

Windows Ribbon

The Windows Ribbon User Interface is the next generation rich, new user interface for Windows development. The Windows Ribbon brings the now familiar Office 2007 Ribbon user interface to Windows 7, making it available to application developers and ISVs.

Several ribbon commands are used in both these applications, like command buttons, split buttons, galleries, drop-downs, check boxes and toggle buttons.

Paint and WordPad ribbon

Paint Application Menu

Further, both applications provide a ‘Print preview’ mode which shows a print preview of the image or the document in context. In a mode, all the core tabs are removed and only the mode is displayed for the user to interact with. On exiting a mode, the user is returned to the core tab set.

Advances in typography and text rendering in Windows 7

In Windows 7, The support for text and fonts in GDI continues to provide the foundation for compatibility and application support. Building on the foundation of the modern DirectX graphics infrastructure, Windows 7 enhances the text output available to developers with DirectWrite. This is a new API subsystem and one that over time you will see adopted more broadly by applications from Microsoft, independent software developers, and within Windows itself.

One of the high-level goals of Windows 7 is to have even better graphics – graphics with higher fidelity. To that end, my team is looking into how to improve one of the most basic graphic elements in Windows, and that is text – the thing that’s always right in your face, but we hope you’ll never actually see it.

  • The need for good text

  • Improving current techniques

  • New APIs

  • Font Art

  • Fonts and Font Management

  • Operating System Fonts shipped “in-box”
    Windows XP SP2 133
    Windows Vista 191
    Windows 7 235 (currently planned)

Searching for Windows 7 Beta

Sorry, Windows 7 Beta downloads are no longer available. You can still register for a product key or look up the key you've already gotten. To look up your product key, just pick your version and language below, and click Go. From there, sign in with your Windows Live ID, and your product key will appear on the next page.

Get key for 32-bit version
Get key for 64-bit version

Tips for beta testers
  • Watch the Release Notes for updated reports on bugs and fixes.

  • Keep up with what's happening with product developments by following the team blog.

  • Get non-technical news, tips, and offers in the monthly Exploring Windows newsletter.

  • Got Questions? Looking for answers? Get help from our expert panel forum.

  • Want to share ideas with other Beta testers? Go to the Windows Live QnA.

Information about Windows 7 is preliminary and subject to change. Some product features of Windows 7, such as the ability to watch and record live TV or navigation through the use of "touch," may require advanced or additional hardware. The features and functionality you find in the pre-release product may not appear in the final version of Windows 7.

Windows 7 Upgrade Details for XP and Vista Users


If you're planning to upgrade your current PC to Windows 7 when Microsoft releases their new OS, there's good and bad news for XP and Vista users. Here's a closer look at your upgrade options.

Upgrading from XP to Windows 7

Pros: According to tech site Ars Technica, XP users can purchase a cheaper "upgrade" version of Windows 7, despite XP's version gap. (Normally only users who purchased the latest OS get the cheaper upgrade option.)

Cons: Windows XP users will have no direct upgrade path. That means that in order to upgrade to Windows 7, you'll have to do a fresh installation of Windows 7 and manually migrate your files and apps to Win7—so you'll want to make sure to back up XP before upgrading or just dual boot XP and Windows 7.

Upgrading from Vista to Windows 7

Pros: Unlike XP, Vista users do get a direct upgrade path to Windows 7, so your files and apps should migrate to Win7 without any problems. (You should always backup before upgrading to be safe, and just to hedge your bets, you may also still want to dual boot Vista and Windows 7 rather than installing Windows 7 over Vista.) Vista users will also get the cheaper upgrade price.

Cons: It probably won't affect most users, but the Vista-to-Windows-7 upgrade paths are actually limited by version in the following ways:

  • Windows Vista Home Premium to Windows 7 Home Premium
  • Windows Vista Business to Windows 7 Professional
  • Windows Vista Ultimate to Windows 7 Ultimate

If you don't follow one of those three upgrade paths, you'll have to perform a fresh install.

Be sure to check the Ars post for a more detailed rundown of the differences, including a discussion of the fate of your Windows Vista Ultimate Extras.