func VerifyPath(configurationPath string) error {
	if !strings.HasPrefix(configurationPath, hkeyPrefix) {
		return fmt.Errorf("invalid path [%s], only registry paths starting with %s are supported", configurationPath, hkeyPrefix)
	}
	return nil
}
VerifyPath performs basic verification on registry paths.
package regutil
import (
	"errors"
	"fmt"
	"path/filepath"
	"strings"
	"golang.org/x/sys/windows/registry"
)
const hkeyPrefix = `HKEY_LOCAL_MACHINE\`
var ErrKeyNotExist = errors.New("regutil: registry key does not exist")
var ErrValueNotExist = errors.New("regutil: registry value does not exist")