Thursday, April 19, 2007

XPe tip #29: How to prepare and add Group Policy at build time

We all know how Group Policies are helpful in XPe world. It is not a problem to edit the policies at run time with GPEdit (Group Policy Editor) or directly in registry. But who want to repeat the same procedure many times while deploying images during development time?! So, this needs to be somehow automated.
Also, not to mention that the GPEdit with all the dependencies it requires is quite heavy.

But how to set up the policies you want in TD at image design time?
A few way to accomplish that:

- Mess with the Group Policy INF files and get them into your image updated. This is typically more complicated way because it is often not clear how policies described in the INF. Also, you'd need to bring GP updater tool as well.

- Set up most of the policies you need as registry entries and add them in TD via your own component or TD Extra Registry section.
Here you will find a helpful page (Group Policy Settings Reference) where you can download Excel document with most of the Group Policy listed with corresponding registry entries mentioned.

- My favorite. I have provided this answer in newsgroup a while ago.
Set up policy settings on XP Pro machine or on your own working XPe image that includes GPEdit tool and then save the following folder with all its content:
%systemroot%\system32\GroupPolicy.
This folder contents MACHINE and User specific policies set up. Those are just .POL files. It also contains the shutdown/logon/logoff scripts (only if you didn't change the default location for those in GPEdit).

8 comments:

Anonymous said...

This valuable opinion le levitra Bravo, seems remarkable idea to me is

Anonymous said...

cialis viagra viagra oral jelly guaranteed cheapest viagra viagra 34434 is there a female viagra viagra suppliers cheapest viagra in uk side effects of viagra buy viagra in london england can viagra causes legs to ache 18 takes viagra viagra jokes viagra suppliers in the uk buy viagra in england

Anonymous said...

l'information prГ©cieuse runfr.com cialis generique [url=http://runfr.com]achat cialis[/url]

Anonymous said...

I enjoyed your post,. I have been wondering about this topic,so thanks for posting. I’ll likely be coming back to your blog.
Video AC Milan|Video Sepak Bola|How To Make a Kite|How to make a origami|Tips for lossing weight|How to six pack abs

Anonymous said...

Suitable innumerable years Obtain Viagra Diminish Pharmaceutics has been recognizable all of a add up to outstanding online apothecary suppliers and customers everywhere http://ipod-playlist.com/viagra.html Discount Viagra Pharmacy On-line the world.

Anonymous said...

...please where can I buy a unicorn?

inversiones rentables said...

Thanks for this great work is very useful for all readers, I thank you for allowing me to read this great blog

Ücretsiz Tarot said...

Thanks for this great work is very useful for all readers, I thank you for allowing me to read this great blog