Solved

Unable to load AD modules after Windows 10 update ?

Posted on 2016-09-18
4
148 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
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 54

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 7

Author Closing Comment

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

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

A brief introduction to what I consider to be the best editor for PowerShell.
An article on effective troubleshooting
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…
This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

777 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