Modify local computer policies via vbs?

C

Chuck

Looking for any leads to sample code that can do this...

I'm finding lots of stuff on modifying registry of target
machines, but nothing on the policy. If I write code to
modify the registry settings that local policy touches, is
this the same as modifying the local policy itself? If
not, will the existing local policy subsequently overwrite
my changes?

We have "remove all access to windows update" enabled in
local policy. We need to disable this via some kind of
script. Also change several other policies from "not
configured" to "enabled" with various settings.

These are WXP sp1 machines that we are trying to get to
talk to software update services, but they are on NT4
domains. So GPO is unfortunately not an option. Thanks
in advance for any tips, Chuck
 
S

stevta [MSFT]

The local policy sets the registry with the setting we desire. A logon
script that set registry setting would act in the same fashion.

Why can't you use a group policy to apply these settings?
What about GPO filtering, using security?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top