TEMTECOMAI ORTHOSTATIC HYPOTENSION

������ץ�����ޤǸ�������ִ���������ʸ

���ƥ��ꡧ WSUS

����鷺�ޥ��������եȤΥ��ߥ�˥ƥ�����Ƥ�����ä����ƤǤ⤢��ޤ���
�褯���� �֡����򡻡��������Ȥ����櫓�Ǥ��͡� �Ƥ��ʤ�ġ�
�褦�䤯�ޥ��������եȤ����������ˡ�����ʥ��󥹤��줿��
Windows devices may fail to boot after installing October 10 version of KB4041676 or KB4041691 that contained a publishing issue
�ɤ����ɾ��˱����� 3�Ĥ�������ʬ�����ߤ����Ǥ����������ξ��� 3���ܤ˽񤤤Ƥ��륱����������������

WSUS �� Windows Update ��������Ƥ���Ķ� �ʼ��ˡ�ͤǤ��礦�� �ˤ�����ȯ�����븽�ݤȤΤ��ȡ�
�ޥ��������եȤ� Windows Update �����ӥ��������ȯ�����ʤ���
  1. Windows 10 (Ver. 1703 ����� Ver. 1607) �� Windows Server 2016 �Ѥ� 2017ǯ10��10���ۿ� �������ƥ������ץ�������Ŭ��
  2. �Ƶ�ư�򤹤�� Windows ����ư�Ǥ��ʤ���
  3. �Ĥ��ˤϥ֥롼�����꡼�󤬽Ф롣
  4. ����Ǽ�ưŪ�˺Ƶ�ư���Ƽ�ư������̤�ɽ������롣
  5. ���åץǡ������������ݥ���Ȥ������줷�褦�Ȥ��Ƥ⡢�Ԥ����줿���˥��顼�������Բ�ǽ��

�ޤ������줵���ޤ�

��ư�������̤� [�ܺ٥��ץ����] �򥯥�å����롣
[�ȥ�֥륷�塼�ƥ���]��[�ܺ٥��ץ����]��[���ޥ�� �ץ���ץ�] �򥯥�å����롣
���Υޥ���� BitLocker �� C �ɥ饤�֤�Ź沽���Ƥ����Τǡ������� BitLocker �β������������Ϥ��롣
���ޥ�� �ץ���ץȤ���ư���롣
�ʲ��Υ��ޥ�ɤ��Ǥä� [Enter] ������
reg load hklm\temp c:\windows\system32\config\software
reg delete ��HKLM\temp\Microsoft\Windows\CurrentVersion\Component Based Servicing\SessionsPending�� /v Exclusive 
�������륭�����ʤ���Х��顼��ɽ�����������ʤΤ�����ס�
reg unload HKLM\temp
�������餬����
dism ���ޥ�ɤ�Ȥ�����α���֤ˤʤäƤ���ѥå���������������
���Υ��ޥ�ɤǥѥå������ΰ�����ɽ�������롣
dism.exe /image:c:\ /get-packages
�ٹ�ʤ󤫤�ɽ������ʤ��顢���餺��äȷ�̤�ɽ������롣
�Ǹ�� 3�Ĥ��餤���־��� �� ���󥹥ȡ������α��� �ȤʤäƤ����Τ����ä��Τǡ������Υѥå������������롣
dism.exe /image:c:\ /remove-package /packagename:<package name>
<package name> ����ʬ����ۤɽ��Ϥ��줿�ꥹ�Ȥ� �֥ѥå����� ID�� ���ͤ����ƤϤ��Τ�����ɡ���ۤɤν��Ϸ�̤�ޥ������ϰ����򤷤ƥ��ԥڤ���гڤ˽����Ǥ��롣
�־��� �� ���󥹥ȡ������α��� �Υѥå�����ʬ���������֤����Ǹ�˥��ޥ�� �ץ���ץȤ��Ĥ��롣
�֥��ץ���������� ���̤ˤʤ�Τ� [³��] �򥯥�å���
Windows ������ɽ�����졢���β��˥��륯�뤬ɽ������롣
���Ф餯�Ԥ������ΤǤ��������ۤˤʤ롣
���̤����ðŤˤʤ롣 �ʤ���˿��ۤˤʤ��
���륯��Υޥ��� �ݥ��󥿡���ɽ�����졢�¿����롣
�֥롼���طʤˤʤ롣 �ʤޤ����Ƥ⿴�ۤˤʤ��
�ֹ����ץ������������Ƥ��ޤ��� ��ɽ�����졢�¿����롣
�ʤ��ʤ��Ԥ�����롣
�ֺƵ�ư���Ƥ��ޤ��� �Ȥ�ɽ���������ʤ��ʤ��Ƶ�ư���Ƥ���ʤ���
�Ƥ� �ֹ����ץ������������Ƥ��ޤ��� �ˤʤ롣
���Ф餯�Ԥä� 100% ��ɽ���ˤʤ롣
����������̤�ɽ������롣
��Ǥ������졣

����

����� �����ѹ����ץ������� ��Ʊ�� KB �ֹ�� �ֺ�ʬ�����ץ������� �Ȥ�����Τ�ʤ����ۿ�����Ƥ��Ƥ��ޤ���ξ���ι����ץ�������Ŭ�Ѥ��Ƥ��ޤä� PC �����ξɾ��˴٤�Ȥλ���
����Ū�ˤϡ�
  1. 2017-10 x64 �١��� �����ƥ��� Windows Server 2016 �����ѹ����ץ������ (KB4041691)
  2. 2017-10 x86 �١��� �����ƥ��� Windows 10 Version 1607 �����ѹ����ץ������ (KB4041691)
  3. 2017-10 x64 �١��� �����ƥ��� Windows 10 Version 1607 �����ѹ����ץ������ (KB4041691)
  4. 2017-10 x86 �١��� �����ƥ��� Windows 10 Version 1703 �����ѹ����ץ������ (KB4041676)
  5. 2017-10 x64 �١��� �����ƥ��� Windows 10 Version 1703 �����ѹ����ץ������ (KB4041676)
�Ȥ������Ĥ�δ�֤��¾��
  1. 2017-10 x64 �١��� �����ƥ��� Windows Server 2016 �κ�ʬ�����ץ������ (KB4041691)
  2. 2017-10 x86 �١��� �����ƥ��� Windows 10 Version 1607 �κ�ʬ�����ץ������ (KB4041691)
  3. 2017-10 x64 �١��� �����ƥ��� Windows 10 Version 1607 �κ�ʬ�����ץ������ (KB4041691)
  4. 2017-10 x86 �١��� �����ƥ��� Windows 10 Version 1703 �κ�ʬ�����ץ������ (KB4041676)
  5. 2017-10 x64 �١��� �����ƥ��� Windows 10 Version 1703 �κ�ʬ�����ץ������ (KB4041676)
�Ȥ��� 2���åȤ��ۿ�����Ƥ��ޤ����о� OS �ˤ����ѤȺ�ʬ��ξ���򿩤٤Ƥ��ޤä���

���Ǥ����ѹ����ץ������ϥޥ��������եȤˤ�ä� �ִ����ڤ�� �Ȥ���Ƥ��뤿�ᡢWSUS ��Ʊ����Ԥ����ۿ�����ߤ���롣

�������ʬ��Ǻ��Ǥ�������sem ���󤫤饳���ȤˤƤ����������������褦�ˡ�DB ¦�� remote query timeout ���ͤ����ͤ�600 ����̵���¤� 0 ���ѹ������Ȥ���̵���˴�λ����褦�ˤʤ�ޤ�����
���դǤ���
USE SUSDB ;
GO
EXEC sp_configure 'remote query timeout', 0 ;
GO
RECONFIGURE ;
GO

��������������ʪ�� PowerShell �Υ�����ץ� �ե����� ��*.ps1�� �� SQL Serve �ѤΥ�����ץ� �ե����� ��*.sql�� ��ʬ�����Ƥ��ޤäƤ��롣
�ɤ����ʤ� PowerShell �˰��ܲ���������͡�
��ǰ�ʤ��� Windows Server 2008 R2��WSUS 3.0��Windows Internal Database �Ȥ����椬 WSUS �Ķ��Ǥ� PowerShell �ˤ��������������줭�äƤ��ʤ������ʪ�餷����WSUS �ϥ�����֥���ɤ߹���� .NET Ū�ʥ��ץ������򤷡�SQL Server �� sqlcmd.exe �� sql �ե������ή��������ˤʤ�褦�Ǥ���
������ sqlcmd.exe �� Windows Internal Database �Ǥϥ��󥹥ȡ��뤵��ʤ��褦�ʤΤ�����̵���Ǥ� SQL Server Management Studio Express �Ȥ��򥤥󥹥ȡ��뤷�ʤ��Ȥʤ�ޤ���͡�
Windows Server 2012 �� WSUS 4.0 �Ǥ� PowerShell �Υ��ޥ�ɥ�åȤ��Ѱդ���Ƥ���ߤ����Ǥ��͡�
Windows Internal Database �Ϥɤ��ʤ�Ǥ��礦�������� SQL Server 2012 �ʹߤʤ� PowerShell �Ѥ� sqlps �⥸�塼��⤢��ޤ�����WID �Ǥϥ���ʤ�Ǥ��礦�������� ���ᤫ��狼���͡�����

������ץ� ���󥿡��ˤ��� Re-index the WSUS 3.0 Database �äƤ��� SQL �ϥǡ����١����Υ���ǥå�����ƹ������뤿��Υ��ƥʥ� ������ץȤ�����ɡ������Ĥ�ή���� OS ��ɽ���� Windows 10 ���� Vista ����ä��㤦�衣
tbComputerTargetDetail �ơ��֥�� OSDescription ������Ƥ���ä��㤦�����͡�
�ʤΤ������Υ�����ץȤȹ��Τ����Ƥߤ���
USE SUSDB; 
GO 
SET NOCOUNT ON;

-- Rebuild or reorganize indexes based on their fragmentation levels 
DECLARE @work_to_do TABLE ( 
    objectid int 
    , indexid int 
    , pagedensity float 
    , fragmentation float 
    , numrows int 
) 

DECLARE @objectid int; 
DECLARE @indexid int; 
DECLARE @schemaname nvarchar(130);  
DECLARE @objectname nvarchar(130);  
DECLARE @indexname nvarchar(130);  
DECLARE @numrows int 
DECLARE @density float; 
DECLARE @fragmentation float; 
DECLARE @command nvarchar(4000);  
DECLARE @fillfactorset bit 
DECLARE @numpages int 
 
-- Select indexes that need to be defragmented based on the following 
-- * Page density is low 
-- * External fragmentation is high in relation to index size 
PRINT 'Estimating fragmentation: Begin. ' + convert(nvarchar, getdate(), 121)  
INSERT @work_to_do 
SELECT 
    f.object_id 
    , index_id 
    , avg_page_space_used_in_percent 
    , avg_fragmentation_in_percent 
    , record_count 
FROM  
    sys.dm_db_index_physical_stats (DB_ID(), NULL, NULL , NULL, 'SAMPLED') AS f 
WHERE 
    (f.avg_page_space_used_in_percent   < 85.0 and f.avg_page_space_used_in_percent/100.0 * page_count   < page_count - 1) 
    or (f.page_count > 50 and f.avg_fragmentation_in_percent > 15.0) 
    or (f.page_count > 10 and f.avg_fragmentation_in_percent > 80.0) 

PRINT 'Number of indexes to rebuild: ' + cast(@@ROWCOUNT as nvarchar(20)) 

PRINT 'Estimating fragmentation: End. ' + convert(nvarchar, getdate(), 121) 

SELECT @numpages = sum(ps.used_page_count) 
FROM 
    @work_to_do AS fi 
    INNER JOIN sys.indexes AS i ON fi.objectid = i.object_id and fi.indexid = i.index_id 
    INNER JOIN sys.dm_db_partition_stats AS ps on i.object_id = ps.object_id and i.index_id = ps.index_id 

-- Declare the cursor for the list of indexes to be processed. 
DECLARE curIndexes CURSOR FOR SELECT * FROM @work_to_do 

-- Open the cursor. 
OPEN curIndexes 

-- Loop through the indexes 
WHILE (1=1) 
BEGIN 
    FETCH NEXT FROM curIndexes 
    INTO @objectid, @indexid, @density, @fragmentation, @numrows; 
    IF @@FETCH_STATUS   < 0 BREAK; 

    SELECT  
        @objectname = QUOTENAME(o.name) 
        , @schemaname = QUOTENAME(s.name) 
    FROM  
        sys.objects AS o 
        INNER JOIN sys.schemas as s ON s.schema_id = o.schema_id 
    WHERE  
        o.object_id = @objectid; 

    SELECT  
        @indexname = QUOTENAME(name) 
        , @fillfactorset = CASE fill_factor WHEN 0 THEN 0 ELSE 1 END 
    FROM  
        sys.indexes 
    WHERE 
        object_id = @objectid AND index_id = @indexid; 

    IF ((@density BETWEEN 75.0 AND 85.0) AND @fillfactorset = 1) OR (@fragmentation   < 30.0) 
        SET @command = N'ALTER INDEX ' + @indexname + N' ON ' + @schemaname + N'.' + @objectname + N' REORGANIZE'; 
    ELSE IF @numrows >= 5000 AND @fillfactorset = 0 
        SET @command = N'ALTER INDEX ' + @indexname + N' ON ' + @schemaname + N'.' + @objectname + N' REBUILD WITH (FILLFACTOR = 90)'; 
    ELSE 
        SET @command = N'ALTER INDEX ' + @indexname + N' ON ' + @schemaname + N'.' + @objectname + N' REBUILD'; 
    PRINT convert(nvarchar, getdate(), 121) + N' Executing: ' + @command; 
    EXEC (@command); 
    PRINT convert(nvarchar, getdate(), 121) + N' Done.'; 
END 

-- Close and deallocate the cursor. 
CLOSE curIndexes; 
DEALLOCATE curIndexes; 

IF EXISTS (SELECT * FROM @work_to_do) 
BEGIN 
    PRINT 'Estimated number of pages in fragmented indexes: ' + cast(@numpages as nvarchar(20)) 
    SELECT @numpages = @numpages - sum(ps.used_page_count) 
    FROM 
        @work_to_do AS fi 
        INNER JOIN sys.indexes AS i ON fi.objectid = i.object_id and fi.indexid = i.index_id 
        INNER JOIN sys.dm_db_partition_stats AS ps on i.object_id = ps.object_id and i.index_id = ps.index_id 
    PRINT 'Estimated number of pages freed: ' + cast(@numpages as nvarchar(20)) 
END 
GO 

-- �Զ���б� ��������

-- Windows 8.1 �� PC �������
UPDATE [SUSDB].[dbo].[tbComputerTargetDetail]
SET [OSDescription] = 'Windows 8.1'
WHERE [OSMajorVersion] = '6'
AND [OSMinorVersion] = '3'
AND [OldProductType] = '1'
AND ([OSDescription]   <> 'Windows 8.1' or [OSDescription] IS NULL) 

-- Windows Server 2012 R2 �� PC �������
UPDATE [SUSDB].[dbo].[tbComputerTargetDetail]
SET [OSDescription] = 'Windows Server 2012 R2'
WHERE [OSMajorVersion] = '6'
AND [OSMinorVersion] = '3'
AND [OldProductType]   <> '1'
AND ([OSDescription]   <> 'Windows Server 2012 R2' or [OSDescription] IS NULL) 

-- Windows 10 �� PC �������
UPDATE [SUSDB].[dbo].[tbComputerTargetDetail] 
SET [OSDescription] = 'Windows 10' 
WHERE [OSMajorVersion] = '10' 
AND [OSMinorVersion] = '0' 
AND [OldProductType] = '1' 
AND ([OSDescription]   <> 'Windows 10' or [OSDescription] IS NULL)
-- �Զ���б� �����ޤ� --


--Update all statistics 
PRINT 'Updating all statistics.' + convert(nvarchar, getdate(), 121)  
EXEC sp_updatestats 
PRINT 'Done updating statistics.' + convert(nvarchar, getdate(), 121)  
GO 
�ޤ��ޤ������󤸤�ʤ���

�ޤ��͡�WSUS ���������Ǥ�ǡ����̤�¿�����ƽ�����³���ԲĤˤʤäƤ�ä��ä���ʤ��ȻפäƤޤ��衣
�����Ϥޤ��ڴ�Ū�Ǥ���
�����������ץ���������˹Ԥ��Ƥ��뤷���饤����Ȥ� Windows Update �ν������Ǥ��Ƥ��ޤ�����

�Ȥϸ�������ʥͥåȤγ��˥����֤��Ʋ����ξ������ä����ޤ�����
���γ�ˤϤɤ���� Technet �Υե������Ǥ���������

Getting past WSUS Cleanup Wizard time out, removing unnecessary updates.

�ʤ󤫤͡�WSUS 3.0 ���ȤäƤ���ǡ����١��������äƤ��륹�ȥ��� �ץ��������㡼�� spGetObsoleteUpdatesToCleanup �äƤΤ�����餷����Ǥ��衣
Get Obsolete Updates �äƸ������餤������Ť�����������������äƤ��Ȥ���͡�
�ǡ������ĤϥҥåȤ������������ ID ��������Ϥ��롣
������ spDeleteUpdate �äƤ������ȥ��� �ץ���������ΰ��� @localUpdateID �˥ҥåȤ��� ID ��Ϳ���Ƥ�����ȹ�������Υ쥳���ɤ��������äƤ����ä餷����

���� spGetObsoleteUpdatesToCleanup �ǿҾ露��ʤ����ι������󤬽��Ϥ����Τǡ���̤򤤤ä������ơ��֥����Ͽ���ơ�WHILE ��Ȥäư�Ĥ��� spDeleteUpdate ���Ϥ��Ƥ�����äƤ����Τ����Υ�󥯡�

WSUS Cleanup - can this be done is phases?

���å���ȤޤȤ��Ȥ���ʴ�����
use SUSDB;
GO

DECLARE @var1 INT
DECLARE @msg nvarchar(100)

-- spGetObsoleteUpdatesToCleanup �η�̤����ơ��֥� #results �˳�Ǽ
CREATE TABLE #results(Col1 INT)
INSERT INTO #results(Col1) EXEC spGetObsoleteUpdatesToCleanup

DECLARE WC Cursor FOR
    SELECT Col1 FROM #results
	
OPEN WC
FETCH NEXT FROM WC
INTO @var1

WHILE(@@FETCH_STATUS > -1)
BEGIN
    SET @msg = 'Deleting ' + CONVERT(varchar(10), @var1)
    RAISERROR(@msg, 0, 1) WITH NOWAIT EXEC spDeleteUpdate @localUpdateID=@var1
    FETCH NEXT FROM WC
    INTO @var1
END

CLOSE WC

DEALLOCATE WC

DROP TABLE #results

����� sql �ե�����Ȥ�����¸���� Management Studio �Ȥ���ή���Ƥ�����Ф�����͡�

����Ǥɤ�������̤�����Τ��狼��ʤ�����ɡ�

-- �ɵ��Ǥ� --

���η��褷�ޤ����Τǥ�󥯤��Ƥ����ޤ���

WSUS 3.0 SP2 on Windows Server 2008 R2 ��Windows Internal Database ���ѡ�

WSUS �Υ��꡼�󥢥åפϻ��֤������롣
�ۥ�Ȥˤ����롣
�����Ԥ�������ǽ���⤢�롣

���δ֤��äȴ����Ԥǥ������󤷤ƴ����ġ���򳫤��Ƥ��뤳�Ȥˤʤ롣
��⡼�� �ǥ����ȥåפ������Ƥ������� PC ���Ÿ����ڤ�ʤ��ʤäƤ��ޤ�����������ȸ��äƥ����С��˥������󤷤äѤʤ��äƤΤ��������ʤ���
�ʤ�Х������Ǽ�ư�¹Ԥ���Ф����󤸤�ʤ������������ȡ�


�Ȥ��פäƤ�����ޥ��������եȤΥ�����ץ� ���󥿡��ˤ���ޤ����衣 ������ Scriptyng Guys ����
WSUS Cleanup
https://gallery.technet.microsoft.com/ScriptCenter/fd39c7d4-05bb-4c2d-8a99-f92ca8d08218/

[reflection.assembly]::LoadWithPartialName("Microsoft.UpdateServices.Administration")` 
 | out-null 
$wsus = [Microsoft.UpdateServices.Administration.AdminProxy]::GetUpdateServer(); 
$cleanupScope = new-object Microsoft.UpdateServices.Administration.CleanupScope; 
$cleanupScope.DeclineSupersededUpdates = $true        
$cleanupScope.DeclineExpiredUpdates         = $true 
$cleanupScope.CleanupObsoleteUpdates     = $true 
$cleanupScope.CompressUpdates                  = $true 
#$cleanupScope.CleanupObsoleteComputers = $true 
$cleanupScope.CleanupUnneededContentFiles = $true 
$cleanupManager = $wsus.GetCleanupManager(); 
$cleanupManager.PerformCleanup($cleanupScope);
�����Ĥ� ps1 �ե�����ˤ��ƥ����� �������塼�顼����Ͽ�������Ȥ����äǤ����͡�
������ץȤ�ѥäȸ��Ƥ����ˤ狼��ޤ�����[Refrection.assembly]::LoadWithPartialName() �� Microsoft.UpdateServices.Administration ���ɤ߹���Ǥ���Τǡ�PowerShell �餷���ʤ���ˡ�Ǥ���͡�
Windows Server 2012 �� WSUS �� PowerShell �ѤΥ⥸�塼�뤬����餷���ΤǤ�����WSUS 3.0 �ˤ�¸�ߤ��ʤ��� �����饢����֥���ɤ߹���ǽ�����Ԥ����Ȥ������ȤǤ��礦��

������ץȤΤۤȤ�ɤ���ʬ�ϥ��꡼�󥢥å� ���������ɤ� UI �ˤ�������å��ܥå����ι��ܤäݤ��Ǥ��͡� �����Υץ��ѥƥ��� $true �ޤ��� $false �����ꤷ�ƽ������ܤ���ꤹ��櫓�Ǥ��͡�
����ä� UI ��ɽ������Ƥ���������ܤȿ������ʤ�����ɡ��ޤ����꡼�󥢥åפ��ϰϤǤ��礦��
CleanupObsoleteComputers �������ȥ����Ȥ���Ƥޤ��� ���Ф餯 ��30�����ä����� �����������Ƥ��ʤ�����ԥ塼�����ξ����������äƽ����Ǥ��礦����

��������̵�ͼ¹Ԥ���Τ����� try-catch ��Ȥäơ����顼�⥤�٥�ȥ����˽��Ϥ���褦�ˤ����餤���󤸤�ʤ����͡�

WSUS 3.0 SP2 on Windows Server 2008 R2 ��Windows Internal Database ���ѡ�

WSUS �Υ��ƥʥ󥹤򤷤褦�Ȼפä���
WSUS 3.0 �ˤ� [���꡼��ʥå� ����������] �Ȥ��� GUI �ġ��뤬���롣
�¹Ԥ��Ƥߤ���
�����ʤ���
��ī�ޤ����֤�����
�ǡ����١��� ���顼�ǥ����ॢ���Ȥ��Ƥ�����

��������Ĵ�٤Ʋ�ä���
���ƥʥ󥹼��Τ򤷤Ф餯���ܤäƤ������ᡢ������ƥʥ󥹤˴ؤ������ȥ����ॢ���Ȥ��Ф����к����󤬥����㥴����ȤʤäƤ��ޤä���

�ޤ��ϥ��ܤäƤ���������ƥʥ󥹤���Ϥ�Ƥߤ롣

WSUS �������󥽡����ư���롣
���Ǥ�¸�ߤ��ʤ��Ť� Windows �˴ؤ��빹�������������롣
[Update Services]-[�����С�]-[Update[���ץ����]-[���ʤȥ��饹] �򳫤����ȤäƤ��ʤ��Ť� Windows ���оݤ��鳰������

IE �θŤ�����Ū�ʥ������ƥ���������� "����" �ˤ��롣
Japan WSUS Support Team blog "��IE ������Ū�ʥ������ƥ������ץ������פ���ǧ����Ƥ���ȡ������ץ������θ��н������� WSUS ���饤����Ȥ� CPU ����Ψ���⤯�ʤ�"
���������θ�����̰����ϻȤ����꤬�������롣 ������̤Υꥹ�Ȥ���ϿƻҴط���ʬ����ʤ��� ����ƿƻҴط���ɽ�����������ɽ������Ƥۤ����ä���


����ǺƤӥ��꡼�󥢥å� ���������ɤ�¹Ԥ��Ƥߤ���
��äѤ꥿���ॢ���Ȥ��롣

�Ǥ� DB �Υ���ǥå�����ƹ��ۤ��Ƥߤ褦�� WSUS �ȸ����ɾ���� DB �Υ쥳���ɤʤΤ����顢���粽���� DB ���������Ƥ��зڤ��ʤ�Ϥ�����

Japan WSUS Support Team blog ��WSUS DB ����ǥå����κƹ����μ��ˤĤ��ơ�
�����Ĥ� SQL �ʤΤ� Management Studio ����¹ԡ�
���ޤ���֤ϳݤ���ʤ��ä���


���꡼�󥢥å� ���������ɤ��Ƥߤ���
��äѤ꥿���ॢ���Ȥ��롣

¾�ˤ�����Ϥʤ�����������
SQL �� DB ��ľ�ܲ�������äƤΤϤɤ�����
WSUS DB �ˤϥ��ƥʥ��ѤΥ��ȥ��� �ץ��������㡼���Ѱդ���Ƥ���ΤǤϤʤ�����������
PowerShell �� Update Service �˲�������äƤΤϤɤ�����
GUI �� CUI �ˤʤä������Ǥ��⤷��ʤ����������󥽡����ȯ�����륿���ॢ���Ȥϲ���Ǥ��뤫�⤷��ʤ���

�ޤ������󥸤�³����������

-- �ɵ��Ǥ� --

���η��褷�ޤ����Τǥ�󥯤��Ƥ����ޤ���

WSUS 3.0 SP2 on Windows Server 2008 R2 ��Windows Internal Database ���ѡ�

�����ġ���� [Windows Server Update Services] �ǥ���ԥ塼�����ΰ����򸫤Ƥߤ�� Windows 10 �� Vista �Ȥ���ɽ������Ƥ��ޤ��� ��Windows 8.1 ���ɽ������Ƥ����餷���� WSUS �Υ��Ƥ򥵥ݤäƤ����Τǵ��Ť��ʤ��ä���

Microsoft ����� WSUS 3.0 ���Զ��������� Hotfix �������Ĥ��ФƤ���褦�������ɤ� Hotfix �Ǥ⸽�ݤϼ���ʤ���
���ʤߤˤ��δĶ��ˤ��Ǥ�Ŭ�Ѥ��Ƥ��� Hotfix �ϰʲ��� 4�ġ�


���Τ��� 4���ܤ� KB2938066 �� HotFix �Ǥϡ�Windows Server 2012 R2��Windows 8.1��Windows Storage Server 2012 ��ɽ��̾��������餷���Τ�����������δĶ��Ǥ� Windows 10 �θ�ɽ���ϼ��äƤ��ʤ���
Japan WSUS Support Team Blog ��WSUS ���󥽡�����̤ǥ��ڥ졼�ƥ��� �����ƥ�̾��������ɽ������ʤ����ݤˤĤ��ơ�


�����Ǹ��Ĥ����Τ��ʲ��ξ���
Windows Server Essentials Tips & Tricks ��Windows 10 on WSUS Shows as Windows Vista��

WSUS ���ȤäƤ��� SUSDB �Ȥ����ǡ����١�������Υơ��֥� [tbComputerTargetDetail] ����ˤϤ��δĶ��� WSUS ����Ͽ���줿����ԥ塼�����ξ������äƤ���Τǡ������Ĥ�������äƴ�������
�Ƥä��� Windows OS �˴ؤ���ޥ����� �ơ��֥�Τ褦�ʤ�Τ����äƤ����Ĥ�������Τ��Ȼפä�������ʪ�ξ����������褦����
UPDATE [SUSDB].[dbo].[tbComputerTargetDetail]
SET [OSDescription] = 'Windows 10'
WHERE [OSMajorVersion] = '10'
AND [OSMinorVersion] = '0'
AND [OldProductType] = '1'
AND ([OSDescription] <> 'Windows 10' or [OSDescription] IS NULL)


�����ʲ��Τ褦�ˤ��ƽ���������
�嵭�Υ����ɤ� SQL �ʤΤǡ������Ĥ�¹Ԥ���ɬ�פ����롣
���ޥ�ɥ饤��Ǽ¹Ԥ���Ф����Τ�����ɡ�����������õ���������Ȥ����ʤΤ� SQL Server Management Studio ��Ȥ���
Windows Internal Database �ϥ�⡼�Ȥ����������Ǥ��ʤ��餷���Τǥ����С����Ȥ˥��󥹥ȡ����Ԥ�ɬ�פ�����餷����
���� WSUS �Υ����С��ˤ� SQL Server 2008 R2 Management Studio Express �򥤥󥹥ȡ��뤷����

  1. SQL Server �إ������󤹤롣

�����С��μ��� : �ǡ����١��� ���󥸥�
�����С�̾ : \\.\pipe\mssql$microsoft##ssee\sql\query
ǧ�� : Windows ǧ��
  1. [������������] ����Υ����ɤ�Ž���դ��¹Ԥ��롣


���ä����ʤΤ���Υ֥����ˤ���褦�� Windows 8.1 �� Windows Server 2012 R2 �˴ؤ��뽤��������롣
̵���˽�λ��

Windows Update �� WSUS ��ͳ�ǹԤäƤ��롣 �����оݤΥ��饹�� �ֽ��פʹ����� ��٥�Τ�Τ����ˤ��Ƥ���Τǡ��ɥ饤�Ф����Ū�ʹ��������Τ���ʤ��� ��Ǥ��ޤ�����Ū�� Windows Update �򤷤����ʤ뤳�Ȥ�����Τǡ�[���٤ƤΥץ������] ���� Windows Update ��¹Ԥ��������Ԥˤ�����ΤǤϤʤ� Microsoft �� Windows Update �����С��ǹ����ץ��������ǧ���롣
�����ʤ��餤�������ʹ�����ί�ޤäƤ���櫓�ǡ�������ʧ���Ф��٤����󥹥ȡ��뤷�Ƥ�����

�����ץ���������ˤϥ��󥹥ȡ����� Windows �κƵ�ư��ɬ�פˤʤ��Τ⤢�롣
������������ Windows Update �η��ɽ�����̤� �֥���ԥ塼������Ƶ�ư���Ƥ��������� �Ȥ�����å������ȤȤ�� [�������Ƶ�ư] �Ȥ����ܥ���ɽ������롣
̵�뤷�Ƥ���Ⱥ��٤ϺƵ�ư�ޤǤΥ�����ȥ�����ɽ������Ƥ��뾮���ʥ����������ޤǽФƤ��롣
�����ޤǺƵ�ư���������Τʤ�����ʤ���
[�������Ƶ�ư] �Υܥ���򥯥�å����롣
�����ʤ��� Windows ������åȥ����� �ץ����������롣
�����Dz��̤��äѤ��˥����С��쥤������å�������


1�ĤΥץ�����ब�Ĥ����Ƥ��ޤ���
----------------------------------------------------
(�Ե���) Windows Update
���Υץ������ˤ�ꡢ����åȥ�����Ǥ��ޤ���
----------------------------------------------------
[��������åȥ�����] [����󥻥�]

�Ƶ�ư��ɬ�פäƸ���줿���齾�ä��Τˡ�����

ͼ�� Windows 8.1 + Office 2013 �� PC �� 2016ǯ6��� Windows Update ��Ŭ�ѡ�
���� Outlook 2013 ��ư���褦�Ȥ���ȡ���ư���Υ��ץ�å�����̤�ɽ������Ƥ���֤� "Microsoft Outlook ��ư�����ߤ��ޤ���" �Υ������������Ф�����Ƥ��ޤ��褦�ˤʤä���
���٥�Ȥˤ� Application Error ����Ͽ����Ƥ��ơ�OUTLOOK.EXE �� mso.dll �Ǿ㳲��ȯ�������㳰������ 0xc0000005 �����Ϥ���Ƥ��롣
ͼ�٤ι����ץ������ϰʲ����̤ꡣ ̵���ʤΤǽ��˺���������줿���㹹���ʳ���򤸤äƤ����ǽ�����礭����
�Ȥޤ����̤ι�����Ŭ�Ѥ�����
�ꥹ�ȤκǸ�� PowerPoint 2013 �Ѥ� KB3023058 �� Access 2013 �Ѥ� KB3054795 ����ʣ���Ƥ��뤬����������ˤϤ�����Ͽ����Ƥ�����
���줬������Ȼ�����˱�ä�ɽ������Ƥ���Τ��狼��ʤ����������������򤷤���˺Ƶ�ư�����ȸ���졢�Ƶ�ư��� Windows Update �β��� �ʥ��㡼��� Windows Update �ǤϤʤ�����ȥ����� �ѥͥ뤫��Ԥ� Windows Update ��ȤäƤ�� ��ɽ�������Ƥߤ�� 2�Ĥι����ץ�����बɽ������Ƥ��ơ�[���󥹥ȡ���] �ܥ���򲡤������֤� �ֺǿ��Ǥ��� �ߤ�����ɽ�����ڤ��ؤ�ä����������롣
�ۥ�Ȥ˰�֤��ä��Τ��̿���ä������⤦���ٹ����ץ������θ����򤫤��Ƥߤ����ä˲���ʤ��ä��Τǥ���åȥ����󤷤���
����Ǻ����ˤʤä� Outlook ����ư���Ƥ��ʤ��Ȥ���������

Ĵ�٤�Τ����ݤ����ɡ�������ˤ� MS15-059 �˴�Ϣ���빹���ץ����������äƤ���󤸤�ʤ����ʤ����������Ƥ��롣
MS15-059 �� Microsoft Office ���ȼ����ˤ���⡼�� �����ɤ��¹Ԥ��������ؤ��к��Ȥ����äƤ��ơ��ֽ��������Ƥ��ʤ����꤬���� �Ȥ��ʤ�Ȥ�������Ƥ��롣

�Ȥˤ⤫���ˤ� Outlook ����ư���ʤ��Ƥ��äˤʤ��Τ� [Ctrl] �����򲡤��ʤ��� Outlook ��ư�����ƥ�����⡼�ɤǤε�ư���ߤƤߤ�⡢�����ʤ����顼�� ��ư�Ǥ��ʤ���
³���� Outlook �������Ƥߤ��Ȥ������٤�̵���˵�ư�Ǥ�����

��������ưľ��� ��̵���ˤʤä����ɥ���� �Ȥ��������ȥ�Υ�����������ɽ�����졢 "Microsoft Exchange ���ɥ���" �� Outlook �򥯥�å��夵�����Ȥ���̵�������줿�����Τ���Ƥ��롣
���Υ��ɥ���������Ȥ��� �֥�˥ե����� ��å������󥰡��Żҥ᡼����ĥ롼�롢�������������Ѥ˴ؤ��� Exchange ���ݡ��ȵ�ǽ�Ǥ��� �Ȥ��롣 ���붲��ͭ�������Ƥߤơ�Outlook �򤤤ä���λ�����Ƥ�����ٵ�ư�����Ƥߤ���
̵����ư��

����� Windows Update ���ط����Ƥ����Τ��ɤ����褯�狼��󤬡��ޤ�̵���˵�ư���Ƥ褫�ä���

�������� 5��19���˸�������Ƥ� Surface Pro 3 �Υե����०������Ǹ�˹������Ȥ�����

WSUS �� Windows 2000 Server �� Windows Server 2003 ��DZ��Ѥ��ޤ���
Ʊ���˻��Ѥ���ǡ����١����ϡ�SQL Server 2000 �Τ����줫�Υ��ǥ������Ǥ���
SQL Server �Ȥ���̵���� MSDE �����򤷤���硢Windows 2000 Server �Ǥ���� SQL Server 2000 Desktop Engine��MSDE �Ȥ� MSDE2000 �ȸƤФ�Ƥ���ˤ����Ѥ���Windows Server 2003 �Ǥ����Ʊ���� SQL Server 2000 Desktop Engine �Ȥ���̾�ΤǤϤ���ޤ����ºݤˤ������ʤ� WMSDE��WSUS �Υ��󥹥ȡ��륻�åȤ�Ʊ������Ƥ뤽���Ǥ��� �Ȥ������ʤ����Ѥ��ޤ����ʥ�����δĶ��� WSUS ��Ƴ�����Ƥʤ��Τ��Х�Х���ͣ���
WSUS �� FAQ

MSDE2000 �� DB �Υե����륵������ 2GB ���¤�����ޤ��Τǡ�Windows 2000 Server �� WSUS ���Ѥ�����Ϥ����줳�����¤˰��ä����äƤ��ޤ��ޤ����������򤹤�ˤ� MSDE2000 �ǤϤʤ���ͭ���Υ��ǥ�������SQL Server 2000 Standard �ʾ�ˤ�Ȥ�ɬ�פ�����ޤ���
Windows Server 2003 �ȶ��˻��Ѥ��� WMSDE �� WSUS ������˱��Ѥ��뤿��� 2GB �����¤��������Ƥޤ���
������ Windows Server 2003 + WSUS + WMSDE �����ܸ�Ķ��DZ��Ѥ���ȡ�WMSDE �� 2GB ���¤��ФƤ��ޤ��Х�������ޤ���
Windows Server Update Services ���ܸ��Ǥ� SQL Server 2000 Desktop Engine (Windows) �ǡ����١����������� 2G �Х��Ȥ����¤��������ˤĤ���
WSUS �򿷵��˥��󥹥ȡ��뤹����� WSUSSetup.exe /l:ENU �Ȥ������ץ�����Ĥ��ƥ��󥹥ȡ���򤹤�в���Ǥ��ޤ���
���Ǥ� WSUS ��Ƴ�����Ƥ���Ķ��Dz��򤹤�ˤϥޥ��������եȤΥ��ݡ��Ⱦ����WMSDE �Υǥե���ȤΥǡ����١�����������Ѥ��� Windows Server Update Services ��Ÿ������ȥ��顼 ���٥�� 386 ����Ӥ���¾��Ʊ�������꤬ȯ�������פ˽񤤤Ƥ����̤ꡢWMSDE �Υǡ����١�����Хå����åפ���WSUS �򥢥󥤥󥹥ȡ��롣WSUS ����Υ��ץ����Ǻƥ��󥹥ȡ��롣WSUS �� IIS �Υ����ӥ��򥹥ȥåפ��ơ��Хå����åפ��Ƥ������ǡ����١�����������IIS �� WSUS �Υ����ӥ���Ƴ���
�Ȥ�����Ȥ�Ԥ��ޤ���
�������饦��

�����Υڡ����Υȥåץ�

'); label.html('\ �饤�֥ɥ��֥����ǤϹ���Υѡ����ʥ饤�������¬��Τ��᥯�å���(cookie)����Ѥ��Ƥ��ޤ���
\ ���ΥХʡ����Ĥ��뤫�������³���뤳�Ȥǥ��å����λ��Ѥ�ǧ������������ΤȤ����Ƥ��������ޤ���
\ �ޤ��������ͤ����ҥѡ��ȥʡ���Ȥˤ��������μ�³���ˤ�ꡢ���å����λ��Ѥ�������뤳�Ȥ�Ǥ��ޤ���
\ �ܺ٤��饤�֥ɥ����ѵ���򤴳�ǧ����������\ '); banner.append(label); var closeButton = $('