regsvc umode implementation