Solved

Is it possible to use active directory  commands on a client desktop without RSAT?

Posted on 2016-10-10
7
46 Views
Last Modified: 2016-10-12
It I make powershell gui programs for users that query and move users around in active directory does the users computer need to have remote server administration tools installed?
0
Comment
Question by:Roccat
7 Comments
 
LVL 5

Accepted Solution

by:
sAMAccountName earned 250 total points
ID: 41837776
Yes, RSAT ad tools will need to be installed on the clients
0
 
LVL 78

Expert Comment

by:David Johnson, CD, MVP
ID: 41837853
no you only need the powershell modules
0
 
LVL 83

Assisted Solution

by:oBdA
oBdA earned 125 total points
ID: 41837889
No.
You can, for example, use the ADSI provider. Not pretty, and most of the examples you'll find will be VB, but it's definitely possible.
Example to move a user without RSAT:
$TargetOU = [ADSI]"LDAP://ou=NewOU,ou=SomeOU,dc=domain,dc=com"
$TargetOU.MoveHere("LDAP://cn=Some User,ou=SourceOU,ou=SomeOU,dc=domain,dc=com", "cn=Some User")

Open in new window

Moving and Renaming User Accounts
https://technet.microsoft.com/en-us/library/ee198798.aspx

Or you can use RemotePS from the clients to some central administration server that has RSAT installed (not necessarily the DCs themselves).

Or you go the whole nine yards with delegated administration, where the users themselves won't even need AD permissions, just access to the proxy functions (though that's a bit more involved than what you might be planning or needing):
Hey, Scripting Guy! Blog > Use Delegated Administration and Proxy Functions
https://blogs.technet.microsoft.com/heyscriptingguy/2014/04/03/use-delegated-administration-and-proxy-functions/
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 53

Assisted Solution

by:McKnife
McKnife earned 125 total points
ID: 41837971
...or you give up and just install RSAT. RSAT is deployable using start scripts (wusa.exe will install it silently) or wrap it as MSI. As I had the same question some time ago, I hope David will expand on his "no you only need the powershell modules" a little, because that would be useful to know. I investigated a little, back then, but gave up.
Problem with RSAT on Win10: after any major upgrade (like the anniversary update), you will need to reinstall it.
1
 

Author Comment

by:Roccat
ID: 41838141
Hey David.  I have not found any information on how to use the activedirectory module without RSAT unless it was a remote session into a computer with RSAT tools.  

If it try import-module activedirectory i get an error saying the module is not in the module directory.  Is there somewhere I can get this module without RSAT?
0
 
LVL 5

Assisted Solution

by:sAMAccountName
sAMAccountName earned 250 total points
ID: 41838548
Perhaps I should have provided a more thorough answer.

You _can_ use the ADSI provider and you _can_ use just the powershell modules, but installing RSAT is the easiest for clients, considering Windows 10 makes this less than simple.  My initial answer was from a least resistance perspective.

RSAT will include the PS modules you need and installing it in its entirety will likely be much easier than just installing the PS modules for AD.  It will also install other remote administration PS modules you can use in future scripting endeavors.
0
 

Author Closing Comment

by:Roccat
ID: 41840490
Thank you!
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
How to sign a powershell script so you can prevent tampering, and only allow users to run authorised Powershell scripts
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now