-3
A
回答
2
如果您以管理員身份運行,這將可以解決應用程序。
2
您可以使用方法Registry類爲此目的。但是你應該有權限這樣做。你有管理權嗎?此外,通過降低UAC級別
嘗試作爲MSDN說,這可能會導致一些例外
SecurityException
The user does not have the permissions required to create or open the registry key.
UnauthorizedAccessException
The RegistryKey cannot be written to; for example, it was not opened as a
writable key , or the user does not have the necessary access rights.
0
這似乎是UAC問題。請參閱http://msdn.microsoft.com/en-us/library/bb756929.aspx尋求幫助。
0
相關問題
- 1. 使用c#代碼在Windows 7註冊表讀取/寫入
- 2. NSIS:無法寫入註冊表(HKLM \ Software \ ...)在Windows 7
- 3. 在Python中編輯Windows 7註冊表?
- 4. 在Windows 7中創建註冊表項
- 5. VBScript中,寫入註冊表
- 6. 使用Delphi 7在Windows 7上進行註冊表寫入權限
- 7. VB.NET - 寫入到註冊表
- 8. C++寫入註冊表
- 9. 註冊表項在Windows 7 64位
- 10. 在Windows 7上訪問註冊表C#
- 11. 無法寫入註冊表
- 12. 無法寫入註冊表
- 13. 通過JNIWrapper在Windows 7 64位上寫入註冊表 - 性能問題
- 14. 重寫註冊表文件在Windows
- 15. 無法在Windows註冊表中寫入適當的位置
- 16. NSIS寫入註冊表
- 17. Windows 7註冊表%ProgramFiles%問題
- 18. 瞭解Windows 7的註冊表C#
- 19. 將密鑰寫入C#中的Windows註冊表中
- 20. 寫入/讀取Windows註冊表 - Windows服務
- 21. 在Windows 7註冊dll在C#
- 22. Windows註冊表
- 23. 使用JAVA和JNA讀取/寫入Windows註冊表64bit Win 7使用JAVA和JNA讀取/寫入Windows註冊表
- 24. Windows 7 64位dll註冊與Windows 8.1 64位dll註冊
- 25. 註冊表中的RUNASADMIN似乎無法在Windows 7中工作
- 26. InstallSheild沒有寫入註冊表或Windows 8.1中的ProgramData
- 27. 從chrome擴展中寫入Windows註冊表
- 28. Windows XP:在哪裏寫入註冊表從IE?
- 29. 如何在Windows Mobile 5設備上向註冊表寫入值?
- 30. C#寫註冊表
您試圖創建什麼關鍵? – GvS