DNS Resolution Based on Client IP Address with Windows Server

DNS Geo

In this tutorial I will explain how to make sure that the DNS resolution with Windows Server is done according to the IP address of the client. There are two solutions that we will see in this article. The first solution to enable network mask sorting is available from Windows 2003 Server. The option is …

Read more

Active Directory: Joining a Computer to a Domain at the Command Line

NETDOM JOIN

Introduction The Active Directory domain join of a computer can be done using either the GUI or using command line and PowerShell. In this tutorial, I will explain how to join a computer to a domain using the various command lines that are: NETDOM DJOIN for off-line joining Add-Computer in PowerShell It is also possible …

Read more

Join a computer to an Active Directory domain

To join a computer to a domain you have several possibilities: By graphical interface Command Line (CMD, PowerShell) Prerequisites be an administrator on the local workstation. have an account on the domain (preferably administrator). at the network configuration level, have dns a domain controller. By the graphical interface 1. Open Windows Explorer. 2. Right-click on …

Read more

OneDrive OnPremise with SharePoint

Open folder

OneDrive is Microsoft’s tool for storing information in the cloud and having a synchronized copy on your computer. This solution is increasingly used by individuals to save their data, so we are left with users who uses their personal drive to store professional files. OneDrive is available in Office 365 offers, in company you may …

Read more

Delete a service on Windows

Delete service

In this tutorial, we will see how to remove a Windows service by the registry. Sometimes some software does not remove their service during the uninstall, here’s how. Open the Service Console and make sure it is shut down. Open the regedit registry editor. Go to the following location : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services then look for the …

Read more

Alert users to change their password

The following VBS script displays an alert to users at login that the password is soon to expire. The script Customizing the script line 2 : QtDiasAviso = 7 Number of days the message begins to appear line 3 : RedirectRdWeb = true True : opens the page defined in the UrlRDWEB variable when the …

Read more

MariaDB : Access denied for user ‘root’@’localhost’

Just after installing MariaDB on Ubuntu / Debian, this error may appear if you try to connect with phpMyadmin. To solve / work around the problem, we will create another user with the same level of rights as root. 1. Open an SSH connection on the server. 2. Enter the following commands: 3. Restart the …

Read more

Windows Server: Change the TTL of DNS Records

TTL in DNS Record

Introduction TTL (Time To Live) is the time to keep the server’s DNS response in the client cache before a new request is made. By default the TTL is: 1 hour for static recordings. 20 minutes for dynamic recordings. In the case of a website migration, it may be necessary to lower the TTL for …

Read more

RDS: solve the problem of multiplying the printer

Printer RDS

Symptom On RDS user sessions, printers go back times. Cause The problem comes from the CSR (Client Side Rendering) which makes it possible to transform the file in RAW format before sending it to the print server. Solutions New printer When setting up sharing of a new printer, uncheck: Render Print Jobs to Client Computers …

Read more