• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1004
  • Last Modified:

Unable to load AD modules after Windows 10 update ?

Hi All,

I'm using the bultin Powershell ISE on my Microsoft Windows [Version 10.0.14393] it works well but last week, I got this error:

PS C:\WINDOWS> Import-Module ActiveDirectory
Import-Module : The specified module 'ActiveDirectory' was not loaded because no valid module file was found in any module directory.
At line:1 char:1
+ Import-Module ActiveDirectory
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (ActiveDirectory:String) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand

Open in new window


Note:
PS C:\WINDOWS> $PSVersionTable

Name                           Value                                                                                                 
----                           -----                                                                                                 
PSVersion                      5.1.14393.103                                                                                         
PSEdition                      Desktop                                                                                               
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}                                                                               
BuildVersion                   10.0.14393.103                                                                                        
CLRVersion                     4.0.30319.42000                                                                                       
WSManStackVersion              3.0                                                                                                   
PSRemotingProtocolVersion      2.3                                                                                                   
SerializationVersion           1.1.0.1     

Open in new window


why it is broken all in a sudden ?
0
Senior IT System Engineer
Asked:
Senior IT System Engineer
3 Solutions
 
Schnell SolutionsSystems Infrastructure EngineerCommented:
Did you install the module on your Windows 10 computer?, If not, it consists of the two following steps:

1. Download and install RSAT on your system.
https://www.microsoft.com/en-us/download/details.aspx?id=45520

2. Install the RSAT AD tools from Program Features of Windows 10.
2
 
*** Hopeleonie ***IT ManagerCommented:
...it works well but last week, I got this error...

Do you have Windows 10, Version 1607? Did you install KB3176934 (OS Build 14393.82)? This caused some PowerShell issues. Can you install or do you have KB3176938 (OS Build 14393.105)?

http://catalog.update.microsoft.com/v7/site/Rss.aspx?q=KB3176938
0
 
McKnifeCommented:
Whenever you do upgrade windows 10 to the next major version (as in 10240->1511 or 1511->1607), you need to reinstall RSAT. RSAT holds the powershell modules for AD.
2
 
Senior IT System EngineerIT ProfessionalAuthor Commented:
Thanks !
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now