Mobile Friendly    Online Version    Add to your Safe Sender list
Windows Tips & Tricks UPDATE
John Savill’s FAQ for Windows
Q. Is there any difference between compatibility mode and XP Mode in Windows 7?
John Savill
A. There are two (potentially three) very different compatibility modes in Windows 7. First, there's the standard Compatibility tab for applications, which was available in previous OSs. The settings in this tab "lie" to applications about the OS and service pack it's running on. They can also hide or disable elements of the OS that could cause problems with the application. These configurations (lies) are known as shims. You can make some applications work on Windows 7 through these shims, and if you can, it's generally the optimal solution. Ultimately, however, an application with these settings is still running on Windows 7 and the architecture of the Windows 7 installation (i.e., 64-bit).

If the Compatibility tab doesn't work for an application, you can use XP Mode, which was introduced in Windows 7. All XP Mode does is install Windows Virtual PC along with a Microsoft-created Windows XP image, into which you can install applications. The seamless application integration feature then allows the programs running in the Windows XP virtual machine (VM) to be displayed on the main Windows 7 desktop—the average user doesn't know the application is actually running in a VM. Using this technology, the application is actually running on a 32-bit XP OS installation, so any application that works with XP should work in the XP Mode VM.

Your third option is basically the same as your second—you install Windows Virtual PC. However, you don’t use the XP image. You can use your own Windows Vista or XP image, or even a Windows 7 image, to run applications. The seamless application integration is still available (once you install the integration tools in the VM). A good use of this technique is if you've rolled out Windows 7 64-bit and you have application that won’t run on a 64-bit OS (maybe it has 16-bit code). You can run those applications in the 32-bit VM.

To summarize, the traditional Compatibility tab just imitates certain aspects of an older OS, but the application still runs on Windows 7. When using XP Mode (or any VM), the application actually runs on that virtual OS.



ADVERTISEMENT
Introducing Symantec Backup Exec 2010
Symantec Backup Exec 2010 allows you to reduce your storage and management costs, while protecting more of your data than ever before. With integrated and adaptable deduplication, unified archiving and first-to-market granular recovery for virtual applications, you can ensure your company’s business critical information is always protected and quickly recoverable.

Q. I'm trying to connect to my Exchange 2010 server using POP3, but it's failing. What's wrong?
A. Assuming you've correctly configured Exchange 2010, enabled the user to use POP3 in the Mailbox Features tab of the user mailbox (as shown here), and ensured network connectivity, the most common cause for connectivity failure is that the POP3 service isn't running.

Click to expand.

As is the case with Exchange 2007, POP3 is installed automatically but the actual service is set to manual start mode—it won't run until started manually. If you intend to use POP3, you should modify the service through Server Manager, Configuration, Services, and set the Microsoft Exchange POP3 service to Automatic start mode, as shown here. You can then click the Start button to start the service immediately.

Click to expand.

You can also make this change using PowerShell with these commands:

Set-Service msExchangePOP3 -StartupType automatic
Start-Service msExchangePOP3

Q. I'm trying to connect to my Exchange 2010 server using IMAP, but it's failing. What's wrong?
A. See the previous FAQ. IMAP is exactly the same as POP3 from a service perspective—it's installed but not started by default. Make sure IMAP is enabled for the user then set the IMAP service to Automatic, Microsoft Exchange IMAP4.

You can also make these changes from PowerShell with these commands:

Set-Service msExchangeIMAP4 -StartupType automatic
Start-Service msExchangeIMAP4

Q. Is there a keyboard shortcut to hide and show Windows Ribbons?
A. In a previous FAQ, I talked about the Windows Ribbon and how to configure it to always show or to only show when selected. Colin from the UK pinged me and pointed out you can also use Ctrl+F1 to toggle the Ribbon's state.


Q. What's a fast way to find how long my system has been running?
A. Windows XP and later include the systeminfo utility. When executed, it shows a lot of information about your system, including the system's boot time. When I ran the utility, I saw:

Host Name: SAVDALWKS01
OS Name: Microsoft Windows 7 Ultimate
OS Version: 6.1.7600 N/A Build 7600
OS Manufacturer: Microsoft Corporation
OS Configuration: Member Workstation
OS Build Type: Multiprocessor Free
Registered Owner: localadmin
Registered Organization:
Product ID: 00426-065-0254163-86023
Original Install Date: 8/7/2009, 11:22:13 AM
System Boot Time: 1/27/2010, 3:16:34 AM
System Manufacturer: OEM
System Model: OEM
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: Intel64 Family 6 Model 26 Stepping 5 GenuineIntel ~2106 Mhz
BIOS Version: Phoenix Technologies, LTD 6.00 PG, 11/25/2009
Windows Directory: C:\Windows
System Directory: C:\Windows\system32

(Text bolded for emphasis)

In Windows Vista and later, you can also launch Task Manager. Up time is displayed at the bottom right of the Performance tab.

Click to expand.

There are other, longer ways to check the up time. You can check when key services, such as the workstation or server services, were started using the commands

net statistics server

or

net statistics workstation

and looking at the second line, which displays the date the services started (the time of the boot), as shown here.

Workstation Statistics for \\SAVDALWKS01


Statistics since 1/27/2010 3:16:56 AM


Bytes received 3823054
Server Message Blocks (SMBs) received 12340
Bytes transmitted 22773081
Server Message Blocks (SMBs) transmitted 12362

Attend sessions on virtualization by John Savill at the VirtualizationPro Summit & Expo
John Savill will be one of many virtualization experts presenting at the VirtualizationPro Summit & Expo in Las Vegas. Among his sessions will be "Automating the Dynamic Datacenter and Creating Virtual Machines Automatically."
See the event's site for details.

Additional Resources
SQL Server Consolidation, eLearning Series
Join Allan Hirt and Ben DeBow and get a real-world perspective on how to lead a successful SQL Server consolidation effort.

Windows 7 Deployment Workshop, March 17-19, Bellagio, Las Vegas
Bonus session: Windows 7 Annoyances with Paul Thurrott.

Manage your subscription     Unsubscribe     Online Version     Archives
ADVERTISEMENT
This issue is sponsored by Symantec Corporation.

Join Our Community:
Facebook
Twitter
LinkedIn

Resources
Save 58% Off SQL Server Magazine
Get a free 2 GB USB with your paid order!

David Chernicoff Podcast - Benefits of FoIP
Fax over IP offers a measurable return on investment – listen to learn how.
MORE RESOURCES

Events
VirtualizationPro 2010 Summit & Expo
Focus on Microsoft Hyper-V and VMware solutions with the top independent industry experts. Las Vegas Bellagio, March 16-19, 2010.

Business Critical Virtualization, March 31, 2010
Get end-to-end solutions for managing your virtual environment and virtualizing your mission-critical apps. Free Registration.
MORE EVENTS

About Our Newsletter