Solved

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

Posted on 2016-10-10
7
64 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 250 total points
ID: 41837776
Yes, RSAT ad tools will need to be installed on the clients
0
 
LVL 80

Expert Comment

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

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 54

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 6

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

A procedure for exporting installed hotfix details of remote computers using powershell
In-place Upgrading Dirsync to Azure AD Connect
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 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 …

828 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