XP Local Group Policy Registry Changes

I have many Windows XP SP2 PCs with a local group policy setting which makes it so that users are not able to Add Printers.  I wrote a script (attached) that changes the registry on a given PC so that users will now be able to add printers.  However, when I go into gpedit.msc the the NoAddPrinter value still shows enabled.  How can I make local group policy match the updated registry?
Windows Registry Editor Version 5.00
 
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoAddPrinter"=dword:00000000
 
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer]
"NoAddPrinter"=dword:00000000

Open in new window

zabacAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sliiconmanCommented:
Can you just use GPO and change the registry in there? Is there a reason you need to script it?
0
dfxdeimosCommented:
Well, what you attached isn't a script, just some registry values.

Also, a registry change wouldn't change the policy that you see in the local policy editor. Why don't you just edit the value in the Local Security Policy (gpedit.msc)?

If you have a domain why don't you apply them at the domain level?
0
zabacAuthor Commented:
I need to change the local group policy for many PCs.  I can't go to each PC and make the changes.
0
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

sliiconmanCommented:
Right like dfxdeimos and I are getting at is the reason you cannot add this to Domain Policy . Are these shared PCs? I would add them to a computer group and make the registry change there and apply them to to the computer group that those machines are a member of. Make sure you check Apply Group Policy for the computers group inside the policy. Should be golden...
0
dfxdeimosCommented:
Do you have a domain?
0
dfxdeimosCommented:
Yes, like sliiconman said, if you have a domain it should be done at the domain level.
0
sliiconmanCommented:
uhh not sure how I missed that question! Domain would be key for the centralized solution.
0
zabacAuthor Commented:
I work at an company that has a domain and simply refuses to use domain group policy.  They have applied several local group policies (stupid!!) but this my situation.  Help !!!
0
zabacAuthor Commented:
Can you script local group policy changes?  If so, how?
0
dfxdeimosCommented:
That is the purpose of a domain, whoever the admin is who doesn't want to apply policies via the domain DOES NOT KNOW WHAT THEY ARE DOING. Tell them that this needs to be applied at the domain level to be effective. If they won't apply it at the domain level then you have two options.

1) Go to each workstation and change the options manually.

2) Keep doing what you are doing.

Again, push them to implement this at the domain level, not doing so mean the admin doesn't really know what they are doing.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sliiconmanCommented:
ouch not even an assist..im getting killed today ;)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows XP

From novice to tech pro — start learning today.