Windows XP and 2000 Tips & Tricks UPDATE, May 6, 2002

Windows XP and 2000 Tips & Tricks UPDATE—brought to you by the Windows & .NET Magazine Network and the Windows 2000 FAQ site
http://www.windows2000faq.com


THIS ISSUE SPONSORED BY

Availability Monitoring for Windows
http://www.mkssoftware.com/eval/default.asp?distrib=WIN_0506

You Can't Protect Data That Wasn't Backed Up
http://www.stbernard.com/products/targetpages/storageadminN-ofm.asp
(below COMMENTARY)


SPONSOR: AVAILABILITY MONITORING FOR WINDOWS

MKS AlertCentre is an affordable availability monitoring solution that is extensible and easy-to-deploy. It can make system and network administrators more productive by automatically monitoring critical systems and applications by notifying them of problems so they can act quickly and avoid disasters. AlertCentre provides you with the "peace of mind" of knowing your website, e-mail server and other critical systems and applications are running smoothly. AlertCentre comes bundled with MKS Toolkit for System Administrators, which includes hundreds of tools for customizing monitors and automating corrective actions. Call 800-637-8034; +1 (703) 803-3343. Or, Try It. FREE for 30 days at:
http://www.mkssoftware.com/eval/default.asp?distrib=WIN_0506


May 6, 2002—In this issue:

1. COMMENTARY

2. FAQS

  • Q. What's the best way to shut down Windows 2000 Server Terminal Services?
  • Q. How can I change which account the Task Scheduler service runs as under Windows NT 4.0?
  • Q. Why does Microsoft Internet Explorer (IE) 6.0 prompt me for an action when I click a .tif file, even after I've cleared the "Always ask before opening this type of file" check box?
  • Q. What is Microsoft Windows Update Corporate Edition?
  • Q. How can I install SharePoint Team Services with a Microsoft Desktop Exchange (MSDE) database on partitions other than the C drive?
  • Q. How do I use the newly rereleased Microsoft PowerToys for Windows XP?

3. ANNOUNCEMENTS

  • Cast Your Vote for our Reader's Choice Awards!
  • Attend Our Free Webinar: Understanding PKI

4. CONTACT US

  • See this section for a list of ways to contact us.

1. COMMENTARY
(contributed by John Savill, FAQ Editor, [email protected])

This week, I share the best way to shut down Windows 2000 Server Terminal Services without cutting off connected clients, how to change the user-account context when running the Task Scheduler service, and

how to correct a bug in Microsoft Internet Explorer (IE) that persists in prompting you to specify an open or save action every time you access a .tif file. I also examine the new Windows Update Corporate Edition, tell you how to install SharePoint Team Services on a partition other than the C drive, and update you on the latest release of Microsoft PowerToys for Windows XP.

For those readers who have taken an interest, a new version of my FAQ-based answer book will be available in about 4 months. The book will cover XP and Win2K tips. I'll pass along more details as the publication date approaches.


SPONSOR: YOU CAN'T PROTECT DATA THAT WASN'T BACKED UP

More information must be backed up today - and faster - while keeping your network up and running 24/7. Skipped or corrupted data on your backup media can cripple your organization. Open File Manager provides a complete and accurate backup of your organization's most critical files - such as your accounting database and email system. Open File Manager is the only open file solution that works with ALL backup packages. NetWare 6 NSS support coming soon!
FREE upgrade to next release if you buy now!
http://www.stbernard.com/products/targetpages/storageadminN-ofm.asp


2. FAQS

Q. What's the best way to shut down Windows 2000 Server Terminal Services?

A. For Win2K and later OSs (including Windows .NET Standard Server—Win.NET Standard Server), selecting Shut Down from the Start menu will shut down Terminal Services, but will also terminate all user connections. A better way to shut down Terminal Services is to use the tsshutdn.exe command. The command syntax, which is the same for Win.NET Standard Server and Win2K, is

tsshutdn \[wait_time\] \[/server:servername\] \[/reboot\] \[/powerdown\]
      \[/delay:logoffdelay\] \[/v\]

where

  • wait_time—specifies the number of seconds to wait after user notification before the OS terminates all user sessions (the default value is 60)
  • /server:servername—specifies which server you want to shut down (the value defaults to the current server)
  • /reboot—specifies that you want to reboot the server after the OS terminates all user sessions
  • /powerdown—specifies that you want to power down the server after the OS terminates all user sessions
  • /delay:logoffdelay—specifies the number of seconds to wait after logging off all connected sessions before performing the reboot or shutdown action (the default value is 30)
  • /v—turns on verbose mode, which displays detailed information about actions that are being performed

For example, to power down a remote server named server1 in 5 minutes and turn on verbose mode, type

tsshutdn 300 /server:server1 /powerdown /v

at the command prompt.

Q. How can I change which account the Task Scheduler service runs as under Windows NT 4.0?

A. Installing the Microsoft Internet Explorer (IE) Offline Browsing Pack in NT 4.0 replaces the built-in Scheduler service with the Task Scheduler service. As a result, the setting that you use to specify an alternative "logon as" account for the Task Scheduler service will be unavailable (this isn't the case under Windows XP and Windows 2000). To work around this problem for a particular scheduled task, perform the following steps as appropriate for your version of IE:

IE 4.0

  1. Start the Scheduled Tasks application (go to Start, Programs, Administrative Tools, and click Scheduled Tasks).
  2. Highlight the name of the scheduled task you want to change, go to the File menu and click Properties, and select the Task tab.
  3. In the "Run as" box, type the account name to use.
  4. Click "Set password."
  5. Type the user-account password in the "Password" and "Confirm password" fields, then click OK.
  6. Click OK, then quit Scheduled Tasks.

IE 5.0

  1. Double-click My Computer, then double-click Scheduled Tasks.
  2. Right-click the name of the scheduled task you want to modify, select Properties, and select the Task tab.
  3. In the "Run as" box, type the account name to use.
  4. Click "Set password."
  5. Type the user-account password in the "Password" and "Confirm password" fields, then click OK.
  6. Click OK, then quit Scheduled Tasks.

Q. Why does Microsoft Internet Explorer (IE) 6.0 prompt me for an action when I click a .tif file, even after I've cleared the "Always ask before opening this type of file" check box?

A. When you select a link to a .tif file in IE, the browser will always prompt you to either open or save the file unless you clear the "Always ask before opening this type of file" check box. However, a bug in IE 6.0 can cause the browser to lose this setting, forcing you to make a decision each time you access a .tif file. To resolve this problem, perform the following steps:

  1. Start a registry editor (e.g., regedit.exe).
  2. Navigate to the HKEY_CLASSES_ROOT\.tif subkey.
  3. Double-click the Default value and change the value data from TIFImage.Document to Imaging.Document.
  4. Navigate to the HKEY_CLASSES_ROOT\.tiff subkey.
  5. Double-click the Default value and change the value data from TIFImage.Document to Imaging.Document.
  6. Close the registry editor.

The problem occurs because TIFImage.Document and Imaging.Document share the same class identifier (CLSID) but the reverse lookup points back to only Imaging.Document when you access a .tif file. Hence, IE 6.0 ignores the registry settings for TIFImage.Document.

Q. What is Microsoft Windows Update Corporate Edition?

A. Windows Update Corporate Edition, which Microsoft plans to release in the second quarter of 2002, will let administrators host their own version of the Windows Update Web site on a local intranet. Windows Update Corporate Edition will, at scheduled intervals, pull the latest fixes from the public Windows Update Web site. A client component will let administrators check the intranet-based Windows Update site and use Group Policy settings to automatically download updates to clients.

The Windows Update Corporate Edition will help companies preserve bandwidth that they now use to repeatedly download the same fixes and will offer greater control over which updates users can install. For more information, visit the URL below.
http://www.microsoft.com/technet/treeview/default.asp?url=/technet/ittasks/support/corpwu.asp

Q. How can I install SharePoint Team Services with a Microsoft Data Engine (MSDE) database on partitions other than the C drive?

A. To install SharePoint Team Services on a partition other than the C drive, perform the following steps:

  1. Install Microsoft Office XP Professional in a minimum configuration (Microsoft Access is the only optional component you need).
  2. Navigate to the \sharept\sql\x86\setup folder of the SharePoint CD-ROM and run setupsql.exe to install MSDE—specify the location for the programs and the database on a partition other than the C drive.
  3. Navigate to the \sharept folder of the SharePoint CD-ROM and run setupse.exe to start SharePoint Team Services setup.
  4. Open the SharePoint administration page and update the Web page you want to use for SharePoint, leaving the database connection information set to the default values (machine=netbiosname; the username and password for the connection are both null).
  5. At the end of the update, you should have a SharePoint home page up and running.
  6. Reboot the machine.
  7. Uninstall Office XP Pro and install the Office suite you'll use on that machine.
  8. If you want to use the C drive only for system files, you'll have to move the Web site Home Directory before installing MSDE and delete the index catalog named "Web" from one partition and create a new "Web" catalog on another partition.

Thanks to Alessio Tosi for this information.

Q. How do I use the newly rereleased Microsoft PowerToys for Windows XP?

A. After a 2-month absence, Microsoft rereleased PowerToys on April 24, 2002. Microsoft didn't add any new tools but did remove a few, such as the ISO Recorder and the Super-Fast Users Switcher. PowerToys now consists of

  • Open Command Window Here—adds a context menu option to start a command window (cmd.exe) from a directory within Windows Explorer
  • Alt-Tab Replacement—replaces the standard Alt-Tab functionality with a graphical view of each selectable application
  • Tweak UI—lets you adjust system settings that aren't exposed in the XP interface
  • Power Calculator—provides an enhanced calculator with graph and evaluate functions
  • Image Resizer—adds a context menu option to resize individual or multiple images
  • CD Slide Show Generator—lets you view images on a CD-ROM as a slide show
  • Virtual Desktop Manager—lets you manage up to four virtual desktops from the taskbar
  • Taskbar Magnifier—magnifies part of the screen from the taskbar
  • HTML Slide Show Wizard—helps you create an HTML slide show of your pictures
  • Webcam Timershot—takes pictures from a Webcam at a specified time and saves the images to a designated location

Each PowerToy is now a separate download (ranging in size from 500KB to 800KB) that you can add to your system using an installation wizard. To install each PowerToy, simply execute the downloaded file. You can download the PowerToys from the Microsoft Web site
( http://www.microsoft.com/windowsxp/pro/downloads/powertoys.asp ).

3. ANNOUNCEMENTS

  • CAST YOUR VOTE FOR OUR READER'S CHOICE AWARDS!

  • Which companies and products do you think are the best on the market? Nominate your favorites in four different categories for our annual Windows & .NET Magazine Reader's Choice Awards. You could win a T-shirt or a free Windows & .NET Magazine Super CD, just for submitting your ballot. Click here!
    http://www.winnetmag.com/readerschoice

  • ATTEND OUR FREE WEBINAR: UNDERSTANDING PKI

  • Implementing public key infrastructure (PKI) successfully requires an understanding of the technology with all its implications. Attend the latest Webinar from Windows & .NET Magazine and develop the knowledge you need to address this challenging technology and make informed purchasing decisions. We'll also look closely at three possible content-encryption solutions, including PKI. Register for FREE today!
    http://www.winnetmag.com/webinar/pki.cfm

    4. CONTACT US

    Here's how to reach us with your comments and questions:

    (please mention the newsletter name in the subject line)

    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

    Hide comments

    Comments

    • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

    Plain text

    • No HTML tags allowed.
    • Web page addresses and e-mail addresses turn into links automatically.
    • Lines and paragraphs break automatically.
    Publish