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
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.

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.

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.
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
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.

DonNetwork AdministratorCommented:
Also check if this pertains to what you are trying to achieve 

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
DonNetwork AdministratorCommented:
and the hotfix?
rgjutroAuthor Commented:
I'll try the hotfix on Friday when I'm back onsite at that client and will update.  Thanks for the help!
rgjutroAuthor Commented:
This solved it, thanks!
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.