The "w32tm /monitor" command output cannot be redirected to a file correctly in Windows 7 or Windows Server 2008 R2

Applies to: Windows Server 2008 R2 Service Pack 1Windows Server 2008 R2 DatacenterWindows Server 2008 R2 Enterprise More

Symptoms



Assume that you have a domain member computer that is running Windows 7 or Windows Server 2008 R2. You run a variation of the following command from a command prompt to monitor the Windows Time service on the computer and collect the output in a file:
w32tm /monitor > result.txt 

In this situation,  the localized lines of the command prompt output are not redirected to the file correctly.


Resolution


After you apply the hotfix, you have to open the redirected file by using Wordpad.exe instead of Notepad.exe to view newline characters correctly.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix Download Available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website: Note The "Hotfix Download Available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must be running Windows 7 Service Pack 1 (SP1) or Windows Server 2008 R2 SP1.

For more information about how to obtain a Windows 7 or Windows Server 2008 R2 service pack, click the following article number to view the article in the Microsoft Knowledge Base:
976932 Information about Service Pack 1 for Windows 7 and for Windows Server 2008 R2

Registry information

To apply this hotfix, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix if w32tm.exe is running on the computer when you apply the hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Additional file information

Additional file information for Windows 7 and Windows Server 2008 R2

Additional files for all supported x86-based versions of Windows 7
File nameX86_5a94eb0b8ae79d263b965122520ad455_31bf3856ad364e35_6.1.7601.22521_none_95dfb7c2c1a83cb4.manifest
File versionNot Applicable
File size697
Date (UTC)23-Nov-2013
Time (UTC)06:07
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameX86_microsoft-windows-time-tool_31bf3856ad364e35_6.1.7601.22521_none_ef8c3894b3591f41.manifest
File versionNot Applicable
File size2,761
Date (UTC)23-Nov-2013
Time (UTC)02:33
SHA-1 hashNot Applicable
MD5 hashNot Applicable
Additional files for all supported x64-based versions of Windows 7 and Windows Server 2008 R2
File nameAmd64_431dacc52cc0283af2f8e6a4075a0561_31bf3856ad364e35_6.1.7601.22521_none_055615c367c52597.manifest
File versionNot Applicable
File size701
Date (UTC)23-Nov-2013
Time (UTC)06:07
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameAmd64_5a94eb0b8ae79d263b965122520ad455_31bf3856ad364e35_6.1.7601.22521_none_f1fe53467a05adea.manifest
File versionNot Applicable
File size699
Date (UTC)23-Nov-2013
Time (UTC)06:07
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameAmd64_6c329f8b5398438e53c0f51341fd1a7c_31bf3856ad364e35_6.1.7601.22521_none_c038936adad47c45.manifest
File versionNot Applicable
File size1,042
Date (UTC)23-Nov-2013
Time (UTC)06:07
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameAmd64_microsoft-windows-time-tool_31bf3856ad364e35_6.1.7601.22521_none_4baad4186bb69077.manifest
File versionNot Applicable
File size2,765
Date (UTC)23-Nov-2013
Time (UTC)03:10
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameX86_microsoft-windows-time-tool_31bf3856ad364e35_6.1.7601.22521_none_ef8c3894b3591f41.manifest
File versionNot Applicable
File size2,761
Date (UTC)23-Nov-2013
Time (UTC)02:33
SHA-1 hashNot Applicable
MD5 hashNot Applicable
Additional files for all supported IA64-based versions of Windows Server 2008 R2
File nameIa64_04589a9125ba8d95efe95c70054f6734_31bf3856ad364e35_6.1.7601.22521_none_4de97104b1f90be6.manifest
File versionNot Applicable
File size1,040
Date (UTC)23-Nov-2013
Time (UTC)06:06
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameIa64_microsoft-windows-time-tool_31bf3856ad364e35_6.1.7601.22521_none_ef8ddc8ab357283d.manifest
File versionNot Applicable
File size2,763
Date (UTC)23-Nov-2013
Time (UTC)02:22
SHA-1 hashNot Applicable
MD5 hashNot Applicable
File nameX86_microsoft-windows-time-tool_31bf3856ad364e35_6.1.7601.22521_none_ef8c3894b3591f41.manifest
File versionNot Applicable
File size2,761
Date (UTC)23-Nov-2013
Time (UTC)02:33
SHA-1 hashNot Applicable
MD5 hashNot Applicable