diff --git a/reactos/ntoskrnl/config/cminit.c b/reactos/ntoskrnl/config/cminit.c index e0fc312454a..9efde0fe054 100644 --- a/reactos/ntoskrnl/config/cminit.c +++ b/reactos/ntoskrnl/config/cminit.c @@ -334,7 +334,7 @@ CmpOpenHiveFiles(IN PCUNICODE_STRING BaseName, /* Now create the file */ Status = ZwCreateFile(Primary, - DesiredAccess, + DesiredAccess | SYNCHRONIZE, &ObjectAttributes, &IoStatusBlock, NULL,