Solved

Unable to load AD modules after Windows 10 update ?

Posted on 2016-09-18
4
368 Views
Last Modified: 2016-09-27
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
Comment
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 14

Assisted Solution

by:Schnell Solutions
Schnell Solutions earned 125 total points
ID: 41804083
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
 
LVL 19

Assisted Solution

by:*** Hopeleonie ***
*** Hopeleonie *** earned 125 total points
ID: 41804217
...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
 
LVL 55

Accepted Solution

by:
McKnife earned 250 total points
ID: 41804305
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
 
LVL 8

Author Closing Comment

by:Senior IT System Engineer
ID: 41819081
Thanks !
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

An introduction to the wonderful sport of Scam Baiting.  Learn how to help fight scammers by beating them at their own game. This great pass time helps the world, while providing an endless source of entertainment. Enjoy!
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

695 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