wiki:bootstrapwindows

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
wiki:bootstrapwindows [15/05/2024 21:15] vincent.adolphewiki:bootstrapwindows [17/05/2024 11:58] (Version actuelle) vincent.adolphe
Ligne 1: Ligne 1:
 ====== Bootstraper une machine Windows ====== ====== Bootstraper une machine Windows ======
- 
-  * https://doc.cliss21.com/wiki/BootStrapWindows 
  
 TL;DR: TL;DR:
  
-Dans un powershell admin (clic droit sur le menu démarrer, puis choisir "Terminal (administrateur)" ou "Powershell (admin)"+Dans un powershell admin (clic droit sur le menu démarrer, puis choisir "Terminal (administrateur)" ou "Powershell (admin)" et copier/coller la ligne suivante:
 <code bash> <code bash>
-#WIP Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://interne.cliss21.org/bootstrap/windows.ps'))+Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://forge.cliss21.org/cliss21/bootstrap/raw/branch/main/windows.ps1'))
 </code> </code>
  
Ligne 45: Ligne 43:
 PASS='rootpass' PASS='rootpass'
 ssh-host-config --yes --name 'sshd' --port 22 --pwd "$PASS" ssh-host-config --yes --name 'sshd' --port 22 --pwd "$PASS"
 +mkpasswd -l > /etc/passwd
 +mkgroup -l > /etc/group
 cygrunsrv.exe --start sshd cygrunsrv.exe --start sshd
 </code> </code>
Ligne 84: Ligne 84:
 </code> </code>
  
-===== Accès via SSH =====+==== Accès via SSH ====
  
 <code bash> <code bash>
Ligne 97: Ligne 97:
  
 La GUI de tightvnc s'arrête mais tightvncserver continue a tourner La GUI de tightvnc s'arrête mais tightvncserver continue a tourner
 +
 +===== Outils divers =====
 +
 +==== Windows10Debloater ====
 +Fonctionne sous windows10 et windows11
 +  * cf https://www.begeek.fr/windows-comment-se-debarrasser-des-bloatwares-en-une-seule-ligne-de-commande-367401
 +  * source: https://github.com/Sycnex/Windows10Debloater
 +  * utilisation <code bash>
 +iwr -useb https://git.io/debloat|iex
 +</code>
 +
 +
  
  • wiki/bootstrapwindows.1715800503.txt.gz
  • Dernière modification : 15/05/2024 21:15
  • de vincent.adolphe