2011-12-07 2 views
-3

누가 나에게 말해 줄래? Windows 7에서 새 레지스트리 키를 만드는 방법. 내가이 메시지를 "액세스가 거부되었습니다"라고 시도했습니다.윈도우 7에서 작성 레지스트리

감사 아프신

+0

어떤 키를 만들려고합니까? – GvS

답변

2

이 해결 될 관리자로 응용 프로그램을 실행합니다.

2

CreateSubKey 메서드는 Registry 클래스를 사용할 수 있습니다. 그러나 이렇게하려면 권한이 있어야합니다. 관리자 권한이 있습니까? MSDN은 UAC 문제가 될 것으로 보인다 몇 가지 예외

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. 
관련 문제