Top Banner
Windows Server 2003: Advanced administration and Troubleshooting, or: How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor. no Ementor
36

Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen [email protected] Ementor.

Dec 23, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Windows Server 2003:Advanced administration and Troubleshooting, or:”How to make your Kung-Fu stronger”

Morgan Simonsen

[email protected]

Ementor

Page 2: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

What Will We Cover?

• Tips and tricks for managing Windows

Server 2003

• Improvements in Service Pack 2

• Security tidbits

• Important tools

Page 3: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Level 300

• Experience managing Windows Server

2003

• Networking experience

Helpful Experience

Page 4: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Administering W2K3 Server: Tools

• Support Tools• Resource Kit Tools• Group Policy Management Console• Sysinternals• PowerShell/Scripting

Page 5: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

demonstrationSysinternals Tools“My Kung-Fu is stronger than your Kung-Fu”

Process ExplorerProcess MonitorAccessEnumAutoRuns

Page 6: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Administering W2K3 Server: Scripting

• CMD

• VBScript/JScript

• PowerShell

Page 7: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

W2K3 Server Well Kept Secrets

• Access Based Enumeration

• Diskpart kung-fu

• Replmon.exe/repadmin.exe

• User Profile Hive Cleanup Service

Page 8: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

WINDOWS SERVER 2003 SP2 IMPROVEMENTS

Page 9: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

MMC 3.0Start Pages

Consistent UI & Structure• Views• Start Pages• Richer Snap-ins

Improved Usability

Improved Reliability

Easier Development

Shipped with WS03R2

Goals

List View with Roll-Ups

MMC .0List View with Preview

Pane

Page 10: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Utility Improvements

> DCDiag.exe /x /xsl:file.xsl or .xslt

> ICacls c:\windows\* /save AclFile /T

> MSConfig.exe

Plus – New Cluster Service Event ID 1239

Page 11: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

XMLLite New XML API• Part of Vista Beta 2 SDK• Parser native in SP2

Goals of XMLLite• Separate, independent DLL• Adhere’s to XML 1.0 standard• Easy to use• High performance

Usage Scenarios• Document format (Office 2007)• Business Transactions• Standard XML Scnearios

Page 12: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Security Features• Per Port Firewall Authentication

–Currently WS03 Windows Firewall supports an authenticated IPSec bypass feature. However, once past the firewall, it is possible to jump to and compromise other applications behind the firewall.

–Instead of only exempting authenticated IPSec traffic from the entire firewall, it will now be possible to exempt authenticated traffic for a particular port or application exception

• IPsec Filter Management–Simple IPSec Policy Update

• Significantly Reduces IPsec filter set• Fallback to clear is 500ms

Page 13: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Wi-Fi Protected Access 2• Current Server 2003 SP1 / XP64 Wireless Group Policy does not support WPA2

• WPA2 Enterprise using IEEE 802.1X authentication and WPA2 Personal using a preshared key (PSK)

•Uses Advanced Encryption Standard (AES)

•Use of Pairwise Master Key (PMK) caching and opportunistic PMK caching

Page 14: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Windows Deployment Services

Deliver Great “in-the-box” provisioning solutionDeliver components to enable custom solutionPlug in model for PXE Server extensibilityUnify on single image format – WIMImprove management experience Provide migration and co-existence path from RIS

Goals Scenarios

Page 15: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Windows Deployment Services

New machine deployment

End-to-end solution for clean installs PXE Boot of WinPE

Custom deployment solution or recovery envrionment Extensibility Points

Scalable PXE server built on a unified architecture

Goals Scenarios

Page 16: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

WDS Client

WDS Client

Setup application runs within WinPE

Special mode of Windows Vista• Image Based Setup (IBS)• Logic to communicate with WDS

server• Drives the client setup experience

(unique to WDS)

Regional and Language options• May be configured at setup

Automated using unattend.xml

Page 17: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Transition from RIS

Transition

WDS: Modes of Operation

LegacyWDS Binaries but RIS functionalityRISETUP and RIPREPManagement through RIS utilities

Best of BothWinPE and OSChooserRISETUP, RIPREP and WIMMGMT of new: WDS MMC / CLIMGMT of legacy: RIS utilities

MixedNo RIS functionalityWinPE onlyWIM onlyMGMT through WDS MMC / CLI

Native

Longhorn Server Only

Windows Server 2003

Only

Page 18: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Scalability Networking Pack

ChallengesTo Faster

Networking

Increasing processor loadsExcessive context switchingLack of effective scalingMemory overhead and latency

Scalable Networking

Pack

Reduces packet processingOffloads network processingShares network processing

Page 19: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

TCP Chimney Offload

TOE-CapableNetwork Adaptor

Applications

TCP

Intermediate Protocols

Switch

NDIS

NDIS miniport driver

Tcpip.sys

Data Transfer Interfaces

Sta

te U

pdat

e In

terf

aces

Network APIs

TCP Chimney

Page 20: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Received Side ScalingProcessors

Network Card

NDIS 5.1 allows for only a single deferred Procedure Call

Doesn’t scale well for Multiprocessor/multi-core systems under heavy workloads

DPE In SP2 an adaptor is not associated with a single processor

NDIS 5.2 and RSS is supported

Allows for more traffic to be processed

DPE

Page 21: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

NetDMA Support• Offloads processing of memory-to-

memory transfers• Without NetDMA

–Processor is heavily invoiced in moving data from NIC buffers to application buffers

• With NetDMA–DMA engine and transfers are managed–Minimizes CPU processing of data transfers from NIC buffers to application buffers

Page 22: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Customer Driven Improvements

Virtualization SQL Server 2005

Message Queuing

Improves the performance under high APIC access rate for Windows Server 2003 running as a guest operating system under Windows Virtualization

Under workloads with high kernel time, some due to network traffic

Fixes Winsock issue that caused system wide dispatch locks

Search Microsoft.com for SAPSales

Default storage limit changed to 1 GB

MSMQ v3.0 may be set too high for certain customers which may experience problems which appear due to low available memory

Page 23: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

SECURITY

Page 24: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

10 ways to make your network secure:1. Defense-in-depth

2. Defense-in-depth

3. Defense-in-depth

4. Defense-in-depth

5. Defense-in-depth

6. Defense-in-depth

7. Defense-in-depth

8. Defense-in-depth

9. Defense-in-depth

10. Defense-in-depth

Page 25: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Tips for greater security

• Never run as local administrator

• Anti-Virus does not protect against a

directed attack

Page 26: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Security Configuration Wizard (SCW)

• Part of SP1

• Developed to make defense-in-depth

easier

• Integrates with Group Policy

• Should be run on all Windows 2003

servers

Page 27: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

demonstrationCreating a security policy using SCW

Page 28: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Domain isolation

• Another part of defense-in-depth

• IPSec policies control communication on

internal network

• Enforced by Group Policy

• Easy and cheap to implement

Page 29: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Wireless Security

• W2K3 Server has easy to use RADIUS

server (IAS)

• Group Policy deplyment of Wireless

policies (WPA2)

Page 30: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Private Key Infrastructure

• Run your own Certificate Authority!• W2K3 Server supports 4 different

configurations:–Root AD integrated (Enterprise Root CA)–Subordinate AD integrated (Enterprise Subordinate CA)–Stand-alone Root CA–Stand-alone Subordinate CA

Page 31: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Private Key Infrastructure - continued

• Group Policy supports auto-enrollement

for certificates for users and computers

• Trust hierarchy established through

Group Policy

• CRLs published to AD and IIS ++

Page 32: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

demonstrationInstalling your own Certificate Authority(Brian Comar; eat your heart out!)

Page 33: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

RDP Security

• RDP protocol does not protect password

• SP1 introduces TLS for RDP

• Very easy to implement

Page 34: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

demonstrationConfiguring Windows Server 2003 for secure Remote Desktop Connections

Page 35: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Secure through Group Policy

• Microsoft have security guides for almost

all server products

• Includes Group Policy security templates

specifically desgined for product

• Easy to implement, gives good baseline

for security configuration

Page 36: Windows Server 2003: Advanced administration and Troubleshooting, or: ”How to make your Kung-Fu stronger” Morgan Simonsen morgan.simonsen@ementor.no Ementor.

Miscellaneous tips to make your servers run better

• Disable unnecessary mappings in RDP

• Set RDP timeouts for admin accounts

• Remove unnecessary services

• DNS Scavenging