Скачать презентацию WSUS MU and WU oh my SMB Technology Скачать презентацию WSUS MU and WU oh my SMB Technology

7f385b2366c276b9a9b4410ae4899017.ppt

  • Количество слайдов: 78

WSUS, MU and WU oh my! SMB Technology Network Susan Bradley, Patchaholic WSUS, MU and WU oh my! SMB Technology Network Susan Bradley, Patchaholic

We’re going to assume • You’ve done your homework • http: //www. vladville. com/2005/12/sbs-show-8 We’re going to assume • You’ve done your homework • http: //www. vladville. com/2005/12/sbs-show-8 -patch-management-with-susan. html • Think risk management

WU and MU The basics of Windows and Microsoft Update WU and MU The basics of Windows and Microsoft Update

WU versus MU • Windows Update – Just patches Windows – http: //update. microsoft. WU versus MU • Windows Update – Just patches Windows – http: //update. microsoft. com/windowsupdate • Microsoft update – – – http: //update. microsoft. com/microsoftupdate Patches [at this time] Windows Office Exchange More to come • Engine is the same - Troubleshoot the same

MU is optional • Opt in to MU MU is optional • Opt in to MU

MU steps • • • Accept EULA Need to install software to get it MU steps • • • Accept EULA Need to install software to get it to use it Downloads active. X files WindowsDownloaded Program Files The following Active. X controls will be installed: – MUWeb. Control Class – WUWeb. Control Class

Is it safe? • If first visit will get ‘authenticode’ prompt Is it safe? • If first visit will get ‘authenticode’ prompt

Checking for updates Checking for updates

Two options to install • Express Install: This option is recommended and provides the Two options to install • Express Install: This option is recommended and provides the easiest method for installing high priority updates. • Custom Install: This option enables a user to select which specific updates are installed.

Better ‘history’ interface Better ‘history’ interface

Revert to WU • Go back • Click on Change settings • Check the Revert to WU • Go back • Click on Change settings • Check the box

Test connectivity • https: //update. microsoft. com/v 6/Client. Web. Service • If you see Test connectivity • https: //update. microsoft. com/v 6/Client. Web. Service • If you see this: • You are good to go

File updated • Windows Genuine Advantage control • Windows Installer 3. 1 • Background File updated • Windows Genuine Advantage control • Windows Installer 3. 1 • Background Intelligent Transfer Service (BITS) update

Auto updates options • Download • Will allow you to install them at a Auto updates options • Download • Will allow you to install them at a later time

But don’t forget the help files But don’t forget the help files

Troubleshooting • SUS Support file • http: //download. microsoft. com/download/ b/b/1/bb 139 fcb-4 aac-4 Troubleshooting • SUS Support file • http: //download. microsoft. com/download/ b/b/1/bb 139 fcb-4 aac-4 fe 5 -a 57930 b 0 bd 915706/MPSRPT_SUS. EXE • Operating System and Service Pack Level – Right-click My Computer and select Properties • Internet Explorer Version and Service Pack Level – Check the Help > About interface in Internet Explorer

Items to gather for troubleshooting • Internet Explorer Cipher Strength – Check the Help Items to gather for troubleshooting • Internet Explorer Cipher Strength – Check the Help > About interface in Internet Explorer • Network Configuration (local area network [LAN], DSL, Firewall, Etc) • Tried using the Windows Update v 6 Troubleshooter? • Has anything changed on the machine recently?

In the SUS reporting tool • Windows Update logs (both Version 4 and Version In the SUS reporting tool • Windows Update logs (both Version 4 and Version 6) • Reporting. Events. log this shows what error was returned to our servers. • Internet Explorer Registry key data to help with proxy or access issues • Windows Update Registry key to help with policy and Automatic Updates issues • Service Output file to show what services are running on the machine and which are stopped.

SUS reporting tool • Application and System event logs • BITS Admin log to SUS reporting tool • Application and System event logs • BITS Admin log to help investigate download issues • Update. exe installation logs to help with installation failure issues • Setuplog to help investigate installation issues • Setupapi. log to help investigate driver installation issues

Log files • Start, then click Run, type WINDOWSUPDATE. LOG and then click OK. Log files • Start, then click Run, type WINDOWSUPDATE. LOG and then click OK. • windows update. log – Is the v 4 version • Windows. Update. log – Is the v 6 version

Common errors • 0 x 80072 EE 2 – 0 x 80072 F 78 Common errors • 0 x 80072 EE 2 – 0 x 80072 F 78 – 0 x 80072 F 76 – 0 x 80072 EFD – 836941 - You receive an "Error 0 x 80072 EE 2" or "Error 0 x 80072 EFD" error message when you try to use Windows Update – Add Windows Update Web sites to the Trusted Sites list

Common Errors • 0 x 80070424 – How to troubleshoot problems accessing secure Web Common Errors • 0 x 80070424 – How to troubleshoot problems accessing secure Web pages with Internet Explorer 6 Service Pack 2 (870700) – This Windows Update error code is caused by unregistered DLL files for Windows Update or Internet Explorer. On Windows XP SP 2 and later this may be resolved using the “iexplore /rereg” command.

Common Errors • 0 x 80244001/0 x 800 A 01 AD – These Windows Common Errors • 0 x 80244001/0 x 800 A 01 AD – These Windows Update error codes can be caused by a damaged Windows XP XML subsystem. The first step to take is to reregister this component using the command “regsvr 32 msxml 3. dll”. If this does not resolve the issue, check for more recently updated MSXML Parser and MSXML components from the following link: http: //www. microsoft. com/downloads/resul ts. aspx? product. ID=&freetext=msxml&Disp lay. Lang=en

Common Errors • When accessing the Update site, you receive the 0 x 800 Common Errors • When accessing the Update site, you receive the 0 x 800 A 01 AE error. – This issue may happen if the current session of Internet Explorer has cached an older version of Wuapi. dll – Re-register the Windows Update DLL with the commands below – Click Start, click Run, type cmd, and then click OK. – Type the following commands. Press ENTER after each command. regsvr 32 wuapi. dll regsvr 32 wuaueng 1. dll regsvr 32 wucltui. dll regsvr 32 wups 2. dll regsvr 32 wuweb. dll

Common Errors • 0 x 80248011 – This Windows Update error code is normally Common Errors • 0 x 80248011 – This Windows Update error code is normally related to inconsistent or damaged information in the c: windowssoftwaredistribution folder. Stopping the Automatic Updates service then renaming the c: windowssoftwaredistribution folder to SDOLD then restarting the Automatic Updates service normally is the fix for this issue. Note: Renaming this folder will clear the display of previous successful and failed updates.

Common Errors • 0 x 800 B 0001 – This Windows Update error code Common Errors • 0 x 800 B 0001 – This Windows Update error code is related to 3 particular DLL files that are not registered in windows correctly. Registering the following files with REGSVR 32 normally fixes this issue: – Softpub. dll – Mssip 32. dll – Initpki. dll

Common Errors • 0 x 8024402 C – This Windows Update error can be Common Errors • 0 x 8024402 C – This Windows Update error can be caused by a damaged installation of BITS and corrupted information in the Software. Distribution folder. The solution is normally to re-download the BITS updates (KB 883357 and KB 842773) from the Microsoft. com website, then stop the Automatic Updates service and rename the Software. Distribution folder to SDOLD. Reboot the computer and return to Windows Update.

Diagnose tools • Look at Windows. Update. log from the bottom up • To Diagnose tools • Look at Windows. Update. log from the bottom up • To enable site tracing for a single visit to the Windows Update site, add “&dev=true” to the end of the URL, as in the example below: http: //update. microsoft. com/windowsupdate/v 6/default. aspx? ln=en&dev=true

Troubleshooting • Most third party firewalls such as Norton Personal Firewall block SVCHOST (Generic Troubleshooting • Most third party firewalls such as Norton Personal Firewall block SVCHOST (Generic Host Process Win 32) communication by default. This can cause issues with Windows Update as SVCHOST communication is required by the Windows Update client to connect to the Windows Update Servers on the internet.

WSUS basics Are you ready to patch? WSUS basics Are you ready to patch?

WSUS • • Patches the same pieces as MU More to come Clients ‘check WSUS • • Patches the same pieces as MU More to come Clients ‘check in’ with server Not push Pull Can force a push if need be via scripting http: //www. microsoft. com/downloads/details. aspx? Family. Id=3 BA 03939 -A 5 A 9 -407 B-A 4 B 0 -1290 BA 5182 F 8&displaylang=en

WSUS installation • • Install on server Will default go on port 8530 On WSUS installation • • Install on server Will default go on port 8530 On standard loads up a MSDE instance Remember …clients may need in registry http: //servername: 8530 or Group • Beginners guide to WSUS • http: //uphold 2001. brinkster. net/vbshf/wsus/w sus_faq. htm

WSUS issues • Clients may not check in – Manually put in registry • WSUS issues • Clients may not check in – Manually put in registry • Sync process takes a long time – About 24 hours if you pull down all files

Install • Double-click the installer file WSUSSetup. exe. • Note: • The latest version Install • Double-click the installer file WSUSSetup. exe. • Note: • The latest version of WSUSSetup. exe is available on the Microsoft Web site for Windows Server Update Services at http: //go. microsoft. com/fwlink/? Link. Id=47374. • 2. On the Welcome page of the wizard, click Next. • 3. Read the terms of the license agreement carefully, click I accept the terms of the License Agreement, and then click Next. • 4. On the Select Update Source page, you can specify where clients get updates. If you select the Store updates locally check box, updates are stored on the WSUS server and you select a location in the file system to store updates. If you do not store updates locally, client computers connect to Microsoft Update to get approved updates. • Keep the default options, and click Next. • Select Update Source Page

Install • Needs a LOT of space • 6 GB Install • Needs a LOT of space • 6 GB

WMSDE is default • On the Database Options page, you select the software used WMSDE is default • On the Database Options page, you select the software used to manage the WSUS database. By default, WSUS Setup offers to install WMSDE if the computer you are installing to runs Windows Server 2003. • If you cannot use WMSDE, you must provide a SQL Server instance for WSUS to use, by clicking Use an existing database server on this computer and typing the instance name in the SQL instance name box. For more information about database software options besides WMSDE, see the “Deploying Microsoft Windows Server Update Services” white paper. • Keep the default options, and click Next. • Database Options Page

WSUS install Now up to 8 gigs WSUS install Now up to 8 gigs

 • WSUS on SBS will chose 8530 • WSUS on SBS will chose 8530

On premium – set up the rule [pre done on SBS] • • • On premium – set up the rule [pre done on SBS] • • • http: //windowsupdate. microsoft. com http: //*. windowsupdate. microsoft. com https: //*. windowsupdate. microsoft. com http: //*. update. microsoft. com https: //*. update. microsoft. com http: //*. windowsupdate. com http: //download. microsoft. com http: //*. download. windowsupdate. com http: //wustat. windows. com http: //ntservicepack. microsoft. com

Proxy settings • On the WSUS console toolbar, click Options, and then click Synchronization Proxy settings • On the WSUS console toolbar, click Options, and then click Synchronization Options. • 2. In the Proxy server box, select the Use a proxy server when synchronizing check box, and then type the proxy server name and port number (port 80 by default) in the corresponding boxes. • 3. If you want to connect to the proxy server by using specific user credentials, select the Use user credentials to connect to the proxy server check box, and then type the user name, domain, and password of the user in the corresponding boxes. If you want to enable basic authentication for the user connecting to the proxy server, select the Allow basic authentication (password in clear text) check box. • 4. Under Tasks, click Save settings, and then click OK in the confirmation dialog box.

To get to WSUS • Admin tools • http: //servername: 8530/WSUSAdmin/ To get to WSUS • Admin tools • http: //servername: 8530/WSUSAdmin/

WSUS sync WSUS sync

WSUS console Missing the computers! WSUS console Missing the computers!

Adding the WUAU template • 1. In Group Policy Object Editor, click either of Adding the WUAU template • 1. In Group Policy Object Editor, click either of the Administrative Templates nodes. • 2. On the Action menu, click Add/Remove Templates. • 3. Click Add. • 4. In the Policy Templates dialog box, click wuau. adm, and then click Open. • 5. In the Add/Remove Templates dialog box, click Close.

Getting the clients to ‘check in’ • In Group Policy Object Editor, expand Computer Getting the clients to ‘check in’ • In Group Policy Object Editor, expand Computer Configuration, expand Administrative Templates, expand Windows Components, and then click Windows Update. • In the details pane, click Specify Intranet Microsoft update service location. • Type the HTTP URL of the same WSUS server in both Set the intranet update service for detecting updates and Set the intranet statistics server. For example, type http: //servername: 8530 in both text boxes, where servername is the name of your WSUS server. • Click OK, and then configure the behavior of Automatic Updates

Known issue of ‘compression’ • Get the hotfix • Or ‘kick them’ to check Known issue of ‘compression’ • Get the hotfix • Or ‘kick them’ to check into the system

Assigning groups • Two methods – Group policy – Move computers Assigning groups • Two methods – Group policy – Move computers

GPMC • Add a new policy GPMC • Add a new policy

Editing Group policy • Why NOT edit an existing one? • SP redeployed these Editing Group policy • Why NOT edit an existing one? • SP redeployed these and would blow off your customizations • Add new • Right mouse click on edit

Drill down to the setting • • Computer config Admin Components Windows Update Drill down to the setting • • Computer config Admin Components Windows Update

WU – point it • First point your intranet updating • Remember 8530 WU – point it • First point your intranet updating • Remember 8530

Change the check in interval • If you like – change the detection frequency Change the check in interval • If you like – change the detection frequency

Client side targeting • This one seems to make things ‘work’ • Put a Client side targeting • This one seems to make things ‘work’ • Put a name in there to get things ‘waking up’ • You’ll move it later

To force it • GPupdate /force – On server – And on workstation if To force it • GPupdate /force – On server – And on workstation if you want to test it ‘now’

Group Policy settings • Final results on the GP screen Group Policy settings • Final results on the GP screen

Servers and Workstations • Will begin to ‘check in’ Servers and Workstations • Will begin to ‘check in’

Adding ZONES • • • Key decision making right here What risk What zone Adding ZONES • • • Key decision making right here What risk What zone What deployment strategy Who gets what patches when? At least have a Zone for the server[s] One for workstations More zones? Your ‘canary testers’? LOB app machines?

 • Groups are your Risk areas • Create the ‘groups’ to match your • Groups are your Risk areas • Create the ‘groups’ to match your risk zones

Assign accordingly • Again think of groups as ‘risk zones’ Assign accordingly • Again think of groups as ‘risk zones’

Don’t gloss over this • This is your most important step • You are Don’t gloss over this • This is your most important step • You are assigning risk values with this process

More info on WSUS [sbs-ized] • www. smallbizserver. net More info on WSUS [sbs-ized] • www. smallbizserver. net

WSUS for your clients • Can remote in and approve patching • 1. On WSUS for your clients • Can remote in and approve patching • 1. On the WSUS console toolbar, click Updates. By default, the list of updates is filtered to show only Critical and Security Updates that have been approved for detection on client computers. Use the default filter for this procedure. • 2. On the list of updates, select the updates you want to approve for installation. Information about a selected update is available on the Details tab. To select multiple contiguous updates, press and hold down the SHIFT key while selecting; to select multiple non-contiguous updates, press and hold down the CTRL key while selecting. • 3. Under Update Tasks, click Change approval. The Approve Updates dialog box appears. • 4. In the Group approval settings for the selected updates list, click Install from the list in the Approval column for the Test group, and then click OK.

You as the master WSUSer • • • If you are a Microsoft Certified You as the master WSUSer • • • If you are a Microsoft Certified Partner or Registered Partner, submit two (2) signed complete originals of the Microsoft SPLA agreement V 2. 1 Sept 03. pdf to Software Spectrum Inc. If you are NOT a Microsoft Certified Partner or Registered Partner; 1) You will need to have a Microsoft Registered Partner number to complete the attached SPLA MCP addendum. You can become a Registered Partner at http: //members. microsoft. com/partner/program/enroll/default. aspx. 2) You need to register for the Microsoft Windows® Web Holster Program at http: //www. microsoft. com/serviceproviders/webhosting/default. asp 3) Submit two (2) signed complete originals of the SPLA MCP addendum V 2. 1. doc to Software Spectrum Inc. 4) Submit two (2) signed complete originals of the Microsoft SPLA agreement V 2. 1 Sept 03. pdf to Software Spectrum Inc. All Signed agreements must be mailed to: Software Spectrum Attn: Microsoft Contracts Team 3480 Lotus Dr. Plano, TX 75075 [email protected] com

Clients can point to you • • • As Master WSUS er Easier if Clients can point to you • • • As Master WSUS er Easier if you just remote and approve Recommend a patch agreement program You do not guarantee patch status You offer to work with vendor Investigate work arounds and mitigations

WSUS info • http: //support. microsoft. com/default. aspx? sci d=kb; en-us; 894199 WSUS info • http: //support. microsoft. com/default. aspx? sci d=kb; en-us; 894199

Approve updates • Approval Approve updates • Approval

Approval • Approval – be patient Approval • Approval – be patient

Patch issues • Patch testing – – – – How can we do it Patch issues • Patch testing – – – – How can we do it in SBSland Virtual servers Identified key testers Review known issues [in each bulletin] Watch the communities Don’t bother testing Office/Windows…unless Standardize …standardize

Patching • • • Do you need to patch? Zoning – who is at Patching • • • Do you need to patch? Zoning – who is at risk? Is that port open? How can get you? Resources for determining risks

Risk Resources • • Threats and Countermeasures guide www. threatsandcountermeasures. com Ports open www. Risk Resources • • Threats and Countermeasures guide www. threatsandcountermeasures. com Ports open www. grc. com shields up test

Patch resources • www. patchmanagement. org – WSUS – General Patch Mgmt • WSUS Patch resources • www. patchmanagement. org – WSUS – General Patch Mgmt • WSUS blog - http: //msmvps. com/athif/ • WSUS wiki - http: //wsus. editme. com/WSUSon. SBS • WSUS blog – http: //blogs. technet. com/wsus

What’s better about WSUS? • 5 key benefits – More products updated (Exchange, Office, What’s better about WSUS? • 5 key benefits – More products updated (Exchange, Office, SQL) and more update types (drivers, etc). – Reporting – Target Groups – Install at Shutdown – Scripting/API

Scripting • Two sets of APIs – Client side – Server side • Documentation Scripting • Two sets of APIs – Client side – Server side • Documentation with RC – WUA_SDK. CHM – WUS. CHM • WSUSADMIN site a reference implementation using APIs • If you don’t like the UI, you could do it yourself

Troubleshooting • Main causes of issue are simple configuration errors – “http: //wsusservernome/” in Troubleshooting • Main causes of issue are simple configuration errors – “http: //wsusservernome/” in a GPO Object • Self. Update tree needs to be on port 80 • Tools with the RC – Clientdiag. exe – diagnoses some issues • Logs – %systemroot%Windows. Update. log

Securing WSUS traffic • Forcing WSUSAdmin site to use SSL is simple – Obtain Securing WSUS traffic • Forcing WSUSAdmin site to use SSL is simple – Obtain and install a web certificate – Enable SSL on WSUSADMIN directory

Admin duties • Management is done 2 ways: – Via WSUS Admin web site Admin duties • Management is done 2 ways: – Via WSUS Admin web site (http: //wsusserver/wsusadmin) – Via Scripting • WSUS Admin site not overly strong – See WSUS Wiki for reported issues • Clients need latest versions of Windows AU software. – Comes with XP SP 2/2 k 3 SP 1 – Older SUS clients can also auto-update via /selfupdate

Watch your language • Some initial configuration requires – Synchronisation options • Schedule • Watch your language • Some initial configuration requires – Synchronisation options • Schedule • What types of updates • Proxy server settings • Update Source • Languages (ALL languages is the default) – Automatic Approval options • Which updates should be automatically approved • Approve for detection vs approve for installation

WSUS issues • RESOLVED SBS issues – Dell OEM issue – You cannot install WSUS issues • RESOLVED SBS issues – Dell OEM issue – You cannot install Windows Server Update Services 2. 0 on a computer that is running an original equipment manufacturer version of Windows Small Business Server 2003: – http: //support. microsoft. com/default. aspx? scid =kb; en-us; 906798