0% found this document useful (0 votes)
16 views5 pages

Windows Admin Labs: Services & Security

The document provides hands-on exercises for managing Windows services, implementing security policies, using PowerShell for service management, and creating system state backups. It includes detailed tasks for configuring service recovery options, setting up service accounts, and establishing local security policies. Users are advised to perform these labs in a test environment to avoid impacting system functionality.

Uploaded by

yota puters
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views5 pages

Windows Admin Labs: Services & Security

The document provides hands-on exercises for managing Windows services, implementing security policies, using PowerShell for service management, and creating system state backups. It includes detailed tasks for configuring service recovery options, setting up service accounts, and establishing local security policies. Users are advised to perform these labs in a test environment to avoid impacting system functionality.

Uploaded by

yota puters
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Windows Advanced

Administration Labs
Hands-on exercises for Services, Security Policies, PowerShell, and Backup

Important: Perform these labs in a test environment. Some changes may


affect system functionality.

Lab 4: Windows Services Management


Task 4.1: Service Configuration and Recovery

Objective: Manage Windows services and configure recovery options

1. Open Services Console

o Press Win + R , type [Link] , press Enter

2. Configure Print Spooler Service

o Locate Print Spooler service

o Right-click → Properties

o Set Startup type to Automatic (Delayed Start)

o Configure recovery options:

Failure Action

First failure Restart Service

Second failure Restart Service

Subsequent failures Run a Program


o Set "Reset fail count after" to 1 day

3. Test service recovery

o Open Command Prompt as Administrator

o Run: sc stop spooler

o Verify service restarts automatically

Task 4.2: Service Account Configuration

Objective: Configure services to run under dedicated accounts

1. Create Service Account

o Open [Link]

o Create user: svc_sql with password S3rv!ce@cc0unt

o Set Password never expires

2. Configure MySQL Server Service

o Open [Link]

o Locate MySQL Server (wampmysqld)

o Right-click → Properties → Log On tab

o Select This account and enter svc_sql credentials

o Click OK and restart service

3. Verify service permissions

o Run: sc qc wampmysqld

o Check output for correct account name

Lab 5: Security Policy Implementation


Task 5.1: Local Security Policy Configuration
Objective: Implement security policies for account and audit
settings

1. Open Local Security Policy

o Press Win + R , type [Link] , press Enter

2. Configure Account Policies

o Navigate to: Account Policies → Password Policy

o Set these values:

Policy Setting

Enforce password history 5 passwords remembered

Maximum password age 60 days

Minimum password length 12 characters

3. Configure Audit Policy

o Navigate to: Local Policies → Audit Policy

o Enable these settings:

Policy Setting

Audit account logon events Success, Failure

Audit object access Failure


Audit privilege use Failure

Lab 6: PowerShell Administration


Task 6.1: Service Management with PowerShell

Objective: Use PowerShell to manage Windows services

1. Open PowerShell as Administrator

o Press Win + X → Windows PowerShell (Admin)

2. Get Service Information

o List all running services: Get-Service | Where-Object


{$_.Status -eq "Running"}

o Get specific service details: Get-Service -Name "Spooler" |


Format-List *

3. Manage Services

o Stop a service: Stop-Service -Name "Spooler" -Force

o Start a service: Start-Service -Name "Spooler"

o Set startup type: Set-Service -Name "Spooler" -


StartupType "Automatic"

Lab 7: Backup and Recovery


Task 7.1: System State Backup

Objective: Create and verify system state backups

1. Open Windows Server Backup

o Press Win + R , type [Link] , press Enter


2. Create Backup Schedule

o Click Backup Schedule in right pane

o Select Custom → Next

o Check System State

o Set daily backup at 2:00 AM

o Store backup on secondary drive

3. Perform Manual Backup

o Run Command Prompt as Administrator

o Execute: wbadmin start systemstatebackup -


backuptarget:E:

You might also like