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