<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Ömer Koç</title>
    <description>The latest articles on DEV Community by Ömer Koç (@mer_ko_30187155d69a4823).</description>
    <link>https://dev.to/mer_ko_30187155d69a4823</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4060746%2Fe4471709-c164-45ed-9d37-9b269e6521a5.png</url>
      <title>DEV Community: Ömer Koç</title>
      <link>https://dev.to/mer_ko_30187155d69a4823</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mer_ko_30187155d69a4823"/>
    <language>en</language>
    <item>
      <title>How to Harden Windows 11 with Native PowerShell Scripts (No 3rd Party Apps)</title>
      <dc:creator>Ömer Koç</dc:creator>
      <pubDate>Mon, 03 Aug 2026 13:33:40 +0000</pubDate>
      <link>https://dev.to/mer_ko_30187155d69a4823/how-to-harden-windows-11-with-native-powershell-scripts-no-3rd-party-apps-1ehj</link>
      <guid>https://dev.to/mer_ko_30187155d69a4823/how-to-harden-windows-11-with-native-powershell-scripts-no-3rd-party-apps-1ehj</guid>
      <description>&lt;p&gt;Third-party antivirus solutions and "bloatware" security tools often consume high system resources and introduce unnecessary background processes. However, Windows 11 already includes powerful enterprise-grade security capabilities—they are just disabled by default for home and standard users.&lt;/p&gt;

&lt;p&gt;In this article, I’ll walk through how we can harden Windows 11 using native PowerShell commands to protect against ransomware, phishing scripts, and lateral network attacks.&lt;/p&gt;




&lt;h3&gt;
  
  
  🔑 Key Hardening Policies Applied
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;PowerShell Execution Restriction (&lt;code&gt;RemoteSigned&lt;/code&gt;)&lt;/strong&gt;&lt;br&gt;
Restricts execution policies to prevent unsigned scripts from running automatically in the background.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;WinRM &amp;amp; Windows Script Host (WSH) Mitigation&lt;/strong&gt;&lt;br&gt;
Blocks common email malware vectors (like &lt;code&gt;.vbs&lt;/code&gt; and &lt;code&gt;.js&lt;/code&gt; file executions) and closes remote administrative ports.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;SMBv1 Deprecation&lt;/strong&gt;&lt;br&gt;
Completely removes the vulnerable SMBv1 protocol to prevent lateral movement and network exploits like WannaCry / EternalBlue.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Defender Attack Surface Reduction (ASR) &amp;amp; Exploit Guard&lt;/strong&gt;&lt;br&gt;
Enables Controlled Folder Access to block ransomware encryption attempts and restricts executable downloads via PowerShell.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;&lt;strong&gt;Administrative Share Lockdown&lt;/strong&gt;&lt;br&gt;
Disables hidden network administrative shares (&lt;code&gt;C$&lt;/code&gt;, &lt;code&gt;ADMIN$&lt;/code&gt;) to secure network boundaries.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;




&lt;h3&gt;
  
  
  🚀 Quick Start &amp;amp; Usage
&lt;/h3&gt;

&lt;p&gt;Open PowerShell as an Administrator and execute the hardening script:&lt;/p&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
powershell
.\Windows11_Hardening.ps1
Note: A system reboot is required for all security policies to take full effect.
🔗 Source Code &amp;amp; GitHub Repository
The complete script is open-source and available on GitHub. Feel free to inspect the code, suggest improvements, or contribute:

👉 https://github.com/Hasan0101-lab/Windows_11_Hardened_Edition
If you find this project helpful for your personal setup or lab environment, consider leaving a ⭐ on the repository!
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

</description>
      <category>powershell</category>
      <category>cybersecurity</category>
      <category>windows11</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
