You can access the data in an Excel file directly from within PowerShell. Although PowerShell has built-in cmdlets for importing (Import-CSV) and exporting (Export-CSV) tabular data from/to CSV files, the…
Active Directory: Core Concepts, Architecture and Best Practices
Auto Lock Computer Screen After Inactivity with GPO
Information security best practices require the computer screen to be locked when the user is inactive (idle) for some time. A Windows user can lock the computer screen themselves (using…
Configuring Password Policy in Active Directory Domain
The password policy in an Active Directory domain specifies basic security requirements for user account passwords, such as password complexity, length, frequency of password changes, and so on. A strong…
How to Map Network Drives (Shared Folders) with Group Policy
You can use Group Policies to flexibly map shared network folders from your SMB file servers as separate Windows network drives. Traditionally, .bat logon scripts containing the net use M:…
Repairing Broken Trust Relationship Between Workstation and AD Domain
In this article we’ll show how to fix a broken trust relationship between a workstation and an Active Directory domain when a user cannot logon to their domain computer. Let’s…
Creating a Keytab File for Kerberos Authentication in Active Directory
Many Linux services (apache, nginx, etc.) can use keytab files for Kerberos authentication in Active Directory without entering a password. The keytab file keeps the names of Kerberos principals and…
Configuring Proxy Settings on Windows Using Group Policy Preferences
In this article, we’ll take a look at how to centrally configure proxy settings on Windows 10 computers in a domain using Group Policy. Most popular browsers (such as Microsoft…
Updating Group Policy Settings on Windows Domain Computers
In this article we will show how to update Group Policy (GPO) settings on Windows computers in an Active Directory domain: how to update (refresh) Group Policies automatically, how to…
How to Find Inactive Computers and Users in Active Directory with PowerShell
Quite an often task of an Active Directory administrator is to make a list of disabled or inactive user and/or computer accounts. You can use both saved LDAP queries in…
Checking User Logon History in Active Directory Domain with PowerShell
There are several different tools to get information about the time of a user logon to an Active Directory domain. The time of the last successful user authentication in an…