Deploy Script via GPO

I'm trying to push out a registry change via GPO using a script.  I've created a test OU and created a GPO to apply to it to do this.  I've added the script to be applied during Startup in Computer Configuration ->Windows Settings->Startup->Show Files->Paste in Batch file->Then add the file.

I checked gpresults on my test workstation and it says it's being applied, but the registry key is not there.  I don't see any errors in the event viewer.  I can't figure out why it's not working.  Here's what my batch file says:

regedit.exe /s \\SERVERNAME\c$\WINDOWS\SYSVOL\domain\scripts\VSSDisableRestore.reg
rgjutroAsked:
Who is Participating?
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.

sam_gibsonCommented:
While not an exact solution for the problem you've present, here's how I've pushed out some registry updates to computers.  I'm using a batch file, similar to what you've done, but instead of using regedit.exe, I'm using reg.exe.  For example, as part of my "system" to disable removable media, I'm calling the following startup script:

@echo off
reg.exe ADD HKLM\SYSTEM\CurrentContorlSet\Services\USBSTOR /v Start /t REG_DWORD /d 4 /f

Hope that helps.

0
sam_gibsonCommented:
I forgot to say that I'm using the similar setup you are, including the GPO and putting the batch file in the Computer Config->Windows Settings->Scripts->Startup.
0
DonNetwork AdministratorCommented:
Since you are using "Computer Config" is the registry change a HKLM or is it HKCU ?
 
If the latter(HKCU) it wont work....this is a user setting
0
ON-DEMAND: 10 Easy Ways to Lose a Password

Learn about the methods that hackers use to lift real, working credentials from even the most security-savvy employees in this on-demand webinar. We cover the importance of multi-factor authentication and how these solutions can better protect your business!

DonNetwork AdministratorCommented:
Also check if this pertains to what you are trying to achieve  
 
http://support.microsoft.com/kb/888603 
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
rgjutroAuthor Commented:
Registry change is in HKLM
0
DonNetwork AdministratorCommented:
and the hotfix?
0
rgjutroAuthor Commented:
I'll try the hotfix on Friday when I'm back onsite at that client and will update.  Thanks for the help!
0
rgjutroAuthor Commented:
This solved it, thanks!
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
OS Security

From novice to tech pro — start learning today.