I found this issue recently–at first I thought it was just my environment, but have confirmed it on a couple of different environments. When you are on a Win 7 box (and probably R2 as well), in GPMC and viewing the setttings of a GPO that had previously been created and contains software restriction policies, you will get an error when GPMC tries to display those SRP settings. Specifically, the error looks like this:
Software Restriction Policies Software Restriction Policies/Security Levels Software Restriction Policies/Additional Rules |
The following errors apply to all of the above settings: |
An unknown error occurred while data was gathered for this extension. Details: Unable to cast object of type ‘System.String[]’ to type ‘Microsoft.GroupPolicy.Reporting.Extensions.Registry.UnknownType’. |
From the looks of it, it appears to be a bug in the way the Win 7 GPMC object model is parsing these settings. I’ve reported it to MS but wanted to let everyone know about it so you don’t think you’re going crazy. Not surprisingly, if I open the GP Editor on this GPO, all of the SRP settings appear fine. This is only an issue with the GPMC reporting of settings.
Tags
Group Policy, Windows 7, Software Restriction Policies
A hotfix has just been released for this issue.
http://support.microsoft.com/kb/981750
Good stuff Ryan! Thanks!
Thanks! I had started to rebuild a few policies with this problem and decided to Google it. Since is was a micrsoft error….
The hotfix is only for x86. Anybody find a fix for x64?