'Startup VB script to modify registry with .reg file
on error resume next
Dim WshShell, RegValue
Set WshShell = CreateObject("WScript.Shell")
RegValue = WshShell.RegRead("HKLM\Software\Microsoft\Windows\CurrentVersion\MyKey\MySubKey")
If (RegValue = "") Then 
   WshShell.Run "regedit /s \\Share\MyFile.reg", 1, True
End If