<?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: farag2</title>
    <description>The latest articles on DEV Community by farag2 (@farag2).</description>
    <link>https://dev.to/farag2</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.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F394298%2F81725dbb-0a2f-475a-9a99-7e4f28d2a6c4.jpg</url>
      <title>DEV Community: farag2</title>
      <link>https://dev.to/farag2</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/farag2"/>
    <language>en</language>
    <item>
      <title>Windows 10 Sophia Script</title>
      <dc:creator>farag2</dc:creator>
      <pubDate>Mon, 25 May 2020 14:13:09 +0000</pubDate>
      <link>https://dev.to/farag2/powershell-script-to-setup-windows-10-3c7i</link>
      <guid>https://dev.to/farag2/powershell-script-to-setup-windows-10-3c7i</guid>
      <description>&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--k9_Uexls--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/farag2/Windows-10-Sophia-Script/master/img/Sophia.png" class="article-body-image-wrapper"&gt;&lt;img alt="Sophia Script logo" src="https://res.cloudinary.com/practicaldev/image/fetch/s--k9_Uexls--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/farag2/Windows-10-Sophia-Script/master/img/Sophia.png" width="150px"&gt;&lt;/a&gt;&lt;/p&gt;


&lt;h1&gt;Sophia Script&lt;/h1&gt;

&lt;p&gt;&lt;strong&gt;A PowerShell module for Windows 10 fine-tuning and automating the routine tasks&lt;/strong&gt; 🏆&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;a href="https://rutracker.org/forum/viewtopic.php?t=5996011"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--YpuTljpK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://static.t-ru.org/logo/logo-3.svg" height="100px"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;a href="https://4sysops.com/archives/windows-10-sophia-script-powershell-functions-for-windows-10-fine-tuning-and-automating-routine-configuration-tasks/"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--GZZXtN3C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/cZ32Hkt.png"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;a href="https://www.ghacks.net/2020/09/27/windows-10-setup-script-has-a-new-name-and-is-now-easier-to-use/"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--hqv018M1--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/K4f8VBo.png"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;a href="https://www.neowin.net/news/this-windows-10-setup-script-lets-you-fine-tune-around-150-functions-for-new-installs"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--seATn8Rt--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/5fILFqz.png"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;a href="https://www.comss.ru/page.php?id=8019"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--LkTVGMF9--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://cdn.comss.net/img/logo51.png"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;a href="https://habr.com/en/post/521202"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Fo-KReE4--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/cXWLr4I.png"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;a href="https://www.deskmodder.de/blog/2020/09/25/windows-10-sophia-script-windows-10-feintuning-mit-powershell/"&gt;
                &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Dbsna7Y---/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/6sAI2wZ.png"&gt;
            &lt;/a&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h2&gt;
  
  
  Supported Windows 10 versions
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Version&lt;/th&gt;
&lt;th&gt;Code name&lt;/th&gt;
&lt;th&gt;Marketing name&lt;/th&gt;
&lt;th&gt;Build&lt;/th&gt;
&lt;th&gt;Arch&lt;/th&gt;
&lt;th&gt;Editions&lt;/th&gt;
&lt;th&gt;Script version&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2009&lt;/td&gt;
&lt;td&gt;20H2&lt;/td&gt;
&lt;td&gt;October 2020 Update&lt;/td&gt;
&lt;td&gt;19042&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;Home/Pro/Enterprise&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/farag2/Windows-10-Sophia-Script/releases/latest"&gt;5.3.2&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2004&lt;/td&gt;
&lt;td&gt;20H1&lt;/td&gt;
&lt;td&gt;May 2020 Update&lt;/td&gt;
&lt;td&gt;19041&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;Home/Pro/Enterprise&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/farag2/Windows-10-Sophia-Script/releases/latest"&gt;5.3.2&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;1809&lt;/td&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;LTSC Enterprise 2019&lt;/td&gt;
&lt;td&gt;17763&lt;/td&gt;
&lt;td&gt;x64&lt;/td&gt;
&lt;td&gt;Enterprise&lt;/td&gt;
&lt;td&gt;&lt;a href="https://github.com/farag2/Windows-10-Sophia-Script/releases/latest"&gt;5.0.1&lt;/a&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;h2&gt;
  
  
  Screenshots
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--ZjqiW-Gs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/5up2HrJ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--ZjqiW-Gs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/5up2HrJ.png" alt="Image"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--WPFn6A0C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/AXY12aJ.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--WPFn6A0C--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/AXY12aJ.png" alt="Image"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--DzaBSZ1K--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/kUONPI2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--DzaBSZ1K--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/kUONPI2.png" alt="Image"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--R4nzZkVy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DpV0UJw.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--R4nzZkVy--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://i.imgur.com/DpV0UJw.png" alt="Image"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Videos
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://youtu.be/8E6OT_QcHaU?t=370"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--pIT9Bs3m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://img.youtube.com/vi/8E6OT_QcHaU/1.jpg" alt="YT"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://youtu.be/ZSwj8SrcVPg"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--JS99KdxG--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://img.youtube.com/vi/ZSwj8SrcVPg/1.jpg" alt="YT"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  Core features
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Set up Privacy &amp;amp; Telemetry;&lt;/li&gt;
&lt;li&gt;Turn off diagnostics tracking scheduled tasks with pop-up form written in WPF;&lt;/li&gt;
&lt;li&gt;Set up UI &amp;amp; Personalization;&lt;/li&gt;
&lt;li&gt;Uninstall OneDrive "correctly";&lt;/li&gt;
&lt;li&gt;Interactive prompts;&lt;/li&gt;
&lt;li&gt;Change %TEMP% environment variable path to %SystemDrive%\Temp&lt;/li&gt;
&lt;li&gt;Change location of the user folders programmatically (without moving user files) within interactive menu using arrows to select a drive

&lt;ul&gt;
&lt;li&gt;"Desktop";&lt;/li&gt;
&lt;li&gt;"Documents";&lt;/li&gt;
&lt;li&gt;"Downloads";&lt;/li&gt;
&lt;li&gt;"Music";&lt;/li&gt;
&lt;li&gt;"Pictures"&lt;/li&gt;
&lt;li&gt;"Videos.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Uninstall UWP apps from all accounts with exception apps list with pop-up form written in WPF;&lt;/li&gt;
&lt;li&gt;Disable Windows features;&lt;/li&gt;
&lt;li&gt;Install and setup WSL&lt;/li&gt;
&lt;li&gt;Remove Windows capabilities with pop-up form written in WPF;&lt;/li&gt;
&lt;li&gt;Create a Windows cleaning up task in the Task Scheduler;

&lt;ul&gt;
&lt;li&gt;A toast notification will pop up a minute before the task starts
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Create tasks in the Task Scheduler to clear

&lt;ul&gt;
&lt;li&gt;&lt;code&gt;%SystemRoot%\SoftwareDistribution\Download&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;%TEMP%&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Unpin all Start menu tiles;&lt;/li&gt;
&lt;li&gt;Pin shortcuts to Start menu using syspin.exe

&lt;ul&gt;
&lt;li&gt;Three shortcuts are preconfigured to be pinned: Control Panel, "old style" Devices and Printers, and Command Prompt&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Turn on Controlled folder access and add protected folders using dialog menu;&lt;/li&gt;
&lt;li&gt;Add exclusion folder from Microsoft Defender Antivirus scanning using dialog menu;&lt;/li&gt;
&lt;li&gt;Add exclusion file from Microsoft Defender Antivirus scanning using dialog menu;&lt;/li&gt;
&lt;li&gt;Refresh desktop icons, environment variables and taskbar without restarting File Explorer;&lt;/li&gt;
&lt;li&gt;Setup Windows 10 security;&lt;/li&gt;
&lt;li&gt;Many more File Explorer and context menu "deep" tweaks.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Download &lt;a href="https://github.com/farag2/Windows-10-Sophia-Script/releases/latest"&gt;up-to-date version&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;Expand the archive;&lt;/li&gt;
&lt;li&gt;Open folder with the expanded archive;&lt;/li&gt;
&lt;li&gt;Look through the &lt;code&gt;Sophia.ps1&lt;/code&gt; file to configure functions that you want to be run;

&lt;ul&gt;
&lt;li&gt;Comment out function with the &lt;code&gt;#&lt;/code&gt; char if you don't want it to be run;&lt;/li&gt;
&lt;li&gt;Uncomment function by removing the &lt;code&gt;#&lt;/code&gt; char if you want it to be run.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Click "File" in File Explorer, hover over "Open Windows PowerShell", and select "Open Windows PowerShell as Administrator" &lt;a href="https://www.howtogeek.com/662611/9-ways-to-open-powershell-in-windows-10/"&gt;(how-to with screenshots)&lt;/a&gt;;&lt;/li&gt;
&lt;li&gt;Set execution policy to be able to run scripts only in the current PowerShell session
&lt;/li&gt;
&lt;/ul&gt;
&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="n"&gt;Set-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-ExecutionPolicy&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Bypass&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Scope&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Process&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Force&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;


&lt;ul&gt;
&lt;li&gt;Type &lt;code&gt;.\Sophia.ps1&lt;/code&gt; to run the whole preset file;&lt;/li&gt;
&lt;li&gt;Press Enter.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How to run the specific function(s) (example):&lt;br&gt;
&lt;/p&gt;

&lt;pre class="highlight powershell"&gt;&lt;code&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;\Sophia.ps1&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nt"&gt;-Functions&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;CreateRestorePoint&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"ScheduledTasks -Disable"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="s2"&gt;"WindowsCapabilities -Disable"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;Refresh&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;



&lt;ul&gt;
&lt;li&gt;The quotation marks required.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>powershell</category>
      <category>windows10</category>
    </item>
  </channel>
</rss>
