Category: Microsoft Servers

Hardening, Microsoft Windows server 2016

Windows Server Hardening – Account Policies

The following were tested on Windows Server 2016 (Screenshots included). Account Policies Password Policy 1. Ensure ‘Enforce password history’ is set to ’24 or more password(s) Description: This policy setting determines the number of renewed, unique passwords that have to be associated with a user account before you can reuse an old password. The value …

Exchange Server 2013

Installing Microsoft Exchange Server 2013 Prerequisites On Windows Server 2012

In this article we will walk through the installation instructions for Exchange Server 2013 prerequisites. The prerequisites that are needed to install Exchange 2013 on a Windows Server 2012 server depends on which Exchange roles you want to install. Exchange Server 2013 has only two roles: Mailbox and Client Access server roles. Exchange Server 2013 …

Microsoft Servers, Microsoft Windows Server 2012, Microsoft Windows server 2016

Migrate active directory FSMO from windows server 2012 R2 to windows server 2016

Windows server 2016 was released for public (GA) on mid oct 2016. Its exciting time as businesses are already working on migrating their services in to new windows server 2016 infrastructures. In this post, I am going to explain how you can migrate from active directory running on windows server 2012 R2 to windows server …

Active Directory, Microsoft Windows Server 2003, Microsoft Windows Server 2008, Microsoft Windows Server 2012

Active Directory Security Hardening: Domain Admin Honeypot

Rename the account It’s a good idea to name the account like any other user account. That means giving it a real name, like Johnny Cash, with a username that matches your naming convention, say “jcash.” Remove description Next, you want to remove the default description for the built-in Administrator, which is “Built-in account for …

Active Directory, Microsoft Windows Server 2012

Add Active Directory Multiple Users in a Group

Add multiple User’s to a Group – PowerShell Script Import-module ActiveDirectory Import-CSV "C:\Scripts\GroupUsers.csv" | % { Add-ADGroupMember -Identity TestGroup1 -Member $_.UserName }Import-module ActiveDirectory Import-CSV "C:\Scripts\GroupUsers.csv" | % { Add-ADGroupMember -Identity TestGroup1 -Member $_.UserName } Don’t forget to create a GroupUsers.csv file with users login names.

Active Directory, General, Microsoft Windows Server 2012

Create Active Directory Users using csv file

This script allows to create Active Directory users using a CSV file and set specific password, email address, and add users to one group for each user. import-module activedirectory Import-Csv “C:\Users\admin\Desktop\file.csv” | ForEach-Object { $userPrincinpal = $_.”samAccountName” + “@company.Local” New-ADUser ` -Name $_.”user” ` -Givenname $_.”name” ` -Surname $_.”surname” ` -SamAccountName $_.”samaccountname” ` -Path $_.”path” …

Microsoft Servers, Microsoft Windows

Physical Address Extension (PAE)

Physical Address Extension (PAE) is a processor feature that enables x86 processors to access more than 4 GB of physical memory on capable versions of Windows. Certain 32-bit versions of Windows Server running on x86-based systems can use PAE to access up to 64 GB or 128 GB of physical memory, depending on the physical …

Information, Microsoft Servers, Microsoft Windows

Detailed Computer & OS configuration information

systeminfo displays detailed configuration information about a computer and its operating system, including operating system configuration, security information, product ID, and hardware properties, such as RAM, disk space, and network cards. Parameters /s   Computer   : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the …

Microsoft Servers, Microsoft Windows, Tools

Modify files and directories attributes through cmd

Attrib displays, sets, or removes the read-only, archive, system, and hidden attributes assigned to files or directories. Used without parameters, attrib displays attributes of all files in the current directory. Parameters +r   : Sets the read-only file attribute. -r : Clears the read-only file attribute. +a : Sets the archive file attribute. -a : …