생각하는 족족 고.따.구 냐..
출처: 세상은 즐겁게[http://blog.naver.com/PostList.nhn?blogId=jooken]
===================================================================================
Key보드의 위치를 바꾸고 싶은 사람들위한 Widows Registry 설정법 안내이다.
1. 한영전환에 관해서
도스시절 아래아한글 소프트웨어를 쓰던 사람들은 Shift+Space 한영전환에 대한 미련이 있다. 그런데, 또한 한영전환을 기존대로 활용하고 싶은 사람과 같이 쓰는 PC일 경우 이렇게 마음대로 바꿔 놓음 사람들이 무진장 헷갈려 할 것이다. 이 모든 요구사항을 반영한 키보드 설정 변경
Registry를 만들어 보자.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\i8042prt\Parameters]
"LayerDriver KOR"="kbd101c.dll"
"OverrideKeyboardSubtype"=dword:00000005
상기와 같이 Registry 위치를 편집하거나 Reg 화일을 만들어서 추가하면 Shift+Space로 한영전환이 된다.
하지만 기존 '한/영' 버튼은 이제 더이상 동작하지 않는다 보통은 Right-Alt 키로 동작하게 될것이다. 그리고 '한자' 버튼도 이제는 Right-Ctrl 버튼이 된다. 어차피 Alt와 Ctrl버튼은 왼쪽에 있으므로 이를 '한/영'과 '한자' 버튼으로 다시 수정해 주면 다른 사용자들의 원성(?)을 듣지 않아도 될것이다. 이를 위해서는 아래와 같은 설정이 필요하다.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,\
00,00,00,00,\
03,00,00,00,\
72,00,38,E0,\
71,00,1D,E0,\
00,00,00,00
상기 Scancode Map 의 의미는 각 행 별로 의미가 있다.
첫째 행 00,00,00,00 은 header의 의미이다.
두째 행 00,00,00,00 은 Version을 나타낸다
세째 행 03,00,00,00 은 아래열의 개수다. 맨 마지막 열은 무조건 추가되므로 키보드 설정을 변경하는 것이 2개라면 3으로 쓰고 3개라면 4를 넣어주면 된다. 여기서는 한/영키와 한자 키의 설정 2개를 변경하는 것이므로 3이 된다.
네째 행부터 키 변환을 설정한다.
Right Alt키를 '한/영'으로 설정하기 위해서는
Right Alt 키에 해당하는 Code 0xE0 38을 '한/영'에 해당하는 0x00 72로 변경하라고
설정한다. 이때 Windows는 Big Endian을 쓰므로 Most Significan Bit가 뒤로 오게
해야한다. 그래서 E0,38,00,72 를 뒤집은 형태인 72,00,38,E0이 된다. 마찬가지로
Right Ctrl키를 '한자'키로 설정하기 위해서는 Right Ctrl키의 Code인 0xE0 1D를 '한자'키에 해당하는 0x00 71로 변환하기 위한 설정값 E0,1D,00,71 의 Big Endian 표시인 71,00,1D,E0이 된다.
참고로 모르는 사람들을 위해서 위에 \ 표시는 Reg 파일에서 다음라인을 이어주라는 이음 마크이다. \를 안쓰면 00,00,00,00,03,00,00,00,72,00,38,E0,71,00,1D,E0,00,00,00,00 이런식으로 적어야 해서 보기 안좋아서 넣은 것이다.
2. Capslock을 잘 안쓰고 그 위치에 Control키를 넣고 싶은 사람들을 위한 설정
Capslock의 위치는 새끼 손가락에 가까워서 Control키를 자주 누르는 사람은
위치를 변경하고자 하는 욕구가 있을 것이다. 이 변경방법은 1항의 Scancode Map을 활용하여 할 수 있다. 1항의 설정을 쓰지 않고 Capslock만 변경하고자 하는 경우는,
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,\
00,00,00,00,\
02,00,00,00,\
1d,00,3a,00,\
00,00,00,00
이다 즉, Capslock의 Code는 0x00 3a 이고, Left Ctrl의 Cde는 0x00 1d 이다. 상기와 같이 설정하면 컴퓨터에 Capslock키는 없어진다. Capslock을 살리고자 하는 경우는 Left Ctrl을 Capslock으로 설정하면 된다. 아래의 설정을 보자.
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,\
00,00,00,00,\
03,00,00,00,\
1d,00,3a,00,\
3a,00,1d,00,\
00,00,00,00
로 설정하자.
이상 1항의 설정과 함께 추가하고자 한다면...
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,\
00,00,00,00,\
04,00,00,00,\
1d,00,3a,00,\
72,00,38,E0,\
71,00,1D,E0,\
00,00,00,00
으로 설정하면 된다.
3. 첨부는 1항과 2항의 설정을 모두 포함한 reg 파일이다. 설치는 단순히 파일을 실행시켜 주면 된다.
이 사항은 Windows XP에서 시험해 본 파일이다.
%SystemDrive% C: %SystemRoot% C:\WINNT, C:\WINDOWS %SystemDirectory% C:\WINNT\System32, C:\WINDOWS\System32 %WinDir% C:\WINNT, C:\WINDOWS, C:\WINNT\Program Files %ComSpec% C:\WINNT\system32\cmd.exe %Temp% C:\DOCUME~1\Usr\LOCALS~1\Temp from C:\Documents and Settings\Usr\Local Settings\Temp %HOMEDRIVE% C: The drive letter associated with the user's home directory %HOMEPATH% The path to the user's home directory (excluding drive): \Documents and Settings\Guest %OS% Windows_NT -> The operating system the user is running %USERDOMAIN% The name of the domain that contains the user's account %USERNAME% The user's name
안녕하세요. 흔히 문의가 들어오는 부분인 대용량 파일 업로드 설정 부분을 정리해 드립니다. MOSS 가 여러 기술 스택을 활용하는 제품이다 보니, 자연히 설정을 하는 곳이 여러 군데로 나뉘어 있어 조금 복잡하게 생각하시는 분들이 많으신 것 같습니다. 아래 절차를 따라서 한번 설정해 보시기 바랍니다.
업로드 제한의 변경
Central Administration > Application Management > Web Application General Settings 에서 Maximum upload size 를 바꿉니다. 최대 2GB (2047) 까지 설정할 수 있습니다. 여러 개의 파일을 동시에 올릴 경우 그 크기의 합이 이 설정값을 넘을 수 없습니다.
사이트 용량 제한 점검
사이트 용량 제한이 최대 파일 크기보다 낮게 설정되어 있는지 체크해 주십시오.
IIS Connection Timeout 변경
IIS 연결 타임 아웃 설정을 바꾸어 주어야 합니다. 기본 설정은 2분이기 때문에 업로드 시간이 2분이 넘어가는 큰 파일들은 중간에 오류를 일으키게 됩니다. 인트라넷의 속도를 고려하셔서 목표로 하시는 제한 크기의 파일이 안전하게 업로드 될 수 있는 시간으로 설정하시면 됩니다. 이 설정은 IIS 관리자에서 사이트를 선택하시고 Advanced Settings 에서 설정하실 수 있습니다. (IIS 7.0기준)
LAYOUT 폴더의 ExecutionTimeout 값의 변경
%HomeDrive%\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\Web.config 파일을 수정합니다.
<location path="upload.aspx">
<system.web>
<httpRuntime maxRequestLength="2097151" /> 이 라인을
<httpRuntime executionTimeout="999999" maxRequestLength="2097151" /> 로 바꿉니다.
</system.web>
</location>
maxRequestLength 에 대한 설명은 http://msdn.microsoft.com/en-us/library/e1f13641.aspx 를 참고 바랍니다.
각 웹어플리케이션의 ExecutionTimeout 값의 변경
%HomeDrive%\Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder 에서
<httpRuntime maxRequestLength="51200" /> 라인을
<httpRuntime executionTimeout="999999" maxRequestLength="51200" /> 로 바꿉니다.
참 고) 여기서 maxRequestLength 의 51200 은 50* 1024 즉 50 MB 를 뜻하는 것입니다. 이 값을 50MB 로 놔둬도 아래의 나머지 세팅을 해 주면 문서 라이브러리에 대용량 파일 업로드는 문제가 없지만 공지사항이나 토론 같은 리스트의 첨부는 여전히 50MB 을 넘을 수 없습니다. 따라서 리스트 첨부로 큰 파일을 올리고자 할 때에는 이 값을 늘려 주어야 합니다. 예를 들어 리스트 첨부를 300MB 까지 허용한다면 300 * 1024 = 307200 을 세팅해 주면 됩니다.
Windows 2008 /IIS7 환경의 경우 추가 요소
각 웹 어플리케이션의 폴더에서 %HomeDrive%\Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder Web.config 파일에 아래 부분을 추가합니다.
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="52428800"/>
</requestFiltering>
</security>
</system.webServer>
52428800 은 50 MB 입니다. 이 값은 업로드를 허용할 최대 크기보다 약간 더 크게 설정되어야 합니다. 예를 들어 한도가 300MB 로 하고 싶다면 301*1024*1024 = 315621376 정도로 설정하시면 됩니다.
large-file-chunk-size 속성은 웹서버가 SQL 에 한번에 읽거나 쓰는 크기입니다. 기본값은 5MB 로 설정되어 있는데, 이 경우 70MB 파일을 SQL 로 넣어주는데 14번의 Write 작업이 생기게 됩니다. 이 값을 늘려주면 웹서버와 SQL 간의 통신횟수가 줄어듦으로써 업로드 속도의 향상을 가져올 수 있습니다. 주의할 점은 이 속성값을 너무 크게 하면 웹프런트엔드 서버의 메모리 사용량이 많아집니다. 이 값을 설정하는데 있어 절대적인 수치는 없으며, 프런트 엔드 메모리가 넉넉하신 분은 메모리 사용량을 보시면서 조금씩 늘려서 조정하시면 됩니다.
STSADM
Large-file-chunk-size: Stsadm property (Office SharePoint Server) 을 참고하면 MB 단위라고 되어있는데, 바이트 단위로 되어야 합니다. 우선 getproperty 로 기본값을 보면 아래와 같이 나옵니다. 5*1024*1024
stsadm -o getproperty -propertyname large-file-chunk-size
<Property Exist="Yes" Value="5242880" />
따라서 10MB 씩 읽어들이도록 하려면, 10 * 1024 * 1024 = 10485760 이 되어야 하고 명령어는 아래와 같습니다.
stsadm -o setproperty -pn large-file-chunk-size -pv 10485760
명령어 수행 후 IISREST 해 줍니다.
디 폴트로 웹파트의 사이즈 제한은 1MB 로 되어 있습니다. 더 큰 크기의 웹파트를 사용하시고자 하는 분들은 이 값을 변경해 주어야 합니다. 각 웹 어플리케이션의 폴더에서 %HomeDrive%\Inetpub\wwwroot\wss\VirtualDirectories\VirtualDirectoryFolder Web.config 파일의 아래 부분을 수정합니다.
<WebPartLimits MaxZoneParts="50" PropertySize="1048576" />
예를 들어 2MB 라면 2 * 1024 * 1024 = 2097152
<WebPartLimits MaxZoneParts="50" PropertySize="2097152" />
특정 사용자의 업로드 속도만 느릴 경우는 인터넷 익스플로러의 보내기 버퍼 크기를 조정해 볼 수 있습니다.
http://support.microsoft.com/default.aspx/kb/329781 를 참고 부탁 드립니다.
제어판 바로실행 명령어
Contrl Panel의 약자로, 제어판에 나타나는 설정 항목 파일이며, EXE파일과 같이
실행이 가능하다. 일례로 디스플레이 항목의 파일인 desk.cpl파일은 더블 클릭하면 디스플레이 등록 정보가 실행된다. 각
제어판의 항목과 해당 CPL파일의 이름은 다음과 같다.
control 제어판
Access.cpl 내게 필요한 옵션
appwiz.cpl 프로그램 추가/제거
bthprops.cpl 블루투스장치설정
desk.cpl 디스플레이 등록정보
firewall.cpl Windows방화벽
hdwwiz.cpl 새하드웨어추가마법사
inetcpl.cpl 인터넷 등록정보
intl.cpl 국가 및 언어옵션
irprops.cpl 적외선포트 설정
joy.cpl 게임컨트롤러
main.cpl 마우스등록정보
mmsys.cpl 사운드및 오디오장치등록정보
ncpa.cpl 네트워크연결
netsetup.cpl 네트워크설정마법사
nusrmgr.cpl 사용자계정
nwc.cpl 네트워크 게이트웨이
odbccp32.cpl ODBC데이터원본 관리자
powercfg.cpl 전원옵션 등록정보
sysdm.cpl 시스템등록정보
telephon.cpl 전화및모뎀 옵션
timedate.cpl 날짜 및 시간 등록정보
wscui.cpl Windows 보안센터
wuaucpl.cpl 자동업데이트
Sapi.cpl 텍스트 음성 변환설정
control Admintools 관리도구
control Folders 폴더옵션
control Userpasswords 사용자 계정
관리콘솔 명령어
certmgr.msc : 인증서
ciadv.msc : 인덱싱서비스
ntmsmgr.msc : 이동식저장소
ntmsoprq.msc : 이동식저장소 운영자 요청
secpol.msc : 로컬보안정책
wmimgmt.msc : WMI(Windows Management Infrastructure)
compmgmt.msc : 컴퓨터 관리
devmgmt.msc : 장치관리자
diskmgmt.msc : 디스크 관리
dfrg.msc : 디스크 조각모음
eventvwr.msc : 이벤트 뷰어
fsmgmt.msc : 공유폴더
gpedit.msc : 로컬 컴퓨터 정책
lusrmgr.msc : 로컬 사용자 및 그룹
perfmon.msc : 성능모니터뷰
rsop.msc : 정책의 결과와 집합
secpol.msc : 로컬 보안설정
services.msc : 서비스
C:\WINDOWS\system32\Com\comexp.msc : 구성요소서비스
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\mscorcfg.msc : .NET Configuration 1.1
기타 실행 명령어
cmd : 도스명령프롬프트 실행, 단, 윈98은 command
shutdown -i : GUI화면으로 시스템 종료, 재부팅 가능
shutdown -a : 종료 설정 중지
netstat : 인터넷 접속 상황
ipconfig /all : ip주소,게이트웨이,서브넷마스크, DNS서버주소,physical주소
dxdiag : 다이렉트 - X 상태 정보 화면
cleanmgr : 디스크 정리
regedit : 레지스트리 편집기
netsetup : 네트워크 설정 마법사
calc : 계산기
charmap : 문자표
pbrush , mspaint : 그림판
cleanmgr : 디스크정리
clipbrd : 클립보드에 복사된 내용 표시
control : 제어판
dxdiag : 다이렉트X 진단도구 및 그래픽과 사운드의 세부정보를 보여줌
eudcedit : 용자 정의 문자 편집기
explorer : 탐색기
magnify : 돋보기
osk : 화상키보드
winmine : 지뢰찾기
sndrec32 녹음기
wordpad : 워드패드
sndvol32 : 시스템 사운드 등록정보,볼륨조절
sysedit : autoexec.bat, config.sys, win.ini, system.ini 시스템구성편집기
systray : 사운드 볼륨설정 노란색 스피커 아이콘을 트라이목록에 띄움
mobsync : 동기화
msconfig : 시스템 구성요소 유틸리티
msinfo32 : 시스템정보
mstsc : 원격 데스크톱 연결
netstat -na : 현재 열린포트와 TCP/IP 프로토콜정보를 보여줌, 열린포트로 트라이목마형 바이러스 침투 유무확인가능
notepad : 메모장
wab : 주소록
ntbackup : 백업 및 복원 마법사
ping 사이트주소 : 핑테스트 해당 사이트의 인터넷연결 유무 확인
sfc : 시스템 파일 검사기. 시스템 파일을 검사한후 깨지거난 손실된 파일을 원본 압축파일에서 찾아서 복원시켜줌 . 단, 윈2000에서는 cmd실행 후 sfc사용 - 마지막 설정된 값을 다음 윈도우부팅시 곧바로 실행됨[수정]
telnet open 사이트주소 : 텔넷접속명령어
tourstart : 윈도우 기능안내 html 문서표시
winipcfg : 인터넷에 접속된 자신의 아이피 주소를 보여줌) 단, 윈2000은 ipconfig로 변경됨
winver : 윈도우 버전확인
wmplayer : 윈도우 미디어 플레이어
wupdmgr : 윈도우업데이트
--------------------------------------------------------------------------------------------------------------------------
msconfig 시작프로그램 제어등 많은기능 제공 (단, 윈2000은 지원 안함)
regedit 레지스트리 편집기
sysedit autoexec.bat , config.sys ,win.ini, system.ini 시스템구성편집기
command 도스명령프롬프트 실행 (단,윈2000은 cmd로 변경됨)
telnet open 사이트주소 텔넷접속명령어
netstat -na 현재 열린포트와 TCP/IP 프로토콜정보를 보여줌
(열린포트로 트라이목마형 바이러스 침투 유무확인가능)
sfc 시스템 파일 검사기
(단,시스템 파일을 검사한후 깨지거난 손실된 파일을 원본 압축파일에서 찾아서 복원시켜줌)
winipcfg 인터넷에 접속된 자신의 아이피 주소를 보여줌
(단, 윈2000은 ipconfig로 변경됨)
dxdiag 다이렉트X진단도구 및 그래픽과 사운드의 세부정보를 보여줌
systray 사운드 볼륨설정 노란색 스피커 아이콘을 트라이목록에 띄움
ping 사이트주소 핑테스트 해당 사이트의 인터넷연결 유무 확인
--------------------------------------------------------------------------------
drwatson(9x), drwtsn32(2K,XP), wercon(VISTA)
에러가 발생하여 컴을 강제 종료 시켜야할 상황등을 겪으셨다면 꼭 알고 있어야할 명령어
실행하면 에러 다이얼로그 박스를 잡아 줍니다.
msconfig 시작프로그램및 서비스를 중지 시킨다거나 하는등의
시스템 리소스 확보를 위한 윈도우의 기초적인 환경설정을 할수 있죠.
netstat -na 현재 내컴에 접속되어 있는 IP를 출력 합니다. 부속적인 다양한 옵션이 있습니다.
conf 윈도에서 기본제공하는 원격관리 툴인 netmeeting를 실행시켜줍니다.
ping 상대방 IP로 접속이 가능한지 때려보는 명령
ping yahoo.co.kr 등..... 회선속도및 대상 컴퓨터의 OS판단이 가능함.
xcopy copy명령어보다 상당한 기능을 제공하는 복사명령어. 하드의 OS까지 복사 가능함...
XCOPY C: D: /S/C/H/E/R/K 범용적인 옵션. 예전의 98및 도스시절에 많이 쓰던 명령어 이죠..
ipconfig 명령프롬프터에서 실행시키면 내컴의 IP를 알수 있음
[config/renew] 동적 IP를 새로이 잡아줌.
[config/release] 동적 IP를 삭제함
cmd 명령 프롬프트(윈도우 도스)를 실행시키는 명령
sfc /Scannow 오류난 파일을 검색하여 원본으로 재 배치 할때 씁니다.
파일을 가져올때 윈도우 정품CD가 필요합니다.
regedit 레지스트리 편집기를 실행 합니다.
oobe/msoobe /a 원도우 정품 확인 명령어
scandisk c: 도스상의 명령어로 윈도우위 디스크 검사와 동일 합니다.
ren *.txt *.bak 파일명 바꾸는 도스 명령어
ren a.txt b.txt - a.txt 파일을 b.txt 파일로 이름을 바꿈
tracert 대상 사이트 주소 예:tracert yahoo.co.kr
야후까지 경유해가는 IP를 출력해 줍니다. (IP 를 추적할수도 있죠)
shutdown -a 악성 바이러스및 자동종료 웜등으로 부터 자동종료를 막을때..
dxdiag 컴의 다이렉트 x 버젼확인
deltree 도스에서. 하위 디렉토리까지 포함하여. 삭제 가능한 명령어..
del이나 erase 보다 막강한 기능제공 (deltree XXX)
mstsc.exe 원격 데스크톱 연결 사용
rcimlby.exe -LaunchRA msn 메신저로 상대에게 원격지원요구
--------------------------------------------------------------------------------
▶ 관리 관련 명령어
certmgr.msc 인증서 관리
ciadv.msc 인덱싱 서비스
compmgmt.msc 컴퓨터 관리
devmgmt.msc 장치관리자
diskmgmt.msc 디스크 관리
dfrg.msc 디스크 조각모음
eventvwr.msc 이벤트 뷰어
fsmgmt.msc 공유폴더
gpedit.msc 로컬 컴퓨터 정책
lusrmgr.msc 로컬 사용자 및 그룹
ntmsmgr.msc Removable Storage
ntmsoprq.msc 이동식 저장소 운영자 요청
perfmon.msc 성능모니터뷰
rsop.msc 정책의 결과와 집합
secpol.msc 로컬 보안설정
services.msc 서비스
wmimgmt.msc WMI 서비스 구성
comexp.msc comexp 구성 요소 서비스
control userpasswords2 사용자 계정
mmc 콘솔루터
taskmgr 윈도우 작업 관리자
fltmc 필터 드라이버 로딩 언로딩 및 목록 보기 mini filter 라서 XP SP2 이후 부터.
fsutil 파일 시스템 관련 정보 및 쿼리 가능. 파일 공간 잡기
net service나 드라이버 로딩 및 시작(start), 정지(stop)
tasklist 프로세스 리스트 확인
attrib 파일속성 변경
--------------------------------------------------------------------------------
▶시작메뉴명령어들
Accessibility Wizard [Accwiz.exe] 내게 필요한 옵션 마법사
Narrator [Narrator.exe ] 내레이터
Address book [Wab.exe] 주소록 - 주ID
Notepad [Notepad.exe ] 메모장
Backup [Ntbackup.exe] 백업및 복원 마법사
On-Screen Keyboard [Osk.exe ] 화상키보드
Calculator [Calc.exe] 계산기
Outlook Express [Msimn.exe ] 아웃룩 익스프레스
Character map [Charmap.exe] 문자표
Paint [Mspaint.exe ] 그림판
Command prompt [Cmd.exe] 명령프롬프트
Pinball [Pinball.exe ] 핀볼
Data sources (ODBC) [Odbcad32.exe] ODBC 데이터 원본 관리자
Remote Assistance [Rcimlby.exe ] MSN
Disk cleanup [Cleanmgr.exe] 디스크 정리
Remote Desktop Connection [Mstsc.exe ] 원격 데스크톱 연결
FreeCell [Freecell.exe] 프리셀
Solitaire [Sol.exe ] 카드놀이
Files and Settings Transfer Wizard [Migwiz.exe] 파일 및 설정 전송 마법사
Sound Recorder [Sndrec32.exe ] 녹음기
Hearts [Mshearts.exe] 하트 네트워크
Spider Solitaire [Spider.exe ] 스파이더
HyperTerminal [Hypertrm.exe] 하이퍼터미널
System Information [Msinfo32.exe] 시스템 정보
Internet Backgammon [Bckgzm.exe] 주사위 놀이
System Restore [Rstrui.exe] 시스템 복원
Internet Checkers [Chkrzm.exe] 체커 온라인
Tour Windows XP [Tourstart.exe ] XP의 새로운 기능을 경험해 보세요.
Internet Explorer [Iexplore.exe] 익스플로러
Utility Manager [Utilman.exe ] 유틸리티 관리자
Internet Hearts [Hrtzzm.exe] 하트 온라인
Windows Media Player [Wmplayer.exe ] 윈도우 미디어 플레이어
Internet Reversi [Rvsezm.exe] 리버시 온라인
Windows Messenger [Msmsgs.exe ] MSN창모드
Internet Spades [Shvlzm.exe] 스페이드 온라인
Windows Movie Maker [Moviemk.exe ] 무비메이커
Magnifier [Magnify.exe] 윈도우 돋보기
Windows Update [Wupdmgr.exe ] 윈도우 업데이트
Minesweeper [Winmine.exe] 지뢰찾기
WordPad [Wordpad.exe ] 워드패드
MSN Explorer [Msn6.exe] MSN 익스플로러
[dfrg.msc] 디스크 조각모음
[winver] 윈도우 정보
[explorer] 윈도우 탐색기
--------------------------------------------------------------------------------
▶ 제어판의 모듈실행 명령어
[Access.cpl] 내게필요한옵션
[Mmsys.cpl] 사운드 및 오디오 장치 등록정보
[Appwiz.cpl] 프로그램추가제거
[Nusrmgr.cpl] 사용자계정
[Desk.cpl] 디스플레이등록정보
[Nwc.cpl] Client Service for NetWare
[Hdwwiz.cpl] 하드웨어추가마법사
[Odbccp32.cpl] ODBC 데이터 원본 관리자
[Inetcpl.cpl] 인터넷등록정보
[Powercfg.cpl] 전원옵션등록정보
[Intl.cpl] 국가및언어옵션
[Sysdm.cpl] 시스템등록정보
[Joy.cpl] 게임컨트롤러
[Telephon.cpl] 전화및모뎀옵션
[wscui.cpl] 보안센터
[control admintools ] 관리도구
[Ncpa.cpl] 네트워크 연결
[Main.cpl] 마우스 등록정보
[control keyboard] 키보드 등록정보
[control Folders] 폴더옵션
[mrt] 악성소프트웨어 제거도구[출처] 윈도우 제어판/관리콘솔실행명령어|작성자 pamiyayu
What is Server Core? Server core is a minimal installation option for Windows Server "Longhorn" providing a minimal environment supporting specific server roles. Server Core reduces servicing and management requirements while providing a minimum attack surface for supported roles. Server Roles · DHCP server · File Server · DNS server · Active Directory® Optional Components · BitLocker · BitLocker Remote Admin Tool · Client For NFS · DFS Server · DFS Replication · Failover Cluster · FRS · Media Server · MultipathIO · Removable Storage Management · Network Load Balancing · LPD Print Service · Server For NFS · Single Instance Storage · SNMP · Subsystem for UNIX-based Applications · Telnet Client · Windows Server Backup · WINS Installing Server Core Minimum Requirements:
This will likely be your first installation of Longhorn Server Core, but tuck this away for future reference: - Previous version of Windows Server cannot be upgraded to Server Core, - Full installations of Longhorn cannot be converted to Server Core, - Server Core cannot be upgraded to a full installation of Longhorn Server - Server Core will be upgradable to Server Core R2. Installation 1. Now throw in the DVD, wait a few minutes and click Install now… 2. Enter your product ID. (You do have a product ID, don’t you?) 3. Choose the Server Core option. 4. Accept the license agreement. 5. Choose Advanced 6. Select a disk to install to… 7. Wait for the file copy to complete… Configuring Server Core 8. Logon with blank password. 9. Set local administrator password: net user administrator new_password - OR - net user administrator * 10. Activate the server: a. Check license status: Cscript c:\windows\system32\slmgr.vbs -xpr b. Local activation: Cscript c:\windows\system32\slmgr.vbs -ato c. Remote activation: Cscript c:\windows\system32\slmgr.vbs dc-contoso-01 contoso\administrator p@ssw0rd -ato d. Activate with user provided activation code: Cscript c:\windows\system32\slmgr.vbs -atp e. Help -? 11. Rename the machine: NETDOM RENAMECOMPUTER %computername% /NewName:DC-CONTOSO-01 /REboot 12. Set IP Properties a. Get interfaces: Netsh interface ipv4 show interfaces b. Note IDX number for each network adapter to be modified. c. Set Static IP, subnet mask and Default Gateway netsh interface ipv4 set address name=3 source=static address=192.168.1.1 mask=255.255.255.0 gateway=192.168.1.2 Where: Name is the number from step 2 above Address is the static IP address you are setting Mask is the subnet mask for the IP Address DefaultGateway is the default gateway d. To change back to DHCP: netsh interface ipv4 set address name=3 source=dhcp 13. Configuring DNS Settings: a. Set the DNS Server address. netsh interface ipv4 add dnsserver name=3 address=127.0.0.1 index=1 netsh interface ipv4 add dnsserver name=3 address=192.168.0.1 index=2 Where: Index is the interface number. Address is the IP address of your DNS server Index is the ordinal for the DNS address you would like to change. b. Repeat for each DNS server you want to set, incrementing the index= number each time. c. To delete a DNS address: Netsh int ipv4 delete dnsserver index=3 address=192.168.1.2
Managing Server Core Server Core may be manage as follows: · Locally and remotely with Command Prompt. · Remotely with Terminal Server. · Remotely using Windows Remote Shell on Vista or "Longhorn" · Remotely via MMC snap-ins. 15. Check event logs with wevtutil from Vista or Longhorn: Wevtutil qe System /f:text /c:1 /rd:true NOTE: Options and values are case-sensative 16. Complete local configuration tasks with Scregedit.wsf (1217 lines of script!) a. Enable Terminal Server Remote Admin Mode: cscript C:\Windows\System32\Scregedit.wsf /ar 0 b. Enable connection by down level TS clients: cscript C:\Windows\System32\Scregedit.wsf/cs 0 c. Configure the pagefile. d. Enable automatic updates. e. Enable error reporting.
a. Enable WinRS on Server Core WinRM quickconfig b. Connect with WinRS: winrs -r:dc-contoso-01 dir c:\windows winrs -r:dc-contoso-01 wevtutil qe System /f:text /c:15 /rd:true winrs -r:dc-contoso-01 wevtutil qe System /f:RenderedXml /e:SystemLog /c:15 /rd:true > event.xml 18. Time and International settings: a. Setting Time: control timedate.cpl. b. International Settings: control intl.cpl 19. Managing Server Core via MMC; a. If you don't know how to do this, you are in the wrong session. TIP: if not domain joined, establish a session first: Net use * \\ServerName\c$ /u:UserName Driver Management 20. Installing hardware with and without "in-box" drivers: If the driver is included in Longhorn Server Core: a. Add the hardware. PNP will start and do the rest. Otherwise: a. Copy the driver files to a temp folder on Server, b. Execute the following command: Pnputil ?i ?a <path>\<driver>.inf c. Restart if needed. 21. List and delete installed drivers: a. List installed drivers: sc query type= driver NOTE: The space after "type=" is a quirk of many tools you'll be using. b. Delete specified driver: sc delete service_name 22. Service Propeties a. Change service parmeters: Sc config /? Sc config "RemoteRegistry" start= auto NOTE: space after "=" sign. Managing Applications 23. Installing, Viewing and Removing Applicaitons a. Install: Msiexec /I c:\install\NTBackupRestore.msi /qb b. List applications by name: Wmic product get name /value c. Removing Applications Wmic product where name="NTBackupRestore" call uninstall d. Listing hotfixes wmic qfe list e. Installing Hotfixes Wusa.exe <patchname>.msu /quiet 24. OCLIST & OCSETUP NOTE: Ocsetup is case sensitive!!! This will fail: Start /w Ocsetup WindowsServerbackup This will succeed: Start /w Ocsetup WindowsServerBackup Uninstall WindowsServerBackup Start /w Ocsetup WindowsServerBackup /uninstall Installing and Configuring Server Roles Install and Configure DNS 25. Installing DNS Server Role - ALREADY INSTALLED! a. Run the following: Start /w Ocsetup DNS-Server-Core-Role 26. Configure DNS - Step By Step: a. Allow auto-creation of reverse lookup zones. dnscmd 192.168.1.1 /config /disableautoreversezones 0 b. Create a secondary zone: dnscmd 192.168.1.1 /zoneadd contoso.com /Secondary 192.168.1.2 c. Create a Primary zone: dnscmd 192.168.1.1 /zoneadd contoso.net /Primary d. Create a new A record: dnscmd 192.168.1.1 /RecordAdd contoso.net dc-contoso-01 A 192.168.1.1 e. Add CNAME: dnscmd 192.168.1.1 /RecordAdd contoso.net www CNAME dc-contoso-01.contoso.com f. Delete a zone: dnscmd 192.168.1.1 /zonedelete contoso.net 27. To automate DNS configuration, put all the commands in a batch file and run: Start /w c:\unattend\dns\dnsunattend.cmd Install and Configure DHCP 28. Install DHCP Server Role using OCSETUP - Already Installed!!! a. At the command prompt, type: start /w ocsetup DHCPServerCore 29. Authorize/Deauthorize DHCP server in Active Directory: a. Authorize: Netsh dhcp add server dc-contoso-01.contoso.com 192.168.1.1 b. De-authorize: Netsh dhcp delete server dc-contoso-01.contoso.com 192.168.1.1 30. Configure a DHCP scope: a. Add a scope with specified IP network, subnet mask and comment: netsh dhcp server 192.168.1.1 add scope 192.168.1.0 255.255.255.0 LonghornScope "Longhorn Engineering" b. Add IP address range with ClientType set to DHCP: netsh dhcp server 192.168.1.1 scope 192.168.1.0 add iprange 192.168.1.1 192.168.1.254 c. Add IP exclusion range: netsh dhcp server 192.168.1.1 scope 192.168.1.0 add excluderange 192.168.1.1 192.168.1.20 d. Set router option value 003: netsh dhcp server 192.168.1.1 scope 192.168.1.0 set optionvalue 003 IPADDRESS 192.168.1.1 192.168.1.2 e. Set DNS Server option value 006: netsh dhcp server 192.168.1.1 scope 192.168.1.0 set optionvalue 006 IPADDRESS 192.168.1.1 192.168.1.2 f. Activate the new scope: netsh dhcp server 192.168.1.1 scope 192.168.1.0 set state 1 31. Viewing DHCP Configuration: Netsh dhcp server show scope 32. Removing DHCP Configurations: a. Delete a scope: Netsh dhcp server delete scope 192.168.1.0 DHCPFULLFORCE
c:\unattend\DHCP\DhcpUnattend.cmd Installing Active Directory Domain Services
a. New forest: [DCINSTALL] ReplicaOrNewDomain=Domain TreeOrChild=Tree CreateOrJoin=Create NewDomainDNSName=contoso.com DNSOnNetwork=yes|no (Yes mean use existing DNS, NO means install DNS) ConfirmGC=Yes DomainNetbiosName=contoso AutoConfigDNS=yes SiteName=STL AllowAnonymousAccess=no DatabasePath=%systemroot%\ntds LogPath=%systemroot%\ntds SYSVOLPath=%systemroot%\sysvol SafeModeAdminPassword=<admin defined offline admin account password> CriticalReplicationOnly=No RebootOnSuccess=yes b. Add new DC to existing forest/domain: [DCINSTALL] ReplicaOrNewDomain=Replica CreateOrJoin=Join DNSOnNetwork=yes|no (Yes mean use existing DNS, NO means install DNS) ConfirmGC=Yes DomainNetbiosName=contoso AutoConfigDNS=yes SiteName=STL AllowAnonymousAccess=no DatabasePath=%systemroot%\ntds LogPath=%systemroot%\ntds SYSVOLPath=%systemroot%\sysvol SafeModeAdminPassword=<admin defined offline admin account password> CriticalReplicationOnly=No RebootOnSuccess=yes c. Add new RODC to existing forest/domain: NOTE: Read-Only DC requires Windows Server 2003 Forest Functional Level or greater. [DCINSTALL] ReplicaOrNewDomain=ReadOnlyReplica ReplicatDomainDNSName="contoso.com" CreateOrJoin=Join DNSOnNetwork=yes InstallDNS=yes ConfirmGC=Yes SiteName=STL AllowAnonymousAccess=no DatabasePath=%systemroot%\ntds LogPath=%systemroot%\ntds SYSVOLPath=%systemroot%\sysvol SafeModeAdminPassword=<admin defined offline admin account password> CriticalReplicationOnly=Yes RebootOnSuccess=yes d. Demote a domain controller: [DCINSTALL] AdministratorPassword="<password>" - Password is removed after use. IgnoreIsLastDnsServerForZone=Yes IgnoreIsLastDCInDomainMismatch=Yes RebootOnSuccess=Yes Install and Configure File Server Roles The file server role is installed by default to provide administrative share support for management tools. To install additional file server features use the following procedure.
start /w ocsetup FRS-Infrastructure
start /w ocsetup DFSN-Server c. For Distributed File System Replication, type: start /w ocsetup DFSR-Infrastructure-ServerEdition d. For Network File System, type: start /w ocsetup ServerForNFS-Base Then type: start /w ocsetup ClientForNFS-Base e. For Single Instance Store, type: start /w ocsetup SIS Optional Features
start /w ocsetup featurename Where featurename is the name of a feature from the following list: · Failover Cluster: FailoverCluster-Core · Network Load Balancing: NetworkLoadBalancingHeadlessServer · Subsystem for UNIX-bases applications: SUA · Multipath IO: Microsoft-Windows-MultipathIO · Removable Storage Management: Microsoft-Windows-RemovableStorageManagementCore · Bitlocker Drive Encryption: BitLocker · Backup: WindowsServerBackup · Simple Network Management Protocol (SNMP): SNMP-SC Additional Resources Server Core Blog http://blogs.technet.com/server_core/ Longhorn Server Product Site http://www.microsoft.com/windowsserver/longhorn/ Command Line Reference A-Z: Http://go.microsoft.com/fwlink/?LinkId=20331 Configuring DHCP with NetSH DNSCMD.exe http://technet2.microsoft.com/WindowsServer/en/library/d652a163-279f-4047-b3e0-0c468a4d69f31033.mspx Manage Resource Records (Console & DNSCMD) http://technet2.microsoft.com/WindowsServer/en/library/6432bae3-f734-48d2-9643-dfba56422a991033.mspx Resource Record Types http://technet2.microsoft.com/WindowsServer/en/library/7b005a9b-4397-4d94-a584-34c037e2457c1033.mspx Windows Management Instrumentation Command-line (WMIC) AD DS Unattended Promotion |
WinDbg에 관한 글 입니다.
아직도 갈길을 정하지 못하고 헤메고 있습니다.
이것도 좋아 보이고 저것도 좋아 보이고,,,
조건 브레이크 포인트를 사용하면 디버깅에 도움이 되는 경우가 상당히 많습니다.
하지만 조건문을 어떻게 적어줘야 하는지 잘 몰라서
적극적인 활용을 하지 못하고 있습니다. ^^
이번에 익힌 사용방법을 적어놓고 갈무리하려 합니다. ㅋㅋㅋ
kd> bp b8fb429d ".if @@(pData->dwMyFlag & 0x00010000) {} .else {gc}"
b8fb429d 주소에 브레이크 포인트를 거는데 조건에 따라 걸리게 하고 싶은 상황입니다.
.if {} .else {} 명령을 사용한 조건문입니다.
@@( ) 을 사용하면 괄호 안에서는 C/C++ 소스코드에서 사용하던 표현들을 쓸 수 있습니다.
심볼이
맞아 있으면 위와 같이 소스에서 사용하던 구문 그대로 표현할 수 있습니다.
pData->dwMyFlag
에서 0x00010000 비트가 켜져 있으면 브레이크 하라는 의미입니다.
비트가 켜져 있지 않으면 .else 에 의해서 gc 로 계속
진행합니다.
PS)
조건 브레이크 포인트를 사용할 때 조건이 맞지 않아서 계속 진행하게 할 때는 반드시 gc
(Go from Conditional Breakpoint)를 사용해야 합니다. 한 줄씩 step trace 를 하다가 조건 브레이크 포인트를
만났을 경우 gc 를 해야만 다음 라인으로 step trace 가 되기 때문입니다.
.else {g} 와 같이 쓴다면 조건이 맞지 않을
경우 g 를 실행하여 확~~~ 실행되어 버립니다. 한 줄씩 디버깅하면서 step trace 하고 있는 경우에 F10 을 눌렀는데 다음 라인에서
서지 않고 그냥 실행되어 버릴 수 있다는 뜻입니다. 당황스럽겠죠?
--from http://www.ezdoum.com/stories.php?story=04/12/21/0280585
--from http://dasomns.com/~leedw/mywiki/moin.cgi/WinDbg
예전에 WinDbg를 설치해서 잠깐 사용해보다가 "뭐 이런
디버거가 다 있어"라고 하고는 그냥 내팽게쳐 버리고 잊고 있었던 디버깅 툴이었다. 그런데 요즘 여기에 올린 어떤 강좌때문에 다시 이 디버거를
사용하게 되었는데 그때는 발견하지 못했던 색다른 기능들을 접할 수 있었다. 한번쯤 배워 볼만한 가치가 있는 디버거라는 생각이 든다.
download : http://www.microsoft.com/whdc/ddk/debugging/default.mspx
see also