RegistrySecurity Access is denied. C#

前端 未结 5 1101
说谎
说谎 2021-01-18 11:49

I\'m currently having an issue when writing an app to set permissions on some Legacy keys. Legacy keys are quite locked down and to actually modify them in regedit you have

5条回答
  •  灰色年华
    2021-01-18 12:35

    Microsoft Visual Studio 2015 (Administrator)

    _subKey = SOFTWARE\Wow6432Node\Norton

    rkey.SetAccessControl(_registrySecurity);->"Attempted to perform an unauthorized operation."`

提交回复
热议问题