Windows XP and 2000 Tips & Tricks UPDATE--July 7, 2003
July 6, 2003
Windows XP and 2000 Tips & Tricks UPDATE, July 7, 2003, —brought to you by the Windows & .NET Magazine Network and the Windows 2000 FAQ site
http://www.windowsitpro.com
This Issue Sponsored By
Argent Software
http://www.argent.com/support/whitepapers/whitepapers_request.html
1. Commentary
2. FAQs
Q. How can I modify the date format on a Windows machine for new users?
Q. How can I defragment the hiberfil.sys file in Windows 2000 and later?
Q. Can I use the Microsoft Bluetooth keyboard and mouse adapter to connect other Bluetooth devices?
Q. Why did the volume control icon disappear from my taskbar notification area in Windows XP?
Q. How can I display seconds as part of the current time displayed in the taskbar?
Q. Why does the Windows 2000 Disk Cleanup utility freeze when I start it?
Q. When I ran disk defragmentation on a volume containing Volume Shadow Copy Service (VSS) snapshots, some of my old VSS snapshots were lost. Can I restore them?
3. Announcements
Find Your Next Job at Our IT Career Center
New Active Directory Web Seminar!
4. Event
New--Mobile & Wireless Road Show!
5. Contact Us
See this section for a list of ways to contact us.
Sponsor: Argent Software
NETWORK TESTING LABS COMPARES MOM TO THE ARGENT GUARDIAN
Network Testing Labs, one of the world's leading independent research companies, put together a comprehensive Comparison Paper on two leading enterprise monitoring solutions. Their conclusion: "The Argent Guardian easily beats out MOM in all our tests... The Argent Guardian will cost far less than MOM and yet provide significantly more functionality." Find out for yourself why organizations like Major League Baseball, GE Capital, AT&T, Harley Davidson, and Nokia all rely on The Argent Guardian for their enterprise monitoring and alerting needs. Download this Comparison Paper now:
http://www.argent.com/support/whitepapers/whitepapers_request.html
1. Commentary
by John Savill, FAQ Editor, [email protected]
Commentary text
2. FAQs
Q. How can I modify the date format on a Windows machine for new users?
A. New users inherit the date format values that were established for the default user when Windows was installed on the machine. To modify the date format (e.g., so that the date appears as day/month/year instead of month/day/year), perform the following steps:
Start a registry editor (e.g., regedit.exe).
Navigate to the HKEY_USERS.DEFAULTControl PanelInternational registry subkey.
Double-click sShortDate.
Set the value to the date format desired (e.g., dd/MM/yyyy), then click OK. You can also modify the sLongDate value to change the long date format (e.g., dd/MMMM/yyyy), then click OK.
Close the registry editor.
Q. How can I defragment the hiberfil.sys file in Windows 2000 and later?
A. Windows uses the hiberfil.sys file for system hibernation. By design, the OS's built-in disk defragmenter utility and most third-party products, such as Executive Software's Diskeeper, won't defragment hiberfil.sys when you attempt optimize the disk that contains the file. However, SysInternals' free PageDefrag tool does defragment the file. If you don't want to use a third-party product to defragment hiberfil.sys, you can delete the hibernation file, defragment the disk, then recreate the hibernation file by performing the following steps:
Start the Control Panel Power Options applet.
Select the Hibernate tab.
Clear the "Enable hibernation" check box, then click OK to delete the hiberfil.sys file.
Start your defragmentation program to defragment the disk.
After defragmentation is complete, start the Control Panel Power Options applet.
Select the Hibernate tab.
Select the "Enable hibernation" check box, then click OK to create the hiberfil.sys file.
Other files that the Windows disk defragmenter utility doesn't defragment are
Bootsect.dos
Safeboot.fs
Safeboot.csv
Safeboot.rsv
Memory.dmp
Files in the Recycle Bin (so it's a good idea to empty the Recycle Bin before you defragment a disk)
Pagefile.sys (third-party products can defragment this file)
Files that are in use when you run the disk defragmenter utility (so it's a good idea to shut down all running programs and any unneeded services before you run the utility)
If the disk that you're defragmenting has less than 15 percent free space available, the disk defragmenter won't completely defragment the volume; instead, the utility will complete only a partial defragmentation. Also, you can't defragment a drive that's marked as possibly having errors (run chkdsk : /f to resolve this problem).
Q. Can I use the Microsoft Bluetooth keyboard and mouse adapter to connect other Bluetooth devices?
A. No, the type of adapter on the Microsoft Bluetooth keyboard and mouse is suitable only for mouse and keyboard connectivity. Additional information about this type of Bluetooth adapter (i.e., the TDK USB Bluetooth adapter) is available at the TDK Systems Web site (follow the links to Products/Bluetooth).
Q. Why did the volume control icon disappear from my taskbar notification area in Windows XP?
A. To display the volume icon in the taskbar notification area, you must select the "Place volume icon in the taskbar" check box in Control Panel Sounds and Audio Devices applet. If, when you try to select this check box, you receive the error
ErrorWindows cannot display the volume control on the taskbar because the Volume Control program has not been installed. To install it, use Add/Remove Programs in Control Panel.
you need to copy the sndvol32.exe image from your commercial XP installation media (not a vendor-supplied "recovery" CD-ROM) to the system32 folder by performing the following steps:
Start a command session.
Navigate to the CD-ROM drive by typing
:
Navigate to the i386 folder by typing
cd i386
Expand the sndvol32.ex_ file by typing
expand -r sndvol32.ex_ %systemroot%system32
Q. How can I display seconds as part of the current time displayed in the taskbar?
A. The taskbar displays only the hours and minutes for the current time. This behavior dates back to the days of Windows 95, when displaying the seconds was deemed to be too CPU intensive. You can't use Windows to display seconds, but you can use one of several third-party utilities, such as Tclock2, which adds the date and seconds and is fully configurable.
Q. Why does the Windows 2000 Disk Cleanup utility freeze when I start it?
A. The Disk Cleanup utility frees up space on a volume. To access the utility, open My Computer, right-click the drive you want to work on, click Properties, then select Disk Cleanup from the General tab. If the program hangs the system, the problem is most likely caused by the Disk Cleanup Wizard checking for all files older than 50 days that it can compress. Disabling this behavior might improve the performance. To disable the behavior, perform the following steps:
Start a registry editor (e.g., regedit.exe).
Navigate to the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCachesCompress old files registry subkey, then select it.
From the File menu, select Export.
Enter a filename and location, then click Save.
Delete the "Compress old files" registry subkey.
Close the registry editor.
Alternatively, you can paste the following text in a file named nodiskchkcompress.reg and double-click the filename to run it:
Windows Registry Editor Version 5.00[-HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCachesCompress old files]
To enable the compressible-file check, you can run the .REG file you created in Step 4. If you didn't save the file in Step 4, you can paste the following text into a file to recreate the original .reg file:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionExplorerVolumeCachesCompress old files]@="{B50F5260-0C21-11D2-AB56-00A0C9082678}""Priority"=dword:0000012c"StateFlags"=dword:00000000
Q. When I ran disk defragmentation on a volume containing Volume Shadow Copy Service (VSS) snapshots, some of my old VSS snapshots were lost. Can I restore them?
A. The VSS snapshot (aka Shadow Copy) creation process copies 16KB blocks as it writes the data to the Shadow Copy storage area (this process is independent of the file system's cluster size). You might encounter a problem if the file system's cluster size is less than 16KB, which can confuse the VSS creation process into not being able to tell the difference between disk defragmentation I/O and normal write I/O. As a result, the VSS creation process performs a copy operation that causes the Shadow Copy storage area to grow very quickly. After the VSS creation process reaches the user-defined limit set for the Shadow Copy storage area, the oldest Shadow Copies will be lost. To resolve this problem, reformat the volumes and use a cluster size of 16KB or larger.
3. Announcements
(from Windows & .NET Magazine and its partners)
Find Your Next Job at Our IT Career Center
Check out our new online career center in which you can browse current job openings, post your resume, and create automated notifications to notify you when a job is posted that meets your specifications. It's effective, it's private, and there's no charge. Visit today!
http://windows.itcareerpath.com
New Active Directory Web Seminar!
Discover how to securely managing Active Directory in a multiforest environment, establish attribute-level auditing without affecting AD performance, enhance secure permission management with “Roles," and more! There’s no charge for this Aelita Software-sponsored event, but space is limited--register today!
http://www.winnetmag.com/seminars/securead
4. Event
(brought to you by Windows & .NET Magazine)
New--Mobile & Wireless Road Show!
Learn more about the wireless and mobility solutions that are available today! Register now for this free event!
http://www.winnetmag.com/roadshows/wireless
Sponsored Link
AutoProf
Jerry Honeycutt Desktop Deployment Whitepaper
http://ad.doubleclick.net/clk;5790077;8214395;s?http://www.AutoProf.com/Update_TextLinks_2003_06_23.html
5. Contact Us
Here's how to reach us with your comments and questions:
About the newsletter — [email protected]
About technical questions — http://www.winnetmag.com/forums
About product news — [email protected]
About your subscription — [email protected]
About sponsoring UPDATE — [email protected]
This weekly email newsletter is brought to you by Windows & .NET Magazine, the leading publication for Windows professionals who want to learn more and perform better. Subscribe today.
http://www.winnetmag.com/sub.cfm?code=wswi201x1z
Receive the latest information about the Windows and .NET topics of your choice. Subscribe to our other FREE email newsletters.
http://www.winnetmag.net/email
About the Author
You May Also Like