Solved

Unable to load AD modules after Windows 10 update ?

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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

A brief introduction to what I consider to be the best editor for PowerShell.
Learn how to PXE Boot both BIOS & UEFI machines with DHCP Policies and Custom Vendor Classes
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

829 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