literate-dotfiles/docs/windows.html

137 lines
5.7 KiB
HTML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>
<!-- 2021-01-01 ven. 20:09 -->
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>Windows Config and Install</title>
<meta name="generator" content="Org mode" />
<meta name="author" content="Dehaeze Thomas" />
<link rel="stylesheet" type="text/css" href="./dist/style.css"/>
<script type="text/javascript" src="./dist/script.js"></script>
</head>
<body>
<div id="org-div-home-and-up">
<a accesskey="h" href="./index.html"> UP </a>
|
<a accesskey="H" href="./index.html"> HOME </a>
</div><div id="content">
<h1 class="title">Windows Config and Install</h1>
<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#org9346dc9">Create a bootable USB Key</a></li>
<li><a href="#org0143940">Install Windows10 PRO</a></li>
<li><a href="#org0cc05f7">Install Software using Chocolatey</a></li>
<li><a href="#org0a94edb">Debloat windows10</a></li>
<li><a href="#orgb8446e0">Software Setup</a>
<ul>
<li><a href="#orge44d00a">Syncthing</a></li>
<li><a href="#org796ab09">Cura</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div id="outline-container-org9346dc9" class="outline-2">
<h2 id="org9346dc9">Create a bootable USB Key</h2>
<div class="outline-text-2" id="text-org9346dc9">
<ul class="org-ul">
<li>Download Windows10 ISO <a href="https://www.microsoft.com/en-us/software-download/windows10ISO">https://www.microsoft.com/en-us/software-download/windows10ISO</a></li>
<li>Create bootable USB key using the woeusb utility (<a href="https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/">https://computingforgeeks.com/create-windows-10-bootable-usb-on-linux/</a>)</li>
</ul>
<div class="org-src-container">
<pre class="src src-bash">yay -S woeusb
</pre>
</div>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-type">sudo</span> woeusb --device file.iso /dev/sdb --target-filesystem ntfs
</pre>
</div>
</div>
</div>
<div id="outline-container-org0143940" class="outline-2">
<h2 id="org0143940">Install Windows10 PRO</h2>
</div>
<div id="outline-container-org0cc05f7" class="outline-2">
<h2 id="org0cc05f7">Install Software using Chocolatey</h2>
<div class="outline-text-2" id="text-org0cc05f7">
<p>
First install Chocolatey using a PowerShell as administrator:
</p>
<div class="org-src-container">
<pre class="src src-bash">Set-ExecutionPolicy Bypass -Scope Process -Force; <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol = <span class="org-rainbow-delimiters-depth-1">[</span>System.Net.ServicePointManager<span class="org-rainbow-delimiters-depth-1">]</span>::SecurityProtocol -bor <span class="org-highlight-numbers-number">3072</span>; iex <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://chocolatey.org/install.ps1'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
</pre>
</div>
<p>
Then, install all required software using one command:
</p>
<div class="org-src-container">
<pre class="src src-bash">choco install firefox 7zip.install vlc git.install malwarebytes sumatrapdf.install steam anydesk discord f.lux cmder syncthing cura ccleaner
</pre>
</div>
</div>
</div>
<div id="outline-container-org0a94edb" class="outline-2">
<h2 id="org0a94edb">Debloat windows10</h2>
<div class="outline-text-2" id="text-org0a94edb">
<p>
<a href="https://github.com/Sycnex/Windows10Debloater">https://github.com/Sycnex/Windows10Debloater</a>
</p>
<p>
Run a PowerShell with administrative rights and run:
</p>
<div class="org-src-container">
<pre class="src src-bash"><span class="org-function-name">iex</span> <span class="org-rainbow-delimiters-depth-1">(</span><span class="org-rainbow-delimiters-depth-2">(</span>New-Object System.Net.WebClient<span class="org-rainbow-delimiters-depth-2">)</span>.DownloadString<span class="org-rainbow-delimiters-depth-2">(</span><span class="org-string">'https://git.io/debloat'</span><span class="org-rainbow-delimiters-depth-2">)</span><span class="org-rainbow-delimiters-depth-1">)</span>
</pre>
</div>
</div>
</div>
<div id="outline-container-orgb8446e0" class="outline-2">
<h2 id="orgb8446e0">Software Setup</h2>
<div class="outline-text-2" id="text-orgb8446e0">
</div>
<div id="outline-container-orge44d00a" class="outline-3">
<h3 id="orge44d00a">Syncthing</h3>
<div class="outline-text-3" id="text-orge44d00a">
<p>
<a href="https://docs.syncthing.net/users/autostart.html#autostart-windows-startup">https://docs.syncthing.net/users/autostart.html#autostart-windows-startup</a>
</p>
<p>
Go to <code>%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup</code> and create a shortcut linking to <code>C:\path_to\syncthing.exe -no-console -no-browser</code>
</p>
<p>
Then, Syncthing can be accessed with: <a href="http://localhost:8384/">http://localhost:8384/</a>
</p>
</div>
</div>
<div id="outline-container-org796ab09" class="outline-3">
<h3 id="org796ab09">Cura</h3>
<div class="outline-text-3" id="text-org796ab09">
<ul class="org-ul">
<li><a href="https://github.com/fieldOfView/Cura-OctoPrintPlugin">https://github.com/fieldOfView/Cura-OctoPrintPlugin</a></li>
</ul>
</div>
</div>
</div>
</div>
<div id="postamble" class="status">
<p class="author">Author: Dehaeze Thomas</p>
<p class="date">Created: 2021-01-01 ven. 20:09</p>
</div>
</body>
</html>