Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2016-10-10
7
Medium Priority
?
91 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 6

Accepted Solution

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

Expert Comment

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

Assisted Solution

by:oBdA
oBdA earned 500 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
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 57

Assisted Solution

by:McKnife
McKnife earned 500 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 6

Assisted Solution

by:sAMAccountName
sAMAccountName earned 1000 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

Lessons on Wi-Fi & Recommendations on KRACK

Simplicity and security can be a difficult  balance for any business to tackle. Join us on December 6th for a look at your company's biggest security gap. We will also address the most recent attack, "KRACK" and provide recommendations on how to secure your Wi-Fi network today!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Compliance and data security require steps be taken to prevent unauthorized users from copying data.  Here's one method to prevent data theft via USB drives (and writable optical media).
Transferring FSMO roles is done when an admin wants to split roles between certain Domain Controllers or the Domain Controller holding the Roles has been forcefully demoted using dcpromo / forceremoval
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

824 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