Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

February 14, 2001 12:00 AM

The ADSI Edit Utility

Windows IT Pro
InstantDoc ID #19626
Rating: (1)

Somebody told me that a tool in the Microsoft Windows 2000 Resource Kit lets you view and modify the Active Directory (AD) schema. However, I can't find any information about where to find the tool or how to use it. Can you help?

Editing the schema is a potentially dangerous activity—you need to know exactly what you're doing and why you're doing it. Before you begin making schema changes, be sure to back up the current AD database contents and schema (e.g., by using ntbackup.exe or a third-party utility's System State backup option on an up-to-date domain controller—DC).

To view the AD schema, use the Microsoft Management Console (MMC) Active Directory Schema snap-in, which you'll find among Win2K's Support Tools. (You can install these tools from the Win2K CD-ROM's \support folder.) To use this snap-in, you need to manually register the snap-in by selecting Start, Run (or entering a command-prompt session) and typing

regsvr32 schmmgmt.dll

After you do so, you'll receive a message stating that the OS successfully registered the .dll file. You can now load and use the Active Directory Schema snap-in through the MMC utility (i.e., mmc.exe). For example, you can open an MMC session and choose Add/Remove Snap-in from the Console menu, then select Active Directory Schema from the Add Standalone Snap-in dialog box.

To modify the AD schema, you need to use a different utility: the MMC ADSI Edit snap-in. ADSI Edit is essentially a low-level AD editor that lets you view, change, and delete AD objects and object attributes. In terms of usefulness and potential danger, ADSI Edit is to AD what regedit or regedt32 is to the system registry.

To use the ADSI Edit utility to make schema modifications, you need to be a member of the Schema Admins group. (The Schema Admins group is a universal group in native-mode Win2K domains, and it's a global group in mixed-mode Win2K domains.) To use the snap-in, first register the associated adsiedit.dll file. At the command line, type the following instruction:

regsvr32 adsiedit.dll

The ADSI Edit snap-in will be available from the MMC's Console/Add/Remove snap-in menu, as Figure 1, page 140, shows. You can now use the ADSI Edit console to make changes to AD objects and attributes.

Related Content:

ARTICLE TOOLS

Comments
  • Gill
    4 years ago
    Apr 19, 2008

    The title of this article is "ADSI Edit utility" but then goes on to talk about the Schema snap-in, which is a different tool entirely. ???

  • Heather Barker
    9 years ago
    Dec 03, 2003

    Very helpful thanks

  • jdw
    9 years ago
    Nov 07, 2003

    regsrv32 adsiedit.dll should read regsvr32 adsiedit.dll

  • Jürg
    10 years ago
    Dec 04, 2002

    I didn't knew how to integrate a BDC to a W2k AD Domain.
    Thank you for the Tip!

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.