Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,152 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,117 people online right now. Registration is fast and FREE... Join Now!




How to create gpedit's tools in Windows Server 2003 ?

 
Reply to this topicStart new topic

How to create gpedit's tools in Windows Server 2003 ?

jazzsinbad
27 Dec, 2007 - 12:16 AM
Post #1

New D.I.C Head
*

Joined: 27 Dec, 2007
Posts: 2

Hi, experts, i'm using Windows Server 2003 x32 SP1. I want to develop own gpedit's tools to edit only few of it, it is too many thing in the given gpedit, but i have no idea about the code of gpedit.msc, and it is related to registry, so is it possible to create own gpedit's tools ?

Thanks...
User is offlineProfile CardPM
+Quote Post

lockdown
RE: How To Create Gpedit's Tools In Windows Server 2003 ?
27 Dec, 2007 - 07:06 AM
Post #2

D.I.C Regular
Group Icon

Joined: 29 Sep, 2007
Posts: 376



Thanked: 1 times
Expert In: PC, Support

My Contributions
Well based on what your trying to do it really would be more work to create what you want in a application. GPedit is really just a front end application that modify group policy at AD (Active Director) level and or Local Machine level. The back end of the application is all command based and just automates the process of having to enter in all the information to do what you want.

It would be possible to slime down GPedit by making your own version of it but you would need to have a strong understanding of Active Directory and programming applications for it. You will more then likely be working with a couple MS API for Win 2k3 and AD. Also remember group policy can be altered via the command line but particular actions must interface directly with AD. What languages do you currently program with/ can write applications with?

This post has been edited by lockdown: 27 Dec, 2007 - 07:14 AM
User is offlineProfile CardPM
+Quote Post

jazzsinbad
RE: How To Create Gpedit's Tools In Windows Server 2003 ?
27 Dec, 2007 - 07:33 PM
Post #3

New D.I.C Head
*

Joined: 27 Dec, 2007
Posts: 2

QUOTE(lockdown @ 27 Dec, 2007 - 08:06 AM) *

Well based on what your trying to do it really would be more work to create what you want in a application. GPedit is really just a front end application that modify group policy at AD (Active Director) level and or Local Machine level. The back end of the application is all command based and just automates the process of having to enter in all the information to do what you want.

It would be possible to slime down GPedit by making your own version of it but you would need to have a strong understanding of Active Directory and programming applications for it. You will more then likely be working with a couple MS API for Win 2k3 and AD. Also remember group policy can be altered via the command line but particular actions must interface directly with AD. What languages do you currently program with/ can write applications with?






Thanks, but i think create a new tools are difficuit for my level now, so is it possible to edit the original gpedit's tools? i just want to delete the less that not needed in root tree, i test the gpedit.msc already, but no idea... it's seem like php, but as i know it is C/C++ for API with Active Directory and MMC.
User is offlineProfile CardPM
+Quote Post

lockdown
RE: How To Create Gpedit's Tools In Windows Server 2003 ?
28 Dec, 2007 - 06:15 AM
Post #4

D.I.C Regular
Group Icon

Joined: 29 Sep, 2007
Posts: 376



Thanked: 1 times
Expert In: PC, Support

My Contributions
GPedit is a Microsoft created application and is not open source nor was the code ever release publicly. So with out the code you can modify gpedit directly and even if you some how got the code it would be illegal to modify it without Microsoft permission. Some people have reverse engineered gpedit I believe but that is also illegal and time consuming.

The only way around this is to create a C/C++ application with the API for activity directly and like you said also the MMC (Microsoft Management Console) to get what you would like. Also gpedit was created in either C/C++ or VB I believe but I am not sure exactly which one. But a C++ application could be built to do what you would like it just will take some time to create the app and get the API's all working correctly.

This post has been edited by lockdown: 28 Dec, 2007 - 06:18 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 11:10PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month