Windows Server 2012
- Developer Preview: 6.2.8102.0? (Milestone 3) (2012-01-14)
- Wikipedia: Windows Server 2012
Compare Editions and Features - TechNet Library: Windows Server 2012
- Download Windows Server 2012
Windows Server 2008 R2
- Windows Server 2008 R2 Product Homepage
- Windows Server 2008 R2 Resources
- Editions: Technical Compare
- Editions: Features Compare
- TechNet: Windows Server 2008 and Windows Server 2008 R2
- Windows Server Division Weblog
- Migration of Settings
- TechNet: Local User and Group Migration Guide
- Windows Server Migration Tools
User passwords are not migrated!! - Windows Server 2008 R2 Migration Tools
Example of using the server migration tool to migrate 2003 Server into 2008 R2. - ADUM Server Migrator
Enable migration of local users & groups from 2003 to 2008 R2 while keeping user passwords unchanged.
General
- Wikipedia: Windows Server 2008 R2 (With comparision table)
- Windows Server 2003 SP2
- 238131 – How to Disable Socket Pooling in IIS 5.0
Disable Socket Pooling so that IIS does not listen to all the IP addresses and can allow Apache to coexist with IIS
For IIS 6.0, need to configure HTTP.sys, you must use Httpcfg.exe.
See 813368 – IIS 6.0 Setting Metabase Property DisableSocketPooling Has No Effect - Compare the Editions of Windows Server 2003
- Windows Server 2003 Administration Tools Pack (adminpak.msi)
- Windows WiFi website
- Tools:
- Windows Server 2003 Resource Kit Tools
- Shared Network Fax Service is standard in Windows Server 2003
- Is SBS 2003 Right for You?
Major differnece between SBS 2003 and Windows Server 2003:
Single domain & must be root, cannot join another non-SBS domain (can join SBS domain?), no Terminal Service (has RDP), minimal domain trust function, cannot allow backup DC but can still have member server
Not for novice!!! - FAQ for SBS 2003
Include information about Windows Server 2003 for SBS - Fixing Fax Service Access Denied error at a Windows Server 2003 domain controller
Define a policy (maybe above Default Domain Controller Policy) at Windows Settings/Security Settings/Local Policies/User Rights Assignment
Make sure that the following accounts are enterd into the policy “Generate Security Audits"SYSTEM, Network Services, Administrators
I think Network Services is most important since Fax Service is running under Network Services account.
- Computer Performance – many technical articles about Windows Server
- Firestreamer-DVD or Firestreamer-DV
Software allow you to use ntbackup to write to DVD discs or DV tapes - Newsgroup discussion on run a scheduled task in low priority
Append this line before the actual command: C:\Windows\System32\cmd.exe /c start /low - Qsoft’s free RAMDisk driver for Windows 2000/XP/2003
Free version has a limit of 64M - TechNet: Networking and Access Technologies – Technologies and Solutions
Detail guides on every Microsoft technology! - Windows Server 2003 default local groups explain in details
- Windows 2003 Server evaluation copy expiration behavior
Use winver.exe to check Evaluation Expiry Date - Windows Server 2003 media volume labels list
- How to convert your Windows Server 2003… to a Workstation!
- Setting Up Bluetooth in Windows Server 2003
- Install Windows Media Player 11 on Windows Server 2003
- Install Photoshop CS3 to Windows Server 2003
- Install SE PC Suite to Windows Server 2003
Remove LaunchCondition
Remove File, msxml4.dll and msxml4r.dll - Windows Server 2003 Resource Kit
– Include Command Here inf (right click cmdhere.inf to install), same function as Windows XP Command Here Power Toys - WHEA Hardware Error Events (Windows Server 2008, Windows Vista SP1 and Later)Event Log: WHEAEvent / 20 will detect ECC memory error
- How to change license type on Windows 2003 server
This cannot change license type from OEM to VLK. The standard way is to do an in-place upgrade. - Preserving OEM Preactivation When Reinstalling Windows Server 2003 R2
sample OEM cd-keys from Microsoft - Windows Server 2003 OEMBIOS & OEM SLP Keys archive
Windows Server 2008 R2 Foundation
- Windows Server 2008 R2 Foundation Resources
- TechNet: Introduction to Windows Server 2008 R2 Foundationx64, max 8G RAM, max 15 users, can join AD as DC at forest root, < $2000
Windows Server 2008 |
- SBS Blog: Issues After Disabling IPv6 on Your NIC on SBS 2008
- Windows Server 2008 new features
- Read-Only DC (AD and DFS data)
- Restartable AD Service (No need to go into AD Restore mode)
- net stop ntds (Domain Controller Service)
- Password and account lockout policy no longer bind to domain. Different Password Policy Object can link to user/group
- ADAM (Active Directory Application Mode) renamed to AD LDS and is a build-in feature
- Certification Service
- Support OCSP
- Support Device Enrollment for routers
- RMS
- Build into Win2k8 now
- Failover Cluster
-
- Quorum enhancement, no longer single point of failure
- Network Loadbalancing
- NDIS 6.0 driver, IPv6 support, multiple virtual IP support
- Manage all the nodes at a single server
- Win2k8 Compare Technical Features and Specifications
- Windows Server 2008 Beta 3 Step-by-Step Guides
- Windows Server 2008 Technical Library
- Performance Tuning Guidelines for Windows Server 2008
Community |
- MVP Websites
- Richard Wu (Server 2003, Hong Kong)
- Jeremy Moskowitz (Group Policy)
- Jeremy Moskowitz (Windows & Linux Integration)
- Taiwan guy created fixed version of AppLocale into pAppLocale (works for both XP and Vista)
- Add appLocale creation into context menu
- pAppLocale more details
- IT Forums
Active Directory |
- Study Checklist
- Routing Status in sites
- multiple DC enviornment
- full / partial (OU) recovery / non-authorative recovery / restore to another server
- Restore System State to another server for AD recovery, what is the side effect to existing member server?
- Forest / Domain Function Levels
- Universal Group Caching effects
- Forest Trust with selective authentication
- DACL (discretionary ACL)
- PDC Emulator is only needed if there is Windows NT PDC/BDC?
- Windows 2000 Server SP2 or earlier use only NTLM authentication in AD?
- In a Native or 2003 Mode domain, GC is required for users to logon because it keep Universal Group information. In Mixed Mode, GC is not required for normal user to logon.
In some case, Universal Group Caching may not work if the caching is out-dated. - Unless there is only 1 DC in the domain / all DC are GC, the Infrastructure Master must not be also a GC else it won’t work
- TombstoneLifetime
- Locate at: tombStoneLifetime attribute on: cn=Directory Service, cn=Windows NT, cn=Services, cn=Configuration,
- Fixing Replication Lingering Object Problems (Event IDs 1388, 1988, 2042)
If a domain controller does not replicate for a period of time that is longer than the tombstone lifetime and the domain controller is then reconnected to the replication topology, objects that were deleted from Active Directory while the domain controller was offline can remain on the domain controller as lingering objects.
If backup restored contain deleted objects but the backup is older than the tombstonelifetime, then deleted objects will get added back to AD because the tombstone objects no longer exist. - 216993: Useful shelf life of a system-state backup of Active Directory
- Forest Trust could not extend over the neighbour forest
- Use ntdsutil to change the password in AD Restore Mode in a Domain Controller
- Create Active Directory for a server from a backup: dcpromo /adv
Further detail can refer to this article from petri.co.il - Using Scripts to Delegate Active Directory: Working with Property Sets
- Difference between Local Groups, Global Groups and Universal Groups
Universal Groups are useful in multi-domain enviornment only, as it can contain members from any domains - TechNet: Best Practice Active Directory Design for Managing Windows Networks
Windows 2000 age, but still useful for multi-site AD planning - 315131: HOW TO: Use Ntdsutil to Manage Active Directory Files from the Command Line in Windows 2000
- When restore a subtree in ntdsutil Authoritative mode, subject need to specify in: OU=OU Name, DC=domain, DC=lan
- Restore an AD using System State will reset the DSRM password, please confirm the password before restore
- Change DSRM Password
- Win2k and Win2k3 are different
- Win2k use setpwd, if use the wizard to create domain, default DSRM password is empty!
- Win2k3 use: ntdsutil
- It seems cannot change DSRM password inside DSRM mode, need to change when AD is running
- Safe Mode password is NOT same as DSRM password, it is same as the AD administrator password!
- Inside Safe Mode, net user administrator password seems will change the AD administrator password?
- Inside DSRM, it is NOT possible to change the AD administrator password. net user administrator password will change the DSRM administrator password
- Can use Linux ntpasswd to reset the DSRM password, but make sure NTFS is clean (boot into Safe Mode and do a reboot) else it will report “read-only filesystem"
- Domain Rename
- Only possible in 2003 Forest Level and 2003 Domain Level, with all DC using 2003 Server
- Use rendom.exe on 2003 CD ValueAdd directory
- DC Rename
- Run by Domain Admins
- Need 2003 Domain Level
- Use netdom.exe in Support Tools
- Rename with Full Computer Name (FQDN)
- Both old and new names are keep to prevent service interruption, unless remove with the netdom.exe command
- Move object between domains
- Do at RID Master role server
- use movetree.exe
- PDC Emulator special function
- If authentication failed at any DC, will forward request to PDC Emulator
- Infrastructure Master
- Contain latest group membership info
- Should not mix role on a GC
- Active Directory Schema Management
- MMC Snap-in not activated to prevent modify wrongly
- Activate with: regsvr32 schmmgmt.dll
- Add Scap-in: Active Directory Schema
- Change Schema Master role inside this MMC
- Check Sync Status (Show USN number to each sync partner)
repadmin / showutdvec dcname dc=domain,dc=tld - Find FSMO roles
- Use MMC GUI Tools
- replmon
- ntdom
- ntdsutil
- Seize FSMO with ntdsutil
- ntdsutil
- roles
- connections
- connect to server newdcname
- [quit to roles prompt]
- seize schema / domain naming master / RID master / PDC / infrastructure master
- [quit twice to quit]
- Add additional DC do a domain / new domain
- “An Active Directory domain controller for the domain xxx could not be contacted", although DNS was successfully queried
It is *possible* the AD on the DC is corrupted and require other DC to provide the AD service on LDAP port (tested) - When add a child domain, must have an account as a Domain Admins of the parent domain (tested, seems even need the Domain Admins of root domain!)
- If DNS server point to the parent’s DNS IP, there is no delegation and records created at the parent’s DNS server instead!
- If DNS server point to new server’s own IP, delegation seems NOT setup automatically at parent domain.
And only the initial AD related records are created at the parent’s domain (same as point DNS ip to parent domain’s DNS)
The _msdcs subdomain seems created at all the child domain new servers!
- “An Active Directory domain controller for the domain xxx could not be contacted", although DNS was successfully queried
- AD Directory Service Logging debugging
- HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Diagnostics\*, default value = 0, recommend increase value upto 3 for verbose logging
- Relogon to update the Event log with new entries
- Only increase the value on debug purpose, keep normal use at level 0
DNS |
- Study Checklist
- DNS operation in w2k3
- DnsUpdateProxy
- Scavenge stale resource records
- dnscmd CLI (Support Tools)
- replmon GUI (Support Tools)
- repadmin CLI (Support Tools)
- dnslint CLI (Support Tools)
- 825036: Best practices for DNS client settings in Windows 2000 Server and in Windows Server 2003
- dnscmd remote_server /clearcache to clear the DNS cache of a remote server
- DomainDnsZones at DomainDnsZones.subdomain.domain.com (For the DC at root domain, it is also as domain.com)
- ForestDnsZones at ForestDnsZones.domain.com
- stub zones: Usually implement on parent zone, to obtain auto update of name server changes from the child zones
- The zone cannot be created when creating stub zone
stub zone cannot put into AD partition when domain level is not Windows Server 2003 - Netmask ordering feature = LocalNetPriority in dnscmd
- Ask Microsoft: How can I make DNS healthy for both clients and servers?
Good article to explain how DNS scavenging works
Server will not scavenge records that before enable scavenging.
DHCP |
- Study Checklist
- netsh utility usage
- DHCP Relay Agent
- RFC 1542 compliant router
- Superscope
- Repair button on client do
- broadcast renew instead of unicast renew
- Flush ARP cache (arp -d *)
- Flush NBT cache (nbtstat -R)
- Flush DNS cache (ipconfig /flushdns)
- Register to WINS (nbtstat -RR)
- Register to DNS (ipconfig /registerdns)
- 142042: Description of TCP/IP Node-Type Settings
Describe DHCP 046 option node types when using 044 option WINS Server - DHCP error 14 is “out of address" error
Also contain a brief list of important points on DHCP, RRAS, RIP - Reconcile database to fix inconsistency database error
- getmac CLI (Support Tools) to get MAC address of a machine, even on remote subnet (I think need to in a same AD)
- “netsh dhcp show server" display all DHCP servers in AD
- dhcploc CLI (Support Tools) to check for DHCP servers on the network
- Should not set DnsUpdateProxy group assign to a DC, else all records updated by DC has no ownership
Alternative solution maybe specify the account to handle dynamic update in 2003 DHCP or specify the DHCP service account in 2000 SP2 - use jetpack.exe to offline compact database if growth above 30M or report db error
- DHCP manual backup include all data except credential for DNS dynamic update
- TechNet detail on Conflict Detection
- Exclusion has higher priority than Reservation
Routing and Remote Access (RAS) |
- By default, the username created for demand-dialin is same as the demand dial interface name for site-to-site connection
Group Policy |
- Study Checklist
- Orders and relationship of GPO
- Policy Management in Server 2003 No Override is renamed in GPMC, which is called Enforced
- Group Policy Management Console
Group Policy backup/restore, HTML report for policy - Group Policy Settings Reference for .adm files included with Windows XP Professional Service Pack 2
Excel spreadsheet contain all the policies used in WinXP SP2 - Group Policy Event Log verbose logging
- HKEY_LOCAL_MACHINE/Software/ Microsoft/Windows NT/Current Version/Diagnostics/RunDiagnosticLoggingGroupPolicy, DWORD, value=1
- Relogon to take the effect in Application Log
- Group Policy Diagnostic Log
- HKEY_LOCAL_MACHINE/Software/ Microsoft/Windows NT/Current Version/Winlogon/UserenvDebugLevel, DWORD, value=30002
- Relogon to take the effect
- Log file is at: %Systemroot%\Debug\Usermode\Userenv.log
- 1M file size limit, will create bak file
- Group Policy Software Deployment debugging
- Change at target client computer
- HKEY_LOCAL_MACHINE\Software\Microsoft\ Windows NT\CurrentVersion\Diagnostics\AppMgmtDebugLevel, DWORD, 4b
- Restart the computer / relogon user (depeneds on publish or assign)
- Log file is at: %Systemroot%\debug\usermode\appmgmt.log
- Remove the debugging once finished
PKI |
- Study Checklist
- Windows Server Enterprise CA Service
- Certificate Template
- Certificate Trust List (CTL) for users vs Trust Root CA for Computer
- Offline CRL distribution
- In a single domain, the Enterprise CA will be trusted by the user automatically
- TechNet: Add a trusted root certification authority to a Group Policy object
Tested when a machine Root CA policy is enabled, even the user deleted the CA root cert, it is still effective. - 222022: HOW TO: Disable EFS for All Computers in a Windows 2000-Based Domain
Windows Firewall |
- Windows Firewall Policy
include difference between Domain Profile and Standard Profile
Administration |
- Study Checklist
- WMI, applicable area
- Virtual Tape Drive software? (Testing ARCserve)
- Virtual Cluster with VMware
- Internet printer sharing
- ds* utilities
- csvde utility
- diskpart utility
- wmic utility
- Remote Assistance
- Reset a password for the user by Administrator will make EFS encrypted files inaccessible, need to decrypt with recovery agent!
- Microsoft: Trust between Windows Server 2003 and Windows NT 4.0 domain
- Disable Disable Windows XP’s builtin zip support
regsvr32 /u %windir%\system32\zipfldr.dll
Better rename or remove the zipfldr.dll afterward
Then re-associate ZIP extension with your ZIP program such as WinZIP - Guy’s Windows Logon VBScripts
Include printer mapping scripts - Windows XP Fixes, Tips and Tweaks
Contain a lot of registry fixes for Windows XP registry crashed by virus/malwares - AppDeploy.com – The Application Deployment Information Center
Contain a lot of examples on how to automate software install! - Copy User profile to new account
Copy a User Profile:
Open System in Control Panel. On the User Profiles tab, and under Profiles stored on this computer, click the user profile you want to copy, and then click Copy To.
In the Copy To dialog box, under Copy profile to, type the location for the new profile, or click Browse to select the path.
Click Change to open the Choose User dialog box, click a new user from the Names list, and then click Add. The new user name will appear in Add Name. Click OK to add the user as a new user profile on your computer.
Note: You must be logged on as an administrator to the local computer to copy user profiles. To open a Control Panel item, click Start, point to Settings, click Control Panel, and then double-click the appropriate icon. - AdminScriptEditor
Tool to help admin create scripts, support: Batch, PowerShell, VBScript, AutoIt, KiXtart - Delete Files Older Than (Tool to delete files older than n days)
Computer Browser Service |
- Understand the Computer Browser service (Windows NT)
- A “Netlogon event ID 5719″ event message is logged when you start a Windows NT Server 4.0-based computer
- JSI Tip: No Domain Controller available to validate your logon
- Netlogon event id 5719 related to server connect to a port with spanning tree portfast disabled
- Disable Master Browser function in Win98
Windows Rights Management Services |
Windows Deployment Services |
- Allow a user or group to create a RIS managed computer account in the domain
- Either follow this article to allow a user to create a computer object at the top of the tree, or
- If computer object is already created, move into an OU and allow the user to create computer objects inside the OU only
- User installing the machine must have create object right in the AD
- Can accept all clients and approve, then workstations will be added to pending devices. After admin approved, an associated computer name is created
- New in Windows Server 2003 SP2
- The Native Mode is for Windows Vista client only, Mixed mode (include RIS) support Windows XP and older clients
- Windows XP Deployment with RIS
- RIS requires either a floppy disk created with the Remote Boot Floppy Generator (Rbfg.exe)…
- The RIS standard answer file name is Ristndrd.sif.
- Setup Manager creates an RIS answer file named Remboot.sif.
- pxeboot.com not exist until add Vista WIM image
- Need to add Vista CD’s sources\boot.wim as a new “Boot Images" in the WDS MMC Console. Then the boot files will exist
- Pre-Stage clients in AD
- Deploying and Managing the Windows Deployment Services Update on Windows Server 2003
- Windows Deployment Services Update Step-by-Step Guide
- In SP2, add with “Add/Remove Windows Components"
- a sample autounattend.xml for Vista deployment
Software Update Services (SUS) – Obsolete |
- Auto approve new updates on SUS Server
VBScript to approve all the new updates of a SUS server
Windows Server Update Services (WSUS) |
- Study Checklist
- WSUS / SUS requirement for Win2k or WinXP
- How To Perform Patch Management Using SUS
SUS require port 80 open to Microsoft Windows Update server - WSUS “Restart Later" button grayed out
Solution: Remove access to use all Windows Update features Disabled or Not Configured (was used in old SUS days) - SUS: WinXP SP1, Win2k SP3, Automatic Update Service
- Windows Server Update Services Home
– released at 2005-06-06
– requires .NET Framework 1.1 with SP1
– requires BITS 2.0 and WinHTTP 5.1
– requires SQL Server 2000 SP4 or the build-in WMSDE - Download Windows Server Update Services
- Download BITS 2.0 and WinHTTP 5.1 for Windows Server 2003
Volume Shadow Copy |
- Study Checklist
- VSSAdmin command
- Backup / Restore Shadow Copy data store
- Introduction to Shadow Copies of Shared Folders
Shadow Copy can only maximum hold 64 copies. If a longer period is needed to keep then it the update frequency must be lower. - Shadow Copies of Shared Folders: FAQ
A Shadow Copy restore will not delete files, so it is not same as restore from a backup media. - Shadow Copy Client: Accessing Shadow Copies on Windows Server 2003
Scripting |
Rescue |
- MCSE World: Some solutions on Forgot the Administrator’s Password
- Offline NT Password & Registry Editor, Bootdisk / CD
Tested works for reset password for Windows XP Pro SP2 - Reset AD Administrator password
You need to browse this page with a non-IE browser, such as Mozilla Firefox
Seems works for Windows 2000 AD only - Reset Domain Admin Password in Windows Server 2003 AD
Application Deployment |
- Study Checklist
- Publish & Assign MSI applications via GPO
- Publish & Assign’s differences
- Terminal Server will not accept assigned / published applications from GPO, need manual install
- Published application can be added to “Add/Remove Programs" and let the user choose to install it
Wireless Network Management |
- Study Checklist
- Wireless Monitor
- 802.1x and certificates
- Wireless Policy for machines in domain
- Define 802.1X authentication for wireless networks
PEAP fast reconnect allows roaming users to maintain continuous wireless network connectivity when traveling between different wireless access points on the same network - Microsoft Virtual Wifi
Single Wifi card connect to multiple Wifi network
Load Balancing |
- Study Checklist
- Cluster Service in Enterprise Server (setup and recovery)
- Cluster aware services
- Shared SCSI drive configuration
- Network Load Balancing
- NLB Cluster in unicast/multicast mode
- IGMP effect for NLB
- Use Cluster Administrator GUI or cluster.exe utility to manage all servers inside a cluster (e.g. administrator password)
Backup & Restore |
- Study Checklist
- ASR Backup
- Copy Backup vs Normal Backup
- Emergency Management Services in Recovery Console
RAS / VPN / IPSec |
- Study Checklist
- ISA Server
- Certificate based IPSec Secure connection to server (all or filtered)
- L2TP/IPSec VPN
- Site to Site VPN
- Remote Access Policy
- RAS service identify remote computer?
- RIPv2, neighbors concept
- TechNet: Windows Server 2003 Deploying Site-to-Site VPNs
Legacy Technology |
- Study Checklist
- WINS
- Signed SMB
Security |
- Study Checklist
- secedit
- Security Template INF files
- compatws.inf
- securedc.inf
- syskey utility
- EFS Filesystem Encryption
- Terminal Server Security
Talk about: System Auditing, File System Auditing, Registry Auditing, Connection Auditing
Troubleshooting |
- RDP Slow problem
– Tuning with TcpWindowSize or
– Vista build-in Auto-tuning TCP/IP Receive Window Size
– Follow Citrix client to set it to 64512 (More Info) - Client cannot join domain
- Microsoft Windows Vista Join Domain Troubleshooting firewall error
- Windows XP, if has Support Tools installed: netdiag /v, netdiag /debug, Check \Windows\Debug\Netsetup.log
- svchost.exe 100% CPU during Windows Update (apply for Windows XP too)
- Some dll may need re-register
net stop wuauserv Repeat for the following: regsvr32 wuapi.dll regsvr32 wups.dll regsvr32 wuaueng.dll regsvr32 wuaueng1.dll regsvr32 wucltui.dll regsvr32 wuweb.dll regsvr32 MSXML3.dll regsvr32 qmgr.dll regsvr32 qmgrprxy.dll regsvr32 jscript.dll net start wuauserv
- Try to Disable Microsoft Update and revert to Windows Update
In MU, click “Change settings" in the left-hand sidebar,
then check “Disable Microsoft Update software and let me use Windows Update only",
and click “Apply changes now".
- Some dll may need re-register