can not query values from windows registry

后端 未结 1 494
时光取名叫无心
时光取名叫无心 2021-01-17 02:09

I writing program for the Windows registry and trying to query values from it, but even if I running my own program with the permissions of Administrator, I can not read all

1条回答
  •  夕颜
    夕颜 (楼主)
    2021-01-17 03:06

    You are asking for too much access. You are asking for KEY_ALL_ACCESS when all you actually need is KEY_READ. You do not have all-access permission, but you do have read permission.

    0 讨论(0)
提交回复
热议问题