Forum Search:
Forum.Brain-Cluster.com: Brain Cluster Technical Forum
Ultimate forum for Technical Discussions

Home » Microsoft » Windows Server » Active Directory » GPO modifications on local computer
GPO modifications on local computer [message #301513] Wed, 28 October 2009 19:59 Go to next message
aegis  is currently offline aegis  United States
Messages: 2
Registered: October 2009
Junior Member
Does one need to use active directory services
to modify policies for a local computer?

I'm doing this via C#.
Re: GPO modifications on local computer [message #301684 is a reply to message #301513] Thu, 29 October 2009 00:49 Go to previous messageGo to next message
florian  is currently offline florian  Switzerland
Messages: 484
Registered: July 2009
Senior Member
Howdie!

aegis wrote:
> Does one need to use active directory services
> to modify policies for a local computer?
>
> I'm doing this via C#.

Let me ask a different question: what is your end-goal? Is it setting a
few policies found in "Administrative Templates"? If so, those settings
are all just registry changes that can be done without touching a GPO.

Cheers,
Florian
Re: GPO modifications on local computer [message #301849 is a reply to message #301513] Thu, 29 October 2009 06:25 Go to previous messageGo to next message
pbbergs  is currently offline pbbergs  United States
Messages: 1024
Registered: July 2009
Senior Member
As Florian pointed out, policy changes are mainly just registry
modifications. So the answer to your question is no.

--
Paul Bergson
MVP - Directory Services
MCTS, MCT, MCSE, MCSA, Security+, BS CSci
2008, 2003, 2000 (Early Achiever), NT4
Microsoft's Thrive IT Pro of the Month - June 2009

http://www.pbbergs.com

Please no e-mails, any questions should be posted in the NewsGroup This
posting is provided "AS IS" with no warranties, and confers no rights.

"aegis" <aegis@mad.scientist.com> wrote in message
news:b5b23404-f2b8-4e93-87d2-db180629e723@l13g2000yqb.googlegroups.com...
> Does one need to use active directory services
> to modify policies for a local computer?
>
> I'm doing this via C#.
Re: GPO modifications on local computer [message #302750 is a reply to message #301513] Thu, 29 October 2009 20:48 Go to previous messageGo to next message
Paul Russell  is currently offline Paul Russell
Messages: 10
Registered: October 2009
Junior Member
You can modify local policy settings but if you are AD managed, and those
will get a) changed by b) higher ranking Domain policy.

Very subjective to which settings/component you are setting.

Can you expand?

--
thanks
..paul

/*++

Paul Russell

--*/

"aegis" <aegis@mad.scientist.com> wrote in message
news:b5b23404-f2b8-4e93-87d2-db180629e723@l13g2000yqb.googlegroups.com...
> Does one need to use active directory services
> to modify policies for a local computer?
>
> I'm doing this via C#.
Re: GPO modifications on local computer [message #303099 is a reply to message #301684] Fri, 30 October 2009 07:41 Go to previous message
aegis  is currently offline aegis  United States
Messages: 2
Registered: October 2009
Junior Member
On Oct 29, 1:49 am, "Florian Frommherz [MVP]"
<flor...@frickelsoft.net> wrote:
> Howdie!
>
> aegis wrote:
> > Does one need to use active directory services
> > to modify policies for a local computer?
>
> > I'm doing this via C#.
>
> Let me ask a different question: what is your end-goal? Is it setting a
> few policies found in "Administrative Templates"? If so, those settings
> are all just registry changes that can be done without touching a GPO.
>
> Cheers,
> Florian

You are correct. I have found where in the registry I need to write a
new value.
Now my problem is tied to using the API by Microsoft for writing to
the registry
and the reliance on "managed" code. Is there a way to write to the
registry
without having to rely on the CLR? Any use of the above mentioned API
forces my application to compile with CLR. How should this be
rectified?
Previous Topic:Need Help in GroupPolicy Settings
Next Topic:Cleaning out CSC folder on my laptop
Goto Forum:
  


Current Time: Fri Jan 19 00:41:17 MST 2018

Total time taken to generate the page: 0.01591 seconds
.:: Contact :: Home ::Sitemap::.

Powered by: FUDforum 3.0.0RC2.
Copyright ©2001-2009 FUDforum Bulletin Board Software