starland

[WINDOW_7] Win7 에서 hosts 파일 편집하기 (/etc/hosts 수정하기) 본문

WINDOW관련

[WINDOW_7] Win7 에서 hosts 파일 편집하기 (/etc/hosts 수정하기)

starland 2009. 10. 21. 15:39
반응형


참고로) xp 혹은 2003 혹은 그이하버전에서는

           시작 -> 실행 (window 키 + r )-> drivers 입력 엔터 치면

           C:\Windows\System32\drivers에 접근이 되고, etc 폴더를 선택해 들어가면

           그 안에 hosts 파일이 있어 그 파일을 편집하면 되지만,



window7에서 C:\Windows\System32\Drivers\etc\hosts 편집을 하려면 꽤 귀찮게 해야 하네요.

 

보안강화때문인지.ㅡㅡ;;

 

결론은 메모장을 관리자 권한으로 수행하여 hosts 파일을 열어 수정해야 한다는 겁니다..

 

 

 

모든 실행이 관리자 모드로 실행될 줄 알았는데, 일반 텍스트 파일을 실행할때,

즉 응용프로그램 자체 실행이 아닌 파일 실행은 아래 그림처럼 관리자 권한으로 수행이 활성화 되지 않습니다.

 

 

때문에 메모장 프로그램 자체를 관리자 권한으로 수행후 파일을 변경하셔야 됩니다.^^

 

 

 

참고문서

---------------------------------------------------------------------------

네이버에선 안나오고 구글에서 테크넷에 등록된 글이 검색되네요.

http://social.technet.microsoft.com/Forums/en-US/w7itpronetworking/thread/cfe4ba80-fd63-4269-952e-f8c4ca87459b

 

By default we do not have permissions to modify the hosts file in Windows 7 beta. The following steps are needed.

1. Browse to Start -> All Programs -> Accessories
2. Right click "Notepad" and select "Run as administrator"
3. Click "Continue" on the UAC prompt
4. Click File -> Open
5. Browse to "C:\Windows\System32\Drivers\etc"
6. Change the file filter drop down box from "Text Documents (*.txt)" to "All Files (*.*)"
7. Select "hosts" and click "Open"
8. Make the needed changes and close Notepad.  Save when prompted.
---------------------------------------------------------------------------

반응형