How to run LDP and DS (Directory Services) Family tools without installing RSAT Package


WaheGuru G Ka Khalsa, WaheGuru G Ki Fateh

Intended Audience & Prerequisite Knowledge:

Intended Audience: This Post is for Audience:

  • Who want to run LDP and DS Tools (like  DSquery, DSadd, DSmod, DSmove, DSget, DSrm) without installing RSAT tools
  • Windows Admins | Enthusiast Admins

Prerequisite Knowledge:

  • ADDS – Active Directory Directory Services – Strong Basics

 

In this Post, we highlight a way to run the common ADDS tools such LDP.exe and DS Family of tools such as DSadd.exe | DSquery.exe (which are only available once we have RSAT Tools [with starting of Windows 6.x releases]) without installing RSAT Tools, and run them like Portable tools.

In order to run these Tools, we need to copy these Tools images (Binary EXE files) from an existing System (with same architecture) and paste those EXE files under %SystemRoot%\System32. We also need to copy the associated Language files (MUI) of these binary files under %SystemRoot%\System32\en-US (where is en-US is your System Locale). For your Convenience, you can download LDP  and DS Tools from the URLs shown below. We provide both 32 and 64 Bit images and their associated Language files in discrete 7z archive files (extractable using 7z/Winrar).

Note: Now if you are trying to run 32Bit images on a 64Bit System (provided WOW64 is working), then you need to copy the 32Bit Images under %SystemRoot%\SysWow64 and their associated Language files (MUI) under %SystemRoot%\SysWow64\en-US
ADTools-CopiedFiles

ADTools-CopiedFiles

The Language files dependency of these Binary Images was discovered using Sysinternal’s Procmon, as shown below:

 

ADTools-Procmon-UnSatisfiedLanguageFileDependency

ADTools-Procmon-UnSatisfiedLanguageFileDependency

Now if we try to run LDP without copying its associated Language MUI file, them we will get caution prompt stating “Unable to create new document”, as shown below & LPD won’t work.

ADTools-WithoutLanguageFiles

ADTools-WithoutLanguageFiles

And if we try to run DS Tools without copying their associated Language MUI files, then DS tools won’t show any output when executed. So, we need to their associated Language MUI files prior to executing them.

 

Hope this helps and Cheers :) | Your feedback is highly appreciated.

WaheGuru G Ka Khalsa, WaheGuru G Ki Fateh

 

 

 

Copyright © 2014

For copyright purposes, VirtualizationMaximus.com is not in the public domain. The fact that this blog owner publishes an RSS feed does not grant any rights for republication or re-use of the material except in the manner described below.

All content in this blog created by the blog owner and his guest authors is the property of the blog owner and his guest authors and protected by international copyright laws and cannot be stored on any retrieval system, reproduced, reposted, displayed, modified or transmitted in any form, electronic or otherwise without written permission of the copyright owner except as noted below.

A brief excerpt of content that does not exceed 128 words or 512 characters may be quoted as long as a link is provided back to the source page on this blog and authorship is properly attributed.

About Harmandeep

Excellence ... Obsession ... Perfection ... Addiction ...

Posted on September 15, 2014, in Active Directory and tagged , , , , , , , , , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: