open subkey with sufficient rights in RegDeleteTree
Modified: trunk/reactos/lib/advapi32/reg/reg.c
--- trunk/reactos/lib/advapi32/reg/reg.c 2005-08-25 12:25:11 UTC (rev 17535) +++ trunk/reactos/lib/advapi32/reg/reg.c 2005-08-25 12:27:25 UTC (rev 17536) @@ -938,7 +938,7 @@
NULL); Status = NtOpenKey(&SubKeyHandle,
- KEY_READ,
+ DELETE | KEY_ENUMERATE_SUB_KEYS | KEY_QUERY_VALUE,
&ObjectAttributes); if (!NT_SUCCESS(Status)) {