Omid Samir

Omid Samir

Network Engineer, Virtualization Specialist & Datacenter Expert

Disable DST on Domain Network

Here’s a PowerShell script to disable Daylight Saving Time (DST) on domain network computers:

# Connect to Active Directory
Import-Module ActiveDirectory

# Get all domain computers
$computers = Get-ADComputer -Filter {OperatingSystem -like "*Windows*"} | Select-Object -ExpandProperty Name

# Loop through each computer and disable DST
foreach ($computer in $computers) {
# Disable DST
Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation" -Name "DisableAutoDaylightTimeSet" -Value 1 -ErrorAction SilentlyContinue -ComputerName $computer

This script first imports the ActiveDirectory module to connect to the Active Directory domain. It then gets all domain computers using the Get-ADComputer cmdlet and stores their names in the $computers variable.

Next, the script loops through each computer in the $computers variable and uses the Set-ItemProperty cmdlet to disable DST on that computer. This is done by setting the DisableAutoDaylightTimeSet registry value to 1 under the HKLM:\SYSTEM\CurrentControlSet\Control\TimeZoneInformation key.

Note that this script assumes that you have administrative access to all domain computers and that the computers are running a version of Windows that supports the DisableAutoDaylightTimeSet registry value. Also, running this script will permanently disable DST on the computers, so use it with caution.

Disable DST on Linux Servers

To disable DST (Daylight Saving Time) on a Linux server, you can use the timedatectl command. Here is a Bash script that will disable DST on the system:


# Check if the script is being run as root
if [[ $EUID -ne 0 ]]; then
   echo "This script must be run as root" 
   exit 1

# Disable DST
timedatectl set-local-rtc 1 --adjust-system-clock

This script first checks if it is being run as root. If it is not, it will print an error message and exit. If it is being run as root, it will use the timedatectl command to disable DST by setting the system clock to use the local time instead of UTC. This will ensure that the system’s clock remains consistent even when DST is not in effect.

Network Functions Virtualization (NFV)

Network Functions Virtualization (NFV) is an architecture that provides a way to decouple the network functionality from proprietary hardware and use it on the virtualized standard IT hardware or on cloud-based architecture.

It is developed by the European Telecommunications Standards Institute (ETSI). NFV architecture is used to transform the telecom industry by lowering Total Cost of Ownership (TCO), fast innovation and deployment, and by providing Scale-out / Scale-in functionality during special traffic hours.
Continue reading

Steve Jobs

Design is not just what it looks like and feels like. Design is how it works.Steve Jobs