Skip to content

This repository contains a PowerShell script designed to perform comprehensive security checks on Windows 10 and Windows 11 systems. The script evaluates various security settings and configurations to ensure compliance with recommended security practices and organizational policies.

License

Notifications You must be signed in to change notification settings

jomardyan/Windows11-Security-Check-for-IT-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Windows Security Check Script

PSScriptAnalyzer Mark stale issues and pull requests Codacy Security Scan

A comprehensive PowerShell script to assess and report on the security configuration of Windows 10 and Windows 11 systems.

Table of Contents

Overview

This script performs a series of security checks to evaluate the security posture of a Windows system. It covers firewall status, antivirus status, Windows Update, account policies, audit policies, unnecessary services, network settings, installed software vulnerabilities, drive encryption, browser security settings, and domain-specific checks if applicable.

Features

  • Checks Windows Firewall status for all profiles.
  • Verifies antivirus status and definitions.
  • Ensures Windows Update service is running and checks for pending updates.
  • Evaluates account lockout and password policies.
  • Checks audit policies for security events.
  • Identifies and reports unnecessary services.
  • Assesses network security settings, including protocols and services.
  • Reviews firewall rules for potential security risks.
  • Detects administrative shares.
  • Scans for installed software with known vulnerabilities.
  • Checks drive encryption status (BitLocker or Device Encryption).
  • Verifies browser security settings (e.g., SmartScreen in Edge).
  • Performs domain-specific checks for domain-joined systems:
    • Domain controller connectivity.
    • Group Policy compliance.
    • VPN connection status.
    • Network share permissions.
    • Required domain software installation.

Prerequisites

  • Operating System: Windows 10 or Windows 11.
  • PowerShell Version: 5.1 or later.
  • Administrative Privileges: Run the script as an administrator.
  • Execution Policy: Set to allow running scripts (e.g., RemoteSigned).

Usage

  1. Download the Script:

    Clone the repository or download the Check-WindowsSecurity.ps1 script.

  2. Run PowerShell as Administrator:

    Open PowerShell with administrative privileges.

  3. Set Execution Policy (if necessary):

    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

About

This repository contains a PowerShell script designed to perform comprehensive security checks on Windows 10 and Windows 11 systems. The script evaluates various security settings and configurations to ensure compliance with recommended security practices and organizational policies.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published