Rechercher dans ce blog

mardi 12 novembre 2024

WIndows commandes utiles d'administration : Cheat List windows CLI useful admin commands


commandes via 🪟+R ou invite de commande ou powershell
 

control

Ouvre  tous les panneaux de contrôle.
 

 
 
 
 
 
 
 
 
 
 

msconfig

L'ancestrale boîte à outils de Windows (elle était déjà là avec Windows 3.1, non ?)

Permet de gérer les entrées de BCD. "Minimal" correspond à Safe Mode. 

L'onglet outils donne plein de raccourcis vers des commandes listées ici même plus bas.
L'intéressant est la modification du démarrage en mode sélectif. En cas de démarrage lent... ça peut être utile de désactiver des services, bien que maintenant avec les SSD, les démarrages lents de Windows ne sont plus ce qu'ils étaient :)))




 
 
 
 
 
 
 
 

msinfo32

Informations système

Accès centralisé aux infos sur le système. 
Programmes en cours, modules, pilotes, services chargés.

 
 
 
 
 
 
 
 
 
 
 
 
 

resmon

Moniteur de ressources

Il est possible d'y accéder aussi depuis le gestionnaire de tâches, ou en tapant moniteur de ressources dans le champ de recherche.



 
 
 
 
 
 
 
 
 
 
 
 

sysdm.cpl 

Propriétés système

supprimer fichier d'échange (pagefil.sys) , points de restauration, nom de l'ordinateur, démarrage et récupération, réglage du multiboot, variables d'environnement

 

 



 
 
 
 
 

netplwiz

Comptes utilisateur

ajouter utilisateur, modifier mot de passe, ajouter groupe











 

 

control userpasswords

Compte utilisateur 
 







 

control netconnections

Gestionnaire de connexions

Peut servir lors de l'installation de windows pour déconnecter le pc et forcer une installation avec un compte local. Il n'est pas toujours possible de couper le wifi dans le BIOS... Pour ouvrir l'invite de commande, touches MAJ + F10


Si l'écran "Il est temps de vous connecter à un réseau" apparaît, touches Alt + F4 pour faire apparaître l'écran de création de compte local.
 



 

 

 

 

 

gpedit.msc

Editeur de stratégie de groupe 

ATTENTION pas dans toutes les versions de Windows.
Dans W11 Famille  pas disponible. Sans doute dans W10 pareil.












 

 

 

 

mercredi 6 novembre 2024

Change default keyboard language for Windows PE media

French_Standard 040c:0000040c, 0409:00000409     
French_Belgian     080c:0000080c, 0409:00000409
English_United_States 0409:00000409

wpeutil setkeyboardlayout 080c:0000080c

 

A)

You can setup your keyboard as follows:

  • In the customized Windows PE image, go to %SYSTEMROOT%\System32
  • Edit the file Startnet.cmd containing the startup script
  • Add the command:

    wpeutil setkeyboardlayout 0414:00000414
    

 B)

Permanently change the keyboard layout in WinPE:

  1. Mount the boot.wim image:

dism /mount-image /imagefile:"c:\windowspe\media\sources\boot.wim" /index:1 /mountdir:"c:\windowsPE\mount"

  1. Check the keyboard settings with the command below (active keyboards):

dism /image:"c:\windowsPE\mount" /get-intl

NOTE: Keep in mind that if you use the /online parameter instead of the /image parameter, you get the keyboard of your running windows installation instead of the one installed in the winpe image!!

  1. If the keyboard is not correct, you can change it with the command below:

dism /image:"c:\windowsPE\mount" /set-inputlocale:0813:00000813

NOTE: The inputlocale I have used above, is for the belgian period keyboard. Please change it to the value for your keyboard

  1. Unmount the image and commit the changes:

dism /unmount-image /mountdir:"c:\windowsPE\mount" /commit

  1. Create an iso file of the changed image

makewinpemedia /iso c:\windowsPE C:\windowspe.iso

  1. You can now test the iso by creating a virtual machine in hyper-V, and point to the iso you just created. If it boots, and works correct, you can create a bootable usb with the command below: (change D: to the drive letter of your usb device)

makewinpemedia /ufd c:\windowsPE D:

 

Set Keyboard Layout in MDT and SCCM Task Sequence

https://www.andersrodland.com/set-keyboard-layout-mdt-sccm-task-sequence/ 

Mettre la langue du clavier Fr dans WinPe

https://blog.piservices.fr/post/2012/12/30/Mettre-la-langue-du-clavier-Fr-dans-WinPe 

 

 

 

samedi 2 novembre 2024

Windows HEVC Video Extension

Le codec peut être téléchargé ici :

https://drive.google.com/drive/folders/1HLRNiwVkUTNMmS6tf-9fWewmLYFqrSMI?usp=sharing

Pour télécharger la dernière version

Find the App URL on Microsoft Store

First, you need to locate the app URL on the Microsoft Store. Open the Microsoft Store on your browser and search for the HEVC Video Extension. Once you find it, copy the app URL, including the product ID, from the address bar.

Ou bien dans Microsoft Store, chercher HEVC Video Extension et copier le lien de partage.

Possible d'utiliser ce lien :

https://www.microsoft.com/store/productId/9NMZLZ57R3T7?ocid=pdpshare

Use Adguard to Generate the Download Link

Next, go to the Adguard page:
https://store.rg-adguard.net/

Adguard button


and paste the app URL in the space provided. Then, click the check mark button to generate a direct download link (see the image above).

The page will populate with msixbundle, appx, or appxbundle files, as well as other associated files. In most cases, you only need to download the full app package and not the app dependencies.

For instance, for the HEVC Video Extension, you only need to download the .appxbundle file, which is the largest file in the list (~7MB). Make sure to check the architecture compatibility (x64, x86, Arm) for the files, depending on your system architecture.

 

Step 3: Download the HEVC Video Extension

Finally, click on the .appxbundle link to download the file:

Microsoft.HEVCVideoExtension_2.2.9.0_neutral_~_8wekyb3d8bbwe.appxbundle

HEVC Download Links


Microsoft Edge may sometimes block the download as not secure. In such cases, check your browser's "Download history" and chose to "Keep" the file or you can use alternative browsers like Google Chrome or Firefox to complete the download.
 

Fix for Windows Update Error 0x800F0922 in Windows 10/11 -- UEFI partition trop petite

 Voir l'article

https://www.winhelponline.com/blog/error-0x800f0922-windows-update/?expand_article=1 

L'article en pdf...

https://drive.google.com/file/d/1TXnSbYW0Wd1mw62_rQQYbRFFKVIYKPcW/view?usp=sharing


iPhone unlocking tools & hacks

 Activation Lock for iPhone and iPad - Apple Support

https://support.apple.com/en-us/108794

 What to do before you sell, give away, or trade in your iPhone or iPad - Apple Support 

https://support.apple.com/en-us/109511 

Récupérer le compte Apple - Apple (FR) 

https://iforgot.apple.com/

If you forgot your iPhone passcode or your iPhone is disabled

https://support.apple.com/en-us/118430?iphone-authentication-type=iphone-with-face-id

 


VHD VHDX Hyper V Windows sur USB WinToGO, boot a virtual disk, WINPE

 Convert-VHD (Hyper-V) | Microsoft Learn

https://learn.microsoft.com/en-us/powershell/module/hyper-v/convert-vhd?view=windowsserver2022-ps

 Optimize-VHD (Hyper-V) | Microsoft Learn 

https://learn.microsoft.com/en-us/powershell/module/hyper-v/optimize-vhd?view=windowsserver2022-ps

 Set-VHD (Hyper-V) | Microsoft Learn 

https://learn.microsoft.com/en-us/powershell/module/hyper-v/set-vhd?view=windowsserver2022-ps

 Hyper-V VHD and VHDX files: What, How, and Why

https://www.nakivo.com/blog/work-hyper-v-vhd-vhdx-files-essential-basics/ 

 Convert VHD to VHDX using Hyper-V Manager and Powershell - BDRSuite 

https://www.bdrsuite.com/blog/how-to-convert-vhd-to-vhdx-using-hyper-v-manager-and-powershell/#Physical

Converting Linux VHD's to VHDx » Kevin's Ramblings  

https://blog.kmsigma.com/2016/04/26/converting-linux-vhds-to-vhdx/

Convert, Resize, and Optimize VHD and VHDX files with PowerShell | mikefrobbins.com 

https://blog.kmsigma.com/2016/04/26/converting-linux-vhds-to-vhdx/

Boot to a virtual hard disk: Add a VHDX or VHD to the boot menu | Microsoft Learn 

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/boot-to-vhd--native-boot--add-a-virtual-hard-disk-to-the-boot-menu?view=windows-10

 WinPE: Create bootable media | Microsoft Learn 

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/winpe-create-usb-bootable-drive?view=windows-11 

Deploy Windows with a VHDX (Native Boot) | Microsoft Learn 

https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/deploy-windows-on-a-vhd--native-boot?view=windows-10 

Windows PE Basic Enhanced  

https://thedoggybrad.github.io/WindowsPEBasicEnhanced/

WinPE 11-10-8 Sergei Strelec 2024.09.20 (English version) 

https://manhpc.com/winpe-10-8-sergei-strelec-english-version/

Comment Créer Votre Propre LiveCD 

 https://recoverhdd.fr/blog/how-to-make-your-own-livecd.html#ch3

Why You Should Be Compacting Your Hyper-V Virtual Disks  

https://www.altaro.com/hyper-v/compact-hyper-v-virtual-disks-vhdx/