Hi,
I am trying to deploy a reg file from a vb script, but it is not working. The script works fine when run manually. I created a package pointing to the VB script and depolyed it to a test group. It say the test group machines successfully completed it, but it did not make the registry changes. At first I thought it was because of UAC, but I tried it on a computer that has UAC turned off. Here is the script:
Set network = WScript.CreateObject("WScript.Network")
Set fso = WScript.CreateObject("Scripting.FileSystemObject")
Set WshShell = Wscript.CreateObject("Wscript.Shell")
WshShell.run "regedit /S ""\\sccmservername\Source\Software Deployments\Scripts\Preview Pane\preview.reg""",0,True
WScript.Sleep 500
everyone has read access to this share. Any ideas?
Thanks!