Use the hosts file to simulate a DNS record on Windows

Location of the hosts file : C:\Windows\System32\drivers\etc. Pour ajouter un enregistrement : 1. Start notepad as administrator. 2. Open the hosts file located in C:\Windows\System32\drivers\etc. To display the hosts file which has no extension it is necessary to select All files (*. *) 3. Add a record in the form: 4. Save and close the …

Read more

Windows 10: install Windows Terminal

In this “how to” tutorial, I will explain how to install the Windows Terminal application available on Windows 10. Before launching into the “technical” part, I will first introduce you to Windows Terminal. Windows Terminal is an application which groups together all the command windows (CMD, PowerShell, WSL) in a single application and which allows …

Read more

Export / Import a scheduled task

In this tutorial, I will tell you how to export and import a scheduled task. This tutorial applies to both Windows Server and the Desktop version (Windows 10). To illustrate this tutorial, I will export a scheduled task that runs a PowerShell script that allows restarting a computer. The scheduled task runs the ps-restartcomputer.ps1 script …

Read more

DISKPART : delete all partitions

In this tutorial, I will tell you how to delete all partitions from a hard drive with DISKPART. I am using this procedure to remove OEM partitions on computers from manufacturers like HP / DELL. Before performing this operation, make sure you have a backup of the data. Now that I have warned you, we …

Read more

Windows 10 : use the native SSH client

On Windows 10, there is a native SSH client that can be used in a command prompt, PowerShell prompt, or Terminal. At the end of this tutorial, you will no longer need Putty if you are using it exclusively for logging in via SSH. Check if the client is installed The easiest way to check …

Read more

Windows 10 : Choose the graphics card for software

In this tutorial, I will explain how to select the graphics card that will be used on software on Windows 10. This manipulation is to be done mainly on laptops which are equipped with several graphics cards. On mid-range and high-end laptops, they are often equipped with 2 graphics cards: Low consumption with limited performance …

Read more

Hyper-V : create a NAT switch

Microsoft Hyper-v

In this tutorial, I will explain how to create a NAT switch (virtual switch) on Hyper-V. Before getting into the technical explanations, I will explain in a few words, what a NAT switch is. If you have already used another hypervisor such as vmware or virtualbox for example, this type of switch is available by …

Read more

Windows firewall, force domain profile

In this tutorial, I will explain how to change the network profile of the firewall on Windows. It happens that after a restart, the profile of the firewall goes private, we will see how to change it back to the domain profile. The connection profile on a network adapter is especially useful when different firewall …

Read more

Rename a computer with PowerShell

Rename-Computer

In this “how” tutorial I will explain how to rename a computer in PowerShell. Using PowerShell allows you to go more empty than going through the graphical interface which requires going through several configuration windows. Rename a computer with PowerShell In a PowerShell prompt use: Rename-Computer The PowerShell command to rename a computer is Rename-Computer. …

Read more

Windows 10: install Hyper-V

In this tutorial, I will explain how to install Hyper-V on Windows 10. Hyper-V is a virtualization system that allows you to launch virtual machines. Before starting the installation, you must check the following prerequisites: Have virtualization activated at the Bios level. Have 4GB of memory (RAM)4 Have an Enterprise, Professional or Education version of …

Read more