Your Ad Here
Showing posts with label Tips. Show all posts
Showing posts with label Tips. Show all posts

Tuesday, April 17, 2007

Faster, Vista, Faster!

One of my favorite features in Windows Vista is one I don't think Microsoft is emphasizing enough: ReadyBoost. It lets you use a flash drive to speed up Vista, and it does so noticeably.

I'd love to see Microsoft selling retail copies of Vista packaged with a 1- or 2-gigabyte flash drive. Unfortunately, the company seems more interested in hyping the Aero interface, which is cool but basically eye candy, over ReadyBoost, which is a real performance enhancer.

So I was very glad to see this post by Microsoft OS czar Jim Allchin at the Windows Vista Team Blog, in which he provides some detail on how ReadyBoost works:

. . . Well with Windows ReadyBoost, if you have a flash drive (like a USB thumb drive or an SD card) you can just use this to make your computer run better with Windows Vista. You simply plug in a flash drive and Windows Vista will use Windows ReadyBoost to utilize the flash memory to improve performance.

I should be clear that while flash drives do contain memory, Windows ReadyBoost isn't really using that memory to increase the main system RAM in your computer. Instead, ReadyBoost uses the flash drive to store information that is being used by the memory manager. If you are running a lot of applications on a system that has limited memory, Windows ReadyBoost will use the flash drive to create a copy of virtual memory that is not quite as fast as RAM, but a whole lot faster than going to the hard disk. What is very cool here is that there is nothing stored on this flash disk that isn't also on the hard disk, so if you remove the flash drive, the memory manager sees the change and automatically goes to the hard disk. While the performance gain from ReadyBoost is gone, you don't lose any data and there is no interruption. And because the Windows Readyboost cache on the flash drive is encrypted using AES-128, you don't need to worry about exposing sensitive data if the flash drive is stolen or lost. Also, the memory manager compresses the pages before writing them into the cache on the flash disk, which means you'll get more mileage from each MB.

Don't think, though, that you can plug several 2-GB flash drives into the USB 2.0 ports on your PC and get ever-increasing performance. Loren Killon, the storage expert from the Vista team who counseled me about my recent hardware crash, told me that, past 2 GB on a flash drive, there's a point of diminshing returns for ReadyBoost.

Allchin's post also confirms a suspicion I've had about Vista for a while. It seems to me, as I toggle between using Windows XP and Vista on the same machine, that Vista seems faster, even without a flash drive plugged in. I have been meaning to benchmark this, but have not yet had time.

It turns out that, if you have enough memory, Vista indeed will outperform XP:

We redesigned the memory manager in Windows Vista so that if you give the system more memory, it uses that memory much more efficiently than previous operating systems via a technique called SuperFetch -- part of Windows Vista's intelligent heuristic memory management system. And so Windows Vista on a PC with even more than 1 GB of primary memory (say 2 GB) will generally outperform Windows XP on that same machine -- especially once you have been using the machine for some time because Windows Vista learns what you do the most often and optimizes for this.

Again, this is something Microsoft should talk more about. A lot of people are sitting on the fence about Vista, but actual performance gains would do a lot more to push them to buy than transparent window borders and pretty colors.

Monday, April 16, 2007

Top 5 Cool Vista Tricks

1. The Value of VHD
Vista's CompletePC backup is more valuable than you might think. After you do a CompletePC backup, you'll see a group of XML files and a large .VHD file in your backup folder. The files will be large because CompletePC backup's file compression isn't much to speak of. For example, I did a CompletePC backup of a 12GB drive and it finished just under 10GB after backup. The fact that it's a .VHD file, however, is quite valuable.

Figure 1
Figure 1. Your CompletePC backup creates a .VHD file you can mount and use to access the backed up data.

The .VHD file format may ring a bell if you've ever worked with Virtual PC. Virtual PC images are also .VHD files. This doesn't mean you can boot a virtual system using a CompletePC backup file. If you're already running a virtual system, however, you can go into the Virtual PC configuration options and mount the CompletePC backup .VHD file to get at the files inside.

Going one step further, you can also use vhdmount.exe. VHDmount is a tool that ships with Virtual Server 2005 R2, Service Pack 1. You can use it to mount a .VHD file and access it as if it were a local drive. You don't even need to go through a virtual operating system in order to access your backed up data.

What's the practical side to all this? If you back up your system and realize you just need one lousy file, you don't have to restore the entire system. Just go in and get the file you need.

If you want to learn more about mounting .VHD files, check out an article by Ben Armstrong, manager on the Virtual Machine Team at Microsoft. He tells you how to configure your system to mount .VHD files by simply double-clicking.

2. Share Those iCalendars
This is a cool little gem. By using the iCalendar standard, you can share your calendars with anyone around the world, whether or not they're using Vista. There's a bevy of different calendar tools that use the iCalendar standard, so you can share away.

Figure 2
Figure 2. Using iCalendar helps you keep tabs of your family, your work and your favorite TV shows. You don't even have to do it yourself-just download someone else's.

You can also export your own calendar or import someone else's. You can even publish and/or subscribe to Web-based calendars by using HTTP and WebDAV.

How does this benefit you? Well, if you've ever spent a couple of hours researching your favorite TV shows, looking up their episode guide on tv.com and adding the titles and dates to your Calendar so you don't miss a show (or know when to download the next one), then you might like to know that you can check out online sites that will give you that information for free. Others have already done the work, you just have to find it and import it or sign up for a subscription. Who would do such a thing? Check out www.icalshare.com and you'll see.

You can also create multiple levels of calendars you can turn on and off with a single click. For example, you can have a main calendar called "Family Schedule." Then beneath that, you can have individual family member schedules like "Calvin," "Hobbes" and so on. That way, you can keep track of the whole family or all of your employees.

You can also share your calendar so your staff or your family can keep you up-to-date on what's happening in their lives. You'll clearly see "Staff Meeting" days, upcoming games or whatever you need.

3. Health Check -- Stat
You know there is a new performance monitoring tool called the Reliability and Performance Monitor. You may have noticed that it's a good deal more robust than its predecessors. All this additional capability may seem overwhelming, but before you push it aside, you should know there are a couple of preconfigured diagnostics you can run on your system with little trouble. Here are a few steps you can take:

The Simple Method: From the Control Panel, find Performance Information and Tools (or type it into the Search pane from the Start orb). In the Tasks pane, you can select Advanced Tools. You'll notice a bunch of different tools. Locate the "Generate a system health report" tool. Wait about one minute while the test runs and you'll get a nicely detailed report. Even though you went through a different tool, you're still using the Reliability and Performance Monitor.

The Quick Method: If you need to do a quicker health check, open a command prompt. (It doesn't matter whether it's elevated or non-elevated. It will still ask you for UAC permissions to proceed.) Type perfmon /report and the same tool kicks off. You could also use perfmon /report "Data_Collector_Set" to run any one of the System Data Collector Sets or your own User-created Data Collector Sets.

The Admin Method: Time to take the next step. Run the tool from the Reliability and Performance Monitor itself. Open the monitor tool and you'll see the System Data Collector Sets. There are four preconfigured tests, so you can do more than an overall system diagnostic. You can do LAN diagnostics, System Performance and Wireless Diagnostics, as well as System Diagnostics.

Figure 3
Figure 3. The System Diagnostics Report gives you a full rundown of how your system checks out.

To perform the System Diagnostics, for example, select "System Diagnostics." Then right-click and choose Start. Look down to the Reports section, open the System Diagnostics and select the report that is currently running (the latest one at the top of the list). This may sound complicated, but you have to start somewhere with the new Reliability and Performance Monitor.

Go ahead and use the quick command-line method to see the Reliability and Performance Monitor in action. It's a truly solid diagnostic tool, and it's no longer hidden beneath a ton of complexity or a million selection options.

4. You Have the Control
Parental Control is a great new feature in Windows Vista, and it's useful for much more than keeping your kids away from sketchy Web sites. You can control when and for how long someone uses a computer, what games or applications they can play and use, as well as what Web sites they can visit. Afterward, you can see an audit of all their activity both on and off the Web. It's about time this type of solution was integrated directly into the operating system.

When working with the Allow/Block settings, you should only include "Allowed" sites at first. Trying to handle the thousands of blocked sites will drive you crazy. Start a user (or your child) off with a handful of approved sites and then expand the list over time. This is the best way to prevent them from circumventing your efforts by using proxy sites or by going through Google image (or other image-viewing sites) and viewing inappropriate content.

Figure 4
Figure 4. You can choose to "Only Allow," which is the recommended approach. You can also import a WebAllowBlockList file.

You can configure the Allow/Block sites through the Parental Control settings or by importing an Allow/Block file. First, go to your Allow or Block specific Web sites section. You can type an address in the Web site address pane and then hit Allow or Block to manually add sites. For faster progress, hit the Export button and save the file.

When you go to open the file, you'll notice it's an odd file type. It's called a WebAllowBlockList file. Aside from the Parental Control being able to open the file, you won't see any other options. Right click the file, select Open With, and then choose Notepad or some other text editor.

Now you'll see that the file isn't all that complicated to work with. Here is a simple example that includes one allowed site and one blocked site:

http://microsoft.com/http://badstuff.com/

The numeral 1 is the code for Allow and 2 is code for Block. From here, you can add as many sites as you like. When you're done, you can import the file back into your Parental Controls.

Obviously, there are a billion possible sites you might want to block. You can do this manually or pick up a filter off the Web. In the latter case, you would then have to configure the entries to work with your Parental Control entries. For example, you can search for "URL deny lists" or "URL block lists."

One of my favorite best block lists comes from Rich Krol (get it here). You'll notice there are two XML files -- one list for porn content and one for spyware. Take the time and reconfigure these to work with the Vista format.

Keep in mind that you can create a list with only Allow settings and then choose the "Only Allow Web sites that are on the allow list" option. So when a friend asks for the list of Web sites you let your users (or your kids) visit, you can export your entire list to share.

Sometimes the mere presence of a deterrent is effective. Even if you don't filter a thing, if you let your users or your kids know that you can see every site they visit, that should scare them enough to resolve most of your worries.

5. Give Yourself High Marks
The first time many of us opened up the Windows Experience Index (WEI) and saw the pitiful score, we were ticked off-at least I was. A brand new laptop should have a higher score than a 2.9.

As you learn more about how the rating works, however, the score probably won't sting as much. To calculate the WEI, Vista takes the lowest of five scores that relate to your processor, RAM and so on. Maybe that's the goal of the WEI -- to embarrass or anger us into spending more money on better hardware.

Figure 5
Figure 5. How is this for a WEI Score?

There are a couple of ways to increase your rating (besides shelling out thousands of dollars for upgrades). First off, run the test again. Sometimes just running it again will boost you over the three mark. I ran mine again and got a 3.1. Another tip is to turn off your Aero glass interface, which will boost performance. Or, you could go right into the .XML file that stores the results and give yourself a higher score.

The Windows System Assessment Tool (WinSAT), which is the tool that calculates the WEI, stores its output in the %systemroot%\Performance\WinSAT\DataStore. Each time you run WinSAT, it creates a new XML file and stores it in this folder with the assessment date at the beginning of the file name.

For example, a file might look like this: 2007-01-01 12.00.00.000 Assessment (Formal).WinSAT.xml. When you first open the folder, you might be shocked to see there are more than five results. In fact, WinSAT runs a variety of tests and assigns scores, but it will typically only show us the top five.

My research assistant Alan Wright took some time and tweaked the file to see if he could change it. "The first thing I would recommend is turning off the UAC for this procedure," he says. "Then open the file using WordPad (I used several editors but WordPad was the easiest to work with and didn't try to change the file format). You only have to change the top five scores to whatever number you like and close the file. When you go to look at your WEI settings again, it should show you the new number.

"If you stay below 5.9, your number will still have a blue background, but if you go too high it does change the background to grey, which isn't a big deal either way but does indicate a difference," he says. "To 'fix' this and make it go back to normal, I just deleted the file and rebooted my machine and then re-ran the test. It worked fine. I was back to my 3.1 rating. Knowing that I could tweak it, I went back in and gave myself a 4.0. That's how I feel today. Maybe tomorrow I'll be a 6.0."

Now why would you even want to do this in the first place? Well, for one thing, you learn a lot about WinSAT by playing with this. You also see that the testing process is a lot more detailed than you might have thought.

Really though, this is just one of those things that makes you smile, especially after seeing that 2.9 rating. To see some other scores that people are getting there's a site called www.shareyourscore.com where people are competing for the highest scores. Of course, you and I know how to win that game.

Finding the Diamonds
So there you have it -- five diverse cool tips that you may or may not use. Vista is filled with nuggets like these. You just have to dig a bit, sift through some files to find them, bring them to the surface and polish them up.

Windows Vista tips & trick

1. If you hate the look of Aero, click Start/Control Panel/Themes and you can choose a non-Aero theme, such as Windows Classic.

2. Windows Vista's installer can detect serial-ATA (SATA) drives without the need to provide a driver diskette. Don't bother creating a diskette for your SATA drives before you install Vista.

3. If, for some reason, the Vista installation gets interrupted due to an unintentional shutdown or reboot, start the computer without booting the Vista DVD. Windows Vista's installer should pick up where it left off. If it does-n't, then restart the installation over from scratch.

4. When you perform a search with Vista's new, instant search feature, you can save the search in a special folder. This powerful feature allows you to create a virtual folder which, by default, is saved in your \\Searches\ folder. Every time you open such a folder, the search results are updated.

5. In Windows Vista, you can add additional clocks to the system tray. Click the clock, and then click Date and Time Settings. Click the Additional Clocks tab. You can add one or two additional clocks to the tray and select their time zones.

6. You can save your progress in most of the games included with Windows Vista—even the carry-overs from earlier versions of Windows.

7. You can create XML documents, which are more secure than regular text files or even word processor docs. Just create a document in a word processor, print it via the options menu, and select the XPS printer.

8. If you upgrade your graphics card in preparation for Windows Vista, be sure to get a new card with as much local memory as possible. Since Windows Vista renders everything—even the desktop and windows them-selves—as 3D surfaces, local 3D memory greatly improves performance...sometimes even more than a more powerful GPU.

9. Windows Vista games deposit their saves into a special directory, called Saved Games, in your personal folder. In theory, that will make upgrading to a new system much easier for gamers, who like to migrate their game saves.

10. When using the Help system, it's usually advantageous to include Microsoft's online database in your search. The online/offline status of your search is located on the bottom right of the Help window. You can click it to toggle.

11. The Games folder is a powerful repository of all things gaming. From within, you launch games, update games with the latest patches, enable parental controls to protect younger users from harmful content, and more. Invoke it by clicking Start/Games.

12. Several applications are available to help you tweak Windows Vista for maximum performance. They in-clude TweakVI (www.totalidea.com), TweakVista (www.tweakvista.com/tweakvistautility), and VistaBootPRO (www.vistabootpro.org). And don't forget about Windows ReadyBoost, which lets you use a removable flash memory drive to boost system memory.

13. Do you use the icon in the upper left corner of system and application windows? A quick double-click closes the window (instead of a single click on the X at the upper right). Though Microsoft left the icon out in Vista, the function remains.—Sarah Pike

14. In Microsoft Windows Explorer, you can use column headers (Name, Size, and so on) to sort files. Savvy users may right-click on a column head to remove items or add some—say, Dimensions for images. There are around 45 such columns available in Windows XP. Windows Vista has well over 250, covering a multitude of metadata.—Sarah Pike

15. If you've become used to surfing your Program Menu to get to applications, you'll be in for a shock when you first use Microsoft Windows Vista. The new Program Menu shows you only recently used applications and requires extra clicks to navigate to submenus. This can be very frustrating but, thankfully, the Search box Microsoft has added to the Start menu is a great replacement—as long as you're an accurate typist. As quickly as you can type, it returns intelligent results in apps, files, even e-mail messages.—Dave Cardinal, freelance writer