Skip navigation

Windows Tips & Tricks UPDATE--March 8, 2004

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


This Issue Sponsored By

Argent Software
http://www.argent.com/products/download.cgi?product=xxx&Source=WNT

DISKEEPER(R): Maintain system speed automatically!
http://executive.com/diskeeper/dkland.asp?ad=wandnetnl23


Sponsor: Argent Software

Free Download: Monitor Your Entire Infrastructure with ONE Solution
The Argent Guardian monitors servers, applications, any and all SNMP-compliant devices as well as the overall health of the entire network at a fraction of the cost of "framework" solutions. Network Testing Labs states that "The Argent Guardian will cost far less than MOM and yet provide significantly more functionality." Using a patented Agent-Optional architecture, the Argent Guardian is easily installed and monitoring your infrastructure in a matter of hours. Download a fully-functioning copy of the Argent Guardian at:
http://www.argent.com/products/download.cgi?product=xxx&Source=WNT


FAQs

  • Q. How can I stop the My eBooks, My Videos, and My Music subfolders from appearing in the My Documents folder in Windows XP and later?
  • Q. How can I enable user environment debugging in Windows 2000 and later?
  • Q. Can I rename the Microsoft Exchange Server organization?
  • Q. How can I restore the contents of the Default Domain and the Default Domain Controller Group Policy Objects (GPOs)?
  • Q. What are the Windows Server 2003 domain modes?

Commentary
by John Savill, FAQ Editor, [email protected]

This week, I explain how to stop certain subfolders from automatically appearing in the My Documents folder in Windows XP and later, how to enable user environment debugging in Windows 2000 and later, and what you need to know about renaming the Microsoft Exchange Server organization. I also tell you how to restore the contents of the Default Domain and the Default Domain Controller Group Policy Objects (GPOs) and describe the Windows Server 2003 domain modes.


Sponsor: DISKEEPER(R): Maintain system speed automatically!

FREE DOWNLOAD! Fragmentation is choking speed and decimates reliability on your servers and workstations. Manual defragmenters are too slow and labor-intensive to handle the problem. New DISKEEPER 8.0 is the automatic defragmenter that runs in the background, eliminating fragmentation while you use your systems. With dedicated versions for workstations and servers, plus an Administrator Edition for remote installations, scheduling, reports and alerts, DISKEEPER is designed expressly to maximize speed on every machine across your network. Try it FREE for 30 days – click the link below!
http://executive.com/diskeeper/dkland.asp?ad=wandnetnl23


FAQs

Q. How can I stop the My eBooks, My Videos, and My Music subfolders from appearing in the My Documents folder in Windows XP and later?

A. Each new version of Windows seems to add a new set of subfolders to the My Documents folder. If you delete these subfolders, Windows will automatically recreate them the next time you log on. To stop Windows from creating these subfolders every time, perform the following steps:

  1. From the Start menu, select Run, enter the command
    regsvr32 /u mydocs.dll 
    to unregister the .dll file, then click OK.
  2. Navigate to My Documents, then delete the automatically created folders that you no longer want to appear.

The steps above disable the My Documents functions, so if your system is missing some functionality, you'll need to reregister mydocs.dll. If you want to reregister the .dll file, perform the above steps again but use the command

regsvr32 mydocs.dll

Q. How can I enable user environment debugging in Windows 2000 and later?

A. To debug the user environment settings, you can create a log file (i.e., \%systemroot%\debug\usermode\userenv.log) with different levels of information concerning your log on, log off, and other user environment activity. This log file can help you debug problems related to policy application and profile application and saving. For example, I recently used userenv.log to help ascertain why client machines weren't copying user profiles to the roaming profile location--I was able to determine that the user registry hive was locked and couldn't be copied.

To set the logging level associated with the userenv.log file, perform the following steps:

  1. Start a registry editor (e.g., regedit.exe).
  2. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon registry subkey.
  3. From the Edit menu, select New, DWORD Value.
  4. Enter the name UserEnvDebugLevel, then press Enter.
  5. Double-click the new value, set it to one of the values listed in the table below, then click OK.
    Registry Entry          Value
    =========

    === No logging 00000000 Normal logging 00000001 Verbose logging 00000002 Output to logfile 00010000 Debugger output 00020000
  6. Restart the computer for the changes to take effect.

You can combine the values from the table in Step 5 (e.g., for verbose output to logfile, use value 00010002).

Q. Can I rename the Microsoft Exchange Server organization?

A. Even with Exchange Server 2003 in native mode, you still can't rename the Exchange organization. To rename the organization, you would need to totally uninstall Exchange, clean up the server, and reinstall Exchange with the new organization name. You'd also need to export your mail items to personal folder store (PST) files, then use the exmerge.exe tool to re-import the mail items. Finally, you'd have to address problems with recipients who try to reply to existing messages because the X.500 address would have changed (as a result of the new organization name) unless you populate the users in Active Directory (AD) with the original X.500 address.

Q. How can I restore the contents of the Default Domain and the Default Domain Controller Group Policy Objects (GPOs)?

A. Best practice stipulates that you shouldn't modify the Default Domain and the Default Domain Controller GPOs. Instead, you should create new GPOs and link them to the relevant containers. However, if you've already modified the GPO and want to restore the default content, perform the following steps:

  1. Log on as a domain administrator to a DC.
  2. Start a command session.
  3. To reset the Default Domain GPO, type
    dcgpofix /target:Domain
    To reset the Default DC GPO, type
    dcgpofix /target:DC
    To reset both the Default Domain and the Default Domain Controller GPOs, type
    dcgpofix /target:both
  4. After you enter the appropriate command in Step 3, enter Y to both prompts.
  5. Close the command window.

For example, when I type

dcgpofix /target:both

my computer returns the following output:

  Microsoft(R) Windows(R) Operating System Default Group Policy Restore
  Utility v5.1

  Copyright (C) Microsoft Corporation. 1981-2003

  Description: Recreates the Default Group Policy Objects (GPOs) for a
  domain

  Syntax: DcGPOFix \[/ignoreschema\] \[/Target: Domain | DC | BOTH\]

  This utility can restore either or both the Default Domain policy or
  the Default Domain Controller policy to the state that exists
  immediately after a clean install. You must be a domain administrator
  to perform this operation.

  WARNING: YOU WILL LOSE ANY CHANGES YOU HAVE MADE TO THESE GPOs. THIS
  UTILITY IS INTENDED ONLY FOR DISASTER RECOVERY PURPOSES.

  You are about to restore Default Domain policy and Default Domain
  Controller policy for the following domain
  
  savilltech.com
  
  Do you want to continue: ? Y

  WARNING: This operation will replace all 'User Rights Assignments'
  made in the chosen GPOs. This may render some server applications to
  fail. 

  Do you want to continue: ? Y

  The Default Domain Policy was restored successfully.

  Note: Only the contents of the Default Domain policy was restored.
  Group Policy links to this Group Policy Object were not altered.
  By default, the Default Domain policy is linked to the Domain.

  The Default Domain Controller policy was restored successfully.

  Note: Only the contents of the Default Domain Controller policy was
  restored. Group Policy links to this Group Policy Object were not
  altered.

  By default, the Default Domain Controller policy is linked to the
  Domain Controllers OU.

Q. What are the Windows Server 2003 domain modes?

A. Windows 2000 offers two domain modes: mixed and native. Windows 2003 expands on these modes so that you can access features available only in the new OS. The domain modes available in Windows 2003 are

  • Windows 2000 Mixed--In this default mode, a domain can have Windows NT 4.0 and later domain controllers (DCs).
  • Windows 2000 Native--In this mode, a domain can support only Win2K and later DCs. This mode provides additional functionality, including nesting groups, universal groups, and support for SID history and group conversions. You must manually switch modes to upgrade to Windows 2000 Native mode.
  • Windows 2003 Interim--In this mode, a domain can support only Windows 2003 and NT 4.0 DCs. This mode doesn't add any extra functionality. You set this mode when you use Dcpromo during an NT 4.0 PDC upgrade.
  • Windows 2003--In this mode, a domain can support only Windows 2003 DCs. This mode has additional functionality over Windows 2000 Native mode, including the ability to rename DCs, add a password on InetOrgPerson objects, redirect the default Users and Computers container, and maintain a last logon timestamp attribute. You must manually switch modes to upgrade to Windows 2003 mode.

Hot Release (Advertisement): Free White Paper from Aelita Software!

Deploying Exchange 2003? Get a Free white paper on how to select a secure Active Directory design. This free white paper: "Best Practices for Designing a Secure Active Directory" will show you how you can design your Active Directory and Exchange to maximize security.
http://ad.doubleclick.net/clk;7348302;7402808;h?http://www.aelita.com/030104WNMWPC

Announcements
(from Windows &amp .NET Magazine and its partners)

  • Windows Scripting Solutions for the Systems Administrator

  • You might not be a programmer, but that doesn't mean you can't easily learn to create and deploy timesaving, problem-solving scripts. Discover Windows Scripting Solutions, the monthly print publication that helps you tackle common problems and automate everyday tasks with simple tools, tricks, and scripts. Try a sample issue today!
    http://www.winscriptingsolutions.com/rd.cfm?code=fsep264xup

  • Attend Microsoft Tech·Ed 2004

  • Tech·Ed 2004 -- May 23-28, 2004 in San Diego, CA -- the definitive Microsoft conference for building, deploying, securing and managing connected solutions. You’ll find specific IT tracks on Architecture, Security, Operations and more. Plus, meet tech gurus, preview products, and network with experts and peers. Register Now.
    http://clk.atdmt.com/DDB/go/wndwiit400100055ddb/direct/01/

  • Free Web Seminar--Streamline User Provisioning and Password Management

  • Analysts estimate that it costs as much as $50 every time a user calls the Help desk with a password-related problem. In this Web seminar, you’ll discover the tangible benefits of automating provisioning and centralizing password management as well as how to reduce support costs and security breaches by leveraging Windows Server 2003 technology. Register today!
    http://www.winnetmag.com/seminars/passwordmanagement

    Events Central
    (A complete Web and live events directory brought to you by Windows & .NET Magazine: http://www.winnetmag.com/events )

  • New--Microsoft Security Strategies Roadshow!

  • We've teamed with Microsoft, Avanade, and Network Associates to bring you a full day of training to help you get your organization secure and keep it secure. You'll learn how to implement a patch-management strategy; lock down servers, workstations, and network infrastructure; and implement security policy management. Register now for this free, 20-city tour.
    http://www.winnetmag.com/roadshows/computersecurity2004

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

    This weekly email newsletter is brought to you by Windows &amp .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