Windows XP and 2000 Tips & Tricks UPDATE, April 22, 2002
This week, John Savill shows you how to configure the Places bar in Open and Save common dialog boxes, how to disable IPSec on a VPN connection that uses L2TP, how to know what system-state information Win2K and later OSs save when you back up, and more.
April 21, 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.winnetmag.com
http://www.windows2000faq.com
THIS ISSUE SPONSORED BY
VeriSign - The Value of Trust
http://www.verisign.com/cgi-bin/go.cgi?a=n094487390057000
Security Administrator Web Site
http://www.secadministrator.com
(below COMMENTARY)
SPONSOR: VERISIGN - THE VALUE OF TRUST
Secure your servers with 128-bit SSL encryption!
Grab your copy of VeriSign's FREE Guide, "Securing Your Web site for Business," and you'll learn everything you need to know about using 128-bit SSL to encrypt your e-commerce transactions, secure your corporate intranets and authenticate your Web sites. 128-bit SSL is serious security for your online business. Get it now!
http://www.verisign.com/cgi-bin/go.cgi?a=n094487390057000
April 22, 2002—In this issue:
1. COMMENTARY
2. FAQS
Q. How can I hide the Places bar in Windows XP's and Windows 2000's Open and Save common dialog boxes?
Q. How can I edit the default Places bar quick links in Windows XP's and Windows 2000's Open and Save common dialog boxes?
Q. How can I disable IP Security (IPSec) on a VPN connection that uses Layer Two Tunneling Protocol (L2TP)?
Q. What system-state information does Windows 2000 and later Windows OSs back up?
Q. What is the Microsoft Baseline Security Analyzer (MBSA)?
Q. How can I add Plug and Play (PnP) support for a parallel port in Windows XP and Windows 2000?
3. ANNOUNCEMENTS
Cast Your Vote for our Reader's Choice Awards!
Get Valuable Info for Free with IT Consultant Newsletter
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 show you how to hide the Places bar that appears in Open and Save common dialog boxes and how to change the default Places bar quick links in those dialog boxes. I describe how to disable IP Security (IPSec) on a VPN connection that uses Layer Two Tunneling Protocol (L2TP), and I explain what system-state information Windows 2000 and later OSs save when you back up your system. I also tell you about a new tool for analyzing your systems, and I identify how to add Plug and Play (PnP) support in Windows XP and Win2K for legacy parallel ports.
Following up on a previous FAQ, I've found an easier way to back up the system state to update the %systemroot%repair folder. Just create a script that contains the following command:
ntbackup backup systemstate /f %temp%backup.bkfdel %temp%backup.bkf
SPONSOR: SPONSOR: SECURITY ADMINISTRATOR WEB SITE
WINDOWS IT SECURITY NEWS, BULLETINS, AND MORE!
When you suspect a hack or virus attack, don't waste time surfing the Web. The Security Administrator Web site delivers news, articles, discussion forums, FAQs, and hotfixes (in one easy-to-navigate Web site), so you can mitigate the effects of today's disaster and prevent tomorrow's. Discover:
http://www.secadministrator.com
2. FAQS
Q. How can I hide the Places bar in Widows XP's and Windows 2000's Open and Save common dialog boxes?
A. The Open and Save common dialog boxes display a bar along the left-hand side with quick links to the following default locations:
History
My Documents
Desktop
Favorites
My Network Places
You can hide this bar by performing the following steps:
Start a registry editor (e.g., regedit.exe).
Navigate to the HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32 subkey. (If this subkey doesn't exist, select New, Key from the Edit menu to create it.)
From the Edit menu, select New, DWORD Value.
Enter a name of
NoPlacesBar
and press Enter.
Double-click the new value, set it to 1, and click OK.
Close the registry editor.
The registry change will take effect immediately. To enable the Places bar again, either delete the NoPlacesBar registry value or set it to 0. This change will not affect applications within the Microsoft Office suite but will affect applications, such as Notepad and Microsoft Paint, that use the Open and Save common dialog boxes.
Q. How can I edit the default Places bar quick links in Windows XP's and Windows 2000's Open and Save common dialog boxes?
A. You can modify the five default quick links in the Open and Save common dialog boxes by performing the following steps:
Start a registry editor (e.g., regedit.exe).
Navigate to the HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32 subkey. (If this subkey doesn't exist, select New, Key from the Edit menu to create it.)
From the Edit menu, select New, Key.
Enter a name of
Placesbar
and press Enter.
Navigate to the new registry subkey. You can create five entries (i.e., Place0, Place1, Place2, Place3, and Place4). Make each entry either a string value (REG_SZ) entry (for a named folder) or a DWORD value (REG_DWORD) entry (for a special folder, such as My Documents or My Network Places).
To create a new entry, go to the Edit menu, select New, DWORD Value or New, String Value (as appropriate), enter a name of Placen (e.g., Place0, Place4), and press Enter.
Double-click the entry and set its REG_SZ "Value data" to a path and folder name or its REG_DWORD "Value data" to a numeric ID (the table below shows a partial list of these numeric IDs--the shlobj.h file, which is part of the platform software development kit (SDK), defines the full list of special numeric IDs).
Close the registry editor.
For example, the registry file below sets shortcuts to My Documents, the CD burning folder, and three named folders.
Windows Registry Editor Version 5.00[HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciescomdlg32Placesbar]"Place0"=dword:00000005"Place1"=dword:0000003b"Place2"="d:\temp""Place3"="d:\documents""Place4"="g:\windows"
This change will not affect applications within the Microsoft Office suite but will affect applications, such as Notepad and Microsoft Paint, that use the Open and Save common dialog boxes. Each new entry you add will replace one of the default quick links.
ID Pathway0 Desktop 1 Internet Explorer 2 Start MenuPrograms 3 My ComputerControl Panel 4 My ComputerPrinters 5 My Documents 6 Favorites 7 Start MenuProgramsStartup 8 Recent 9 SendTo a Recycle Bin b Start Menu c Logical "My Documents" desktop icon d "My Music" folder e "My Videos" folder 10 Desktop 11 My Computer 12 Network Neighborhood (My Network Places) 13 Nethood 14 WindowsFonts 16 All UsersStart Menu 17 All UsersStart MenuPrograms 18 All UsersStartup 19 All UsersDesktop 1a Application Data 1b PrintHood 1c Local SettingsApplication Data (nonroaming) 0x001d // nonlocalized startup 1e Nonlocalized common startup 1f Common favorites 20 Internet cache 21 Cookies 22 History 23 All UsersApplication Data 24 GetWindowsDirectory() 25 GetSystemDirectory() 26 C:Program Files 27 C:Program FilesMy Pictures 28 USERPROFILE 29 x86 system directory on RISC 2a x86 C:Program Files on RISC 2b C:Program FilesCommon 2c x86 Program FilesCommon on RISC 2d All UsersTemplates 2e All UsersDocuments 2f All UsersStart MenuProgramsAdministrative Tools 30 Start MenuProgramsAdministrative Tools 31 Network and Dial-up Connections 35 All UsersMy Music 36 All UsersMy Pictures 37 All UsersMy Video 38 Resource Directory 39 Localized Resource Directory 3a All Users OEM-specific applications 3b USERPROFILELocal SettingsApplication DataMicrosoftCD Burning
Q. How can I disable IP Security (IPSec) on a VPN connection that uses Layer Two Tunneling Protocol (L2TP)?
A. Windows automatically creates an IPSec policy for L2TP connections because L2TP doesn't encrypt data. However, you might want to test a VPN L2TP connection without the security of IPSec (e.g., when troubleshooting). Although you must disable IPSec on both the client and server in this situation, make sure you reenable the security policy after you resolve any problems; otherwise, your systems are vulnerable to attack. To disable IPSec, perform the following steps on both ends of the connection (client and server):
Start a registry editor (e.g., regedit.exe).
Navigate to the HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesRasManParameters subkey.
From the Edit menu, select New, DWORD Value.
Enter a name of
ProhibitIpSec
and press Enter.
Double-click the new value, set it to 1, and click OK.
Restart the machine.
For more information, see the Microsoft article "How to Configure a L2TP/IPSec Connection Using Pre-shared Key Authentication" at the following URL:
http://support.microsoft.com/default.aspx?scid=kb;en-us;q240262
Q. What system-state information does Windows 2000 and later Windows OSs back up?
A. When you perform a backup and include the system state, the information the OS includes in the backup will vary depending on the type and state of the machine. The following table lists the elements the OS backs up:
Element to be Backed up DC Non-DCActive Directory (NTDS) Yes No Boot files Yes Yes COM+ class registration database Yes Yes Registry Yes Yes System volume (SYSVOL) Yes No
The OS will back up information about certificate services regardless of domain controller (DC) status.
Q. What is the Microsoft Baseline Security Analyzer (MBSA)?
A. Microsoft has released MBSA, a tool that analyzes a system for information related to
Windows OS version
Microsoft IIS version
Microsoft SQL Server version
Hotfix checks
Password checks
You can use MBSA to run checks against local or remote machines. The tool runs only on Windows .NET Server (Win.NET Server), Windows XP, and Windows 2000-based systems. However, you can use the tool to scan remote computers that run Windows NT 4.0 Service Pack 4 (SP4) or later.
For more information about MBSA, visit the first URL below. To download MBSA, visit the second URL below.
After you download the tool, run the mbsasetup.msi file to install MBSA. You can run the tool in a graphical mode by executing the MBSA shortcut from the Start menu, or you can type
mbsacli.exe
from the command prompt. (Windows doesn't add the MBSA program to the PATH variable by default, so you must either navigate to the %programfiles%microsoft baseline security analyzer folder or add this folder to your PATH statement.)
http://support.microsoft.com/default.aspx?scid=kb;en-us;q320454
http://download.microsoft.com/download/win2000platform/Install/1.0/NT5XP/EN-US/mbsasetup.msi
Q. How can I add Plug and Play (PnP) support for a parallel port in Windows XP and Windows 2000?
A. If your computer isn't detecting legacy devices (e.g., some early Zip drives) connected through the parallel port, you might want to enable PnP support for parallel ports. To enable PnP support, perform the following:
Start the System Control Panel applet (go to Start, Settings, Control Panel, and click System).
Select the Hardware tab.
Click Device Manager.
Expand the Ports (COM & LPT) section.
Right-click the parallel port and select Properties.
Select the Port Settings tab.
Select the "Enable legacy Plug and Play detection" check box, and click OK.
Restart the computer if prompted.
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
GET VALUABLE INFO FOR FREE WITH IT CONSULTANT NEWSLETTER
Sign up today for IT ConsultantWire, a FREE email newsletter from Penton Media. This newsletter is specifically designed for IT consultants, bringing you news, product analysis, project management and business logic trends, industry events, and more. Find out more about this solution-packed resource and sign up for FREE at
http://www.itconsultmag.com
4. CONTACT US
Here's how to reach us with your comments and questions:
ABOUT THE FAQs — [email protected]
ABOUT THE NEWSLETTER IN GENERAL — [email protected]
(please mention the newsletter name in the subject line)
POST TECHNICAL QUESTIONS — http://www.winnetmag.net/forums
PRODUCT NEWS — [email protected]
QUESTIONS ABOUT YOUR WINDOWS XP AND 2000 TIPS & TRICKS UPDATE SUBSCRIPTION?
Customer Support — [email protected]
WANT TO SPONSOR Windows & .NET Magazine 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
Thank you for reading Windows XP and 2000 Tips & Tricks UPDATE.
Copyright 2002, Penton Media, Inc.
About the Author
You May Also Like