Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Can't import grouppolicy module on a DC, with the GMPC installed

$
0
0

Hi all,

I've got a Windows Server 2008 DC which has the GPMC installed already, but I can't import the grouppolicy module.

import-module : The specified module 'grouppolicy' was not loaded because no valid module file was found in any module
directory.

I've tried removing, restarting and readding the GMPC from the Add Features section of server manager, but no joy.

I tried to copy the module folder from $pshome/modules from another machine, but this didn't work either - I then got told that the assembly can't be found. I then looked in the assemblies folder, and there's a few related to grouppolicy, but not the Micrsoft.GroupPolicy.Management one it's moaning about. I can't copy these from machine to machine either.

If it makes any difference, we have three DCs for this domain, and it's doing the same on both of the virtual ones (the last, physical machine is due to be virtualised soon, so no point in making it work on there). We have two other domains that I've tried to do this one, and they've both worked fine, although they're running 2008 R2 instead...

Thanks for any help!

Joe


Viewing all articles
Browse latest Browse all 21975

Trending Articles