Simon
Simon

Reputation: 34840

Where do I get Microsoft.GroupPolicy.Management.dll?

Having a look at this code http://msdn.microsoft.com/en-us/library/ee862406%28VS.85%29.aspx

It says "Add the Microsoft.GroupPolicy.Management assembly to your project" but i cant seem to find out where to get Microsoft.GroupPolicy.Management from.

Upvotes: 2

Views: 6237

Answers (2)

MrCalvin
MrCalvin

Reputation: 1825

It's included in Remote Server Administration Tools (RSAT), which you can download here

To extract the package:

expand -F:* "C:\temp\RSAT_WindowsTH-KB2693643-x64.msu" "C:\temp\RSAT"
expand -F:* "C:\temp\RSAT\WindowsTH-KB2693643-x64.cab" "C:\temp\RSAT\cab"

And you find the dll file in C:\temp\RSAT\cab\amd64_microsoft.grouppolicy.management.interop_31bf3856ad364e35_10.0.14393.6611_none_ca6ffd186a7ad433\

Upvotes: 0

Related Questions