Deinck
Deinck

Reputation: 1

Unable to import ActiveDirectory Module

In-place upgrade of Win10 1607 to 1703 and seems to have broke loading ActiveDirectory module.

Get below when attempting to import the module: Microsoft.ActiveDirectory.Management' or one of its dependencies. Access is denied.

Works fine and loads other modules listed in my profile: powershell.exe -ImportSystemModules

Found posts suggesting reinstall old v1607 RSAT snapin, but doesn't fix

https://www.handheldgroup.com/support-rugged-computers/knowledgebase-KB/22996/

Running:
Name                           Value                                                                                                                                  
----                           -----                                                                                                                                  
PSVersion                      5.1.15063.608                                                                                                                          
PSEdition                      Desktop                                                                                                                                
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                                                                
BuildVersion                   10.0.15063.608                                                                                                                         
CLRVersion                     4.0.30319.42000                                                                                                                        
WSManStackVersion              3.0                                                                                                                                    
PSRemotingProtocolVersion      2.3                                                                                                                                    
SerializationVersion           1.1.0.1 

Upvotes: 0

Views: 1045

Answers (1)

briantist
briantist

Reputation: 47872

The ActiveDirectory module comes from the Active Directory RSAT tools.

RSAT is always version specific, so any upgrade of Windows (previously this was going to new major versions, now with Windows 10 it includes the new builds), means you will have to reinstall RSAT tools after the upgrade.

Once you do that you should have the ActiveDirectory module once again.

Upvotes: 1

Related Questions