Quantcast
Channel: Group Policy forum
Viewing all articles
Browse latest Browse all 19997

Manually edit the GptTmpl.inf File - Settings not visible in GPMC Settings Report

$
0
0

Hi!

I want to modify the GptTmpl.inf File (\[DOMAIN]\SYSVOL\[DOMAIN]\Policies\{[GUID]}\Machine\Microsoft\Windows NT\SecEdit\GptTmpl.inf) in Powershell so I automatically can insert restricted Groups in the policy using a script.

OS: Windows Server 2008 R2 SP1 64bit

This is the edited GptTmpl.inf File:

*************************************************

[Unicode]
Unicode=yes
[Version]
signature="$CHICAGO$"
Revision=1
[Group Membership]
*SID-of-a-group__Memberof = *S-1-5-32-544
*SID-of-a-group__Members =

******************************************************

Now, when I open GPMC and look at the GPO Report (Tab "Settings") of the modified policy, the restricted Group is not listed in the Report.
But when I open the Edit-Panel in GPMC , the restricted group entry is shown.  Im also not shure, if the Setting will be applied correctly.

What's the reason for this behaviour? Do I have to change the Version number in the GPT.INI File?
Or is there another file, which I have to modify?

Thanks a lot for your help!



Viewing all articles
Browse latest Browse all 19997

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>