トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS


  • 追加された行はこの色です。
  • 削除された行はこの色です。
#contentsx


[[Link/Windows]]

***Windowsが起動不能に陥った場合の復旧手法 [#m527c5ff]
**メモリ管理 [#z11b40b5]
***ページプールと非ページプール [#ufdff3de]
http://technet.microsoft.com/ja-jp/windows/ee424287
http://blogs.technet.com/b/askcorejp/archive/2009/05/29/3247576.aspx
Process Explorer
http://technet.microsoft.com/ja-jp/sysinternals/bb896653.aspx
チューニング
 HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager\Memory Management 
-PoolUsageMaximum
-PagedPoolSize
-Free System PTE エントリ
http://support.microsoft.com/kb/312362/ja
**Windowsが起動不能に陥った場合の復旧手法 [#m527c5ff]
Windowsメディアから回復コンソールで起動します。

 C:\WINDOWS>CD ..
 C:\>ATTRIB -H C:BOOT.INI
 C:\>ATTRIB -R C:BOOT.INI
 C:\>ATTRIB -S C:BOOT.INI
 C:\>DEL BOOT.INI
 C:\>BOOTCFG /REBUILD
 C:\WINDOWS> CD ..
 C:\> ATTRIB -H C:BOOT.INI
 C:\> ATTRIB -R C:BOOT.INI
 C:\> ATTRIB -S C:BOOT.INI
 C:\> DEL BOOT.INI
 C:\> BOOTCFG /REBUILD
 
 Scaning all disk for Windows installations.
 
 Please wait, since this may take a while...

 
 The Windows installation scan was successful.

 
 Notes: The results are stored statically for this session.
        If the disk configuration change during this session,
        in order to get an update scan, you must first reboot
        the machine and then rescan the disks.
 
 Totak indentified Windows installs:1

 C:\> CHKDSK /R /F
 C:\> FIXBOOT

**ツール&Tips [#ydf08dbb]
***ファイルをコピーする [#ma96a2c1]
- Robocopy 
 "C:\Program Files\Windows Resource Kits\Tools\robocopy.exe" /mir \
 \\remote_computer\Foldar "C:\Destination_Foldar"

***hash値を取得する [#a6c02f61]
http://support.microsoft.com/default.aspx?scid=kb;en-us;841290
http://www.atmarkit.co.jp/fwin2k/win2ktips/597fciv/fciv.html

 C:\Users\users>fciv
 //
 // File Checksum Integrity Verifier version 2.05.
 //
 
 Usage:  fciv.exe [Commands] <Options>
 
 Commands: ( Default -add )
 
        -add    <file | dir> : Compute hash and send to output (default screen).
 
                dir options:
                -r       : recursive.
                -type    : ex: -type *.exe.
                -exc file: list of directories that should not be computed.
                -wp      : Without full path name. ( Default store full path)
                -bp      : specify base path to remove from full path name
 
        -list            : List entries in the database.
        -v               : Verify hashes.
                         : Option: -bp basepath.
 
        -? -h -help      : Extended Help.
 
 Options:
        -md5 | -sha1 | -both    : Specify hashtype, default md5.
        -xml db                 : Specify database format and name.
 
 To display the MD5 hash of a file, type fciv.exe filename


***クライアント側のDNSキャッシュ [#j22e6047]
-キャッシュ情報の表示
 C:\>ipconfig /displaydns
 
 Windows IP Configuration
 
         blogs.itmedia.co.jp
         ----------------------------------------
         Record Name . . . . . : blogs.itmedia.co.jp
         Record Type . . . . . : 1
         Time To Live  . . . . : 358
         Data Length . . . . . : 4
         Section . . . . . . . : Answer
         A (Host) Record . . . : 204.9.178.33

-キャッシュのクリア
 C:\>ipconfig /flushdns
 
 Windows IP Configuration
 
 Successfully flushed the DNS Resolver Cache.

***.NET Frameworkの削除方法 [#h742c7c7]
.NET FrameworkそのものやFixpackの削除が「使用しているプログラムが存在する」などの理由でuninstallできないケースがある。その場合は、.NET Framework Cleanup Toolを用いて削除することができる。
&ref(dotnet_cleanup.PNG,,100%,nolink);
http://blogs.msdn.com/astebner/pages/8904493.aspx

***Windowsの所有者情報 [#y1320bf3]
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
RegisteredOwner
RegisteredOrganization

***コマンドプロンプトからネットワークの設定を行う [#d07e4b27]

 startnet
 netsh interface ipv4 show interface

 netsh interface ipv4 set address name="ローカル エリア接続" source=static 
   address=192.168.0.100 mask=255.255.255.0 gateway=192.168.0.254
***Proxy経由のWindowsUpdate [#sbc38369]
windows update errorcode: 80072EE2でWindowsUpdateが失敗する場合、Proxyの設定が反映されていない事が考えられる。
-Proxy設定内容の確認
 netsh winhttp show proxy
-IEに設定されているProxy情報を設定する
 netsh winhttp import proxy source=ie
-Proxyを使用しない
 netsh winhttp reset proxy 

***WebCacheV01.datの消し方 [#pe001cd8]
 C:\ taskkill /im taskhostw.exe
 C:\ del C:\Users\Administrator\AppData\Local\Microsoft\Windows\WebCache\WebCacheV01.dat

***UserのSIDを調べる方法 [#b12d9262]
 C:\> wmic
 wmic:root\cli>useraccount where name="user01" get name,sid
 Name     SID
 user01  S-1-5-21-20999999999-000000000-8888888888-2222

**event log [#r0a3ca28]
,528,ログオン成功(ログオン種別はイベントログ内に記載)
,529,ログオン失敗
,538,ログオフ処理が完了
,551,ログオフ処理を開始
,552,
,680,

http://technet.microsoft.com/ja-jp/library/cc787567%28WS.10%29.aspx
-イベントログ一覧
https://blogs.technet.microsoft.com/jpntsblog/2017/02/13/security-event/

**KMS [#f7f278dc]
***KMS Serverの設定 [#nae80ae7]
***KMS Clientの設定 [#ne9a1676]
Configuring KMS Clients 
https://technet.microsoft.com/ja-jp/library/ff793406.aspx
- 認証状況の確認
 C:\Users\Administrator>slmgr.vbs /dlv
- ライセンスコードの設定
KMSクライアント用ライセンスコードをセットする。クライアントのライセンスコードは共通である。以下の例はWindows Server 2008R2 Datacenterの場合。
 C:\Users\Administrator>slmgr.vbs /ipk 74YFP-3QFB3-KQT8W-PMXWJ-7M648
- KMSサーバーの指定
KMSサーバーを設定する。サーバー名:ポート番号で指定する。
 C:\Users\Administrator>slmgr.vbs /skms server_name:1688 
- online認証の実行
 C:\Users\Administrator>slmgr.vbs /ato