|
-
Oct 15th, 2006, 11:24 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Group Policy Editor
Is it possible to make a program that can change the restrictions using (GPedit.exe).
If there is pls could someone give me some ideas of doing this.
Thanks in advance crhis1990
-
Oct 15th, 2006, 01:27 PM
#2
Re: Group Policy Editor
 Originally Posted by chris1990
Is it possible to make a program that can change the restrictions using (GPedit.exe).
Can you clarify a bit?
-
Oct 16th, 2006, 09:19 AM
#3
Lively Member
Re: Group Policy Editor
I think he means like stopping people accessing folders they shouldnt and such by typing code in VB telling it to open gpedit.exe (the group policy editor for windows) and change permissions.
-
Oct 16th, 2006, 09:21 AM
#4
Thread Starter
Hyperactive Member
Re: Group Policy Editor
I mean can i make a program where i can use tick boxes on my program to control the tick boxes on GPedit.exe, which will then add restrictions to the pc.
Chris1990
-
Oct 16th, 2006, 10:08 AM
#5
Re: Group Policy Editor
Yes, I believe you can script group policy objects. I havent done it but came across it when I was working with them 6 months ago. Try a search on MSDN.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Oct 16th, 2006, 10:14 AM
#6
Re: Group Policy Editor
I actually made a policy editor back in the Win98 days (it would probably need some alterations to work under XP), but, the thing I discovered is that unless I was an admin on the box, my program wouldn't work.
That is something to take into consideration.
-
Oct 16th, 2006, 04:01 PM
#7
Thread Starter
Hyperactive Member
Re: Group Policy Editor
 Originally Posted by RobDog888
Yes, I believe you can script group policy objects. I havent done it but came across it when I was working with them 6 months ago. Try a search on MSDN. 
Couldn't find it on MSDN website,
thanks anyway,
Does any one have any ideas on starting off the code
-
Oct 17th, 2006, 02:33 PM
#8
Hyperactive Member
Re: Group Policy Editor
well, i dont know about the origional idea, but there is a command-line based command to edit policies-
GPRESULT - view group policies
GPUPDATE - update group policies
shelling various arguments to these command might allow you to accomplish what you need.
but i really dont know much about it, just noticed it while browsing, and i rembered your question.
hope it helps.
oh, type "gresult /?" at the command line to get the documentation, same for gpupdate
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|