{"id":73,"date":"2010-06-01T04:06:47","date_gmt":"2010-06-01T04:06:47","guid":{"rendered":"http:\/\/www.itcrumbs.com\/?p=73"},"modified":"2019-02-07T04:40:47","modified_gmt":"2019-02-07T04:40:47","slug":"group-policy-preferences-colorful-and-mysteriously-powerful-just-like-windows-7","status":"publish","type":"post","link":"https:\/\/www.itcrumbs.com\/?p=73","title":{"rendered":"Group Policy Preferences : Colorful and Mysteriously Powerful, just like Windows 7"},"content":{"rendered":"<p><a title=\"http:\/\/blogs.technet.com\/b\/grouppolicy\/archive\/2009\/11\/02\/group-policy-preferences-colorful-and-mysteriously-powerful-just-like-windows-7.aspx\" href=\"http:\/\/blogs.technet.com\/b\/grouppolicy\/archive\/2009\/11\/02\/group-policy-preferences-colorful-and-mysteriously-powerful-just-like-windows-7.aspx\">http:\/\/blogs.technet.com\/b\/grouppolicy\/archive\/2009\/11\/02\/group-policy-preferences-colorful-and-mysteriously-powerful-just-like-windows-7.aspx<\/a><\/p>\n<p>How could something like CRUD be desirable? In Group Policy world, even the impossible becomes possible. In this entry, you\u2019ll discover why Red does not mean Error and what the different colors mean when you make a Preference item. Read on!<\/p>\n<p>Let\u2019s talk about some of the intricacies of Preferences, specifically what we fondly refer to as CRUD options. Now, keep in mind, CRUD only applies to \u201cstuff\u201d, meaning things you can create and delete on the client, like <a href=\"http:\/\/blogs.technet.com\/grouppolicy\/archive\/2009\/02\/11\/gp-preferences-will-reduce-logon-scripts-mapping-drives.aspx\">mapped drives<\/a> and <a href=\"http:\/\/www.windowsnetworking.com\/articles_tutorials\/Group-Policy-Preferences-Understanding-Implementing-Item-Level-Targeting.html\">shortcuts<\/a> and <a href=\"http:\/\/blogs.technet.com\/grouppolicy\/archive\/2009\/06\/24\/gp-preferences-set-a-default-printer.aspx\">printers<\/a>. There are no CRUD options for things you just make changes to but don\u2019t create, like \u201cfolder options\u201d. More on this at the end. <\/p>\n<p>Despite it\u2019s unfortunate acronym, CRUD is very useful. It is also the reason those little spots of color get associated with you new Preference items. Select one of the four actions from the drop down menu to choose between Create, Replace, Update, and Delete. That decides how your Preference item will be pushed onto the client. Let\u2019s take drive mappings as an example. <\/p>\n<p><a href=\"file:\/\/\/d:\/Users\/liliag\/AppData\/Local\/Temp\/WindowsLiveWriter-429641856\/supfiles415A325D\/image33.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/farm3.static.flickr.com\/2566\/4050521061_5dddb3e073_o.png\" width=\"354\" height=\"116\" \/><\/a><\/p>\n<p>This is the Preference item<\/p>\n<blockquote>\n<p>(in UI)&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; (in XML)<\/p>\n<\/blockquote>\n<p><a href=\"file:\/\/\/d:\/Users\/liliag\/AppData\/Local\/Temp\/WindowsLiveWriter-429641856\/supfiles415A325D\/image32.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/farm3.static.flickr.com\/2506\/4069688422_f39b44231e_o.png\" width=\"354\" height=\"225\" \/><\/a> <a href=\"file:\/\/\/d:\/Users\/liliag\/AppData\/Local\/Temp\/WindowsLiveWriter-429641856\/supfiles415A325D\/image50.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/farm3.static.flickr.com\/2660\/4051264770_290b4305ab_o.png\" width=\"568\" height=\"170\" \/><\/a><\/p>\n<p>Now, under the \u201cAction\u201d drop down, you have four options :<strong>&#160; C<\/strong>reate, <strong>R<\/strong>eplace, <strong>U<\/strong>pdate, <strong>D<\/strong>elete<\/p>\n<p>Create \u2013 If a drive mapping doesn\u2019t exist for this user for the share \u201c\\\\share\\userDocuments\\\u201d,&#160; then create one. If there already is one, don\u2019t do anything! It\u2019s a kind, gentle sort of policy, it won\u2019t overwrite anything you already have, so it has a Green icon associated in the UI.<a href=\"file:\/\/\/d:\/Users\/liliag\/AppData\/Local\/Temp\/WindowsLiveWriter-429641856\/supfiles415A325D\/image53.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" border=\"0\" alt=\"image\" align=\"right\" src=\"http:\/\/farm4.static.flickr.com\/3523\/4051264812_16456da41d_o.png\" width=\"472\" height=\"190\" \/><\/a><\/p>\n<p>Replace \u2013 Remove whatever drive mapping exists for this share, and create a new one with these settings. If there isn\u2019t one, just create it. No matter what, you\u2019re getting this drive mapping, whether something existed there or not. It\u2019s very insistent, like the bully of the CRUD options, so it gets a Red icon.&#160; <\/p>\n<p>Update \u2013 Yellow \u2013 If that drive mapping exists, it will be updated with the settings specified here. If there are other settings associated with the drive mapping that aren\u2019t specified here, they will be maintained. If no drive mapping exists for this share, create it. Nothing gets blasted away like with the Replace setting, but there is still a chance that you\u2019ll overwrite something, so it gets a Yellow icon (warning! make sure you know what you\u2019re going to be over-writing!). <\/p>\n<p>Delete \u2013 X mark \u2013 If that drive mapping exists, it will be removed. That\u2019s it, it\u2019s just removed, so it gets an \u2018x\u2019 icon. It does not roll back, it gets deleted. <\/p>\n<p>What did we learn? Red does not mean error! X marks the (delete) spot. Another picky note is that if you choose the \u201cremove when no longer applicable\u201d option under the common tab, it\u2019ll force the CRUD action to Replace. <\/p>\n<p>So, really, I\u2019d recommend reading the help associated with each Preference item to make sure you know what you\u2019re doing.&#160; <\/p>\n<p>Hope that helps!<\/p>\n<p>liliaG aka @superlilia<\/p>\n<p>P.S. The end! Here\u2019s more on my stuff vs. state discussion. <em>Stuff <\/em>means something that can be created or deleted on the client machine \/ user account. Think of at is as something you can see appear. It has a new icon that becomes associated with it: when you add a new printer, an icon appears that looks like that printer in your Devices window. When you add a shortcut to the desktop, that shortcut appears. Similarly, when you remove a local security group, it is gone, the icon is removed, the group no longer exists. That doesn\u2019t mean that not all local security groups are gone, just that instance of one.&#160; <\/p>\n<p><em>State<\/em> is a state of being, like folder options. You can\u2019t \u201ccreate\u201d a folder options, but you can make changes like \u201cShow all hidden files\u201d. <\/p>\n<p>GP Preferences has both of these types of things, but CRUD only applies to the <em>stuff<\/em> bits. You can\u2019t configure CRUD for <em>state<\/em>, and the UI isn\u2019t there to let you try. <\/p>\n<p>P.P.S. Here\u2019s the help in the product:<\/p>\n<p><a href=\"file:\/\/\/d:\/Users\/liliag\/AppData\/Local\/Temp\/WindowsLiveWriter-429641856\/supfiles415A325D\/image42.png\"><img loading=\"lazy\" decoding=\"async\" title=\"image\" border=\"0\" alt=\"image\" src=\"http:\/\/farm3.static.flickr.com\/2686\/4050520965_14fe5f937f_o.png\" width=\"504\" height=\"357\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/blogs.technet.com\/b\/grouppolicy\/archive\/2009\/11\/02\/group-policy-preferences-colorful-and-mysteriously-powerful-just-like-windows-7.aspx How could something like CRUD be desirable? In Group Policy world, even the impossible becomes possible. In this entry, you\u2019ll discover why Red does not mean Error and what the different colors mean when you make a Preference item. Read on! Let\u2019s talk about some of the intricacies of Preferences, specifically what we fondly [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-73","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/73","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=73"}],"version-history":[{"count":1,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions"}],"predecessor-version":[{"id":826,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/73\/revisions\/826"}],"wp:attachment":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=73"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=73"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=73"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}