A little something about everything

internet marketing and website development made simple..

How to setup windows 2012 Domain Controller / Active Directory

After installing windows server and completing the standard windows updates, follow these simple steps.

  1. Verify you have a static IP and networking setup.
  2. Open Computer Management
    1. Update/Change the computer administrator account
    2. restart
  3. Open Server Manager
  4. Select Local Server
    1. Update Computer name and workgroup
    2. restart
  5. Add roles and Features
    1. Select Active Directory Domain Services, accept popup
    2. Select DNS Server
    3. Next -> Install
    4. Once complete, from notifications select "Promote this server to a domain controller" option.
    5. Select add a new forest and input your domain name,
    6. Next
    7. Select function level or leave default if you have no older servers that you plant to connect
    8. pick a DSRM password
    9. Next -> Install
    10. The computer should reboot itself now

Setup should now be complete.

Using a SSL Certificate for RDP

Create and install a certificate using IIS or import a pfx file, the cert can be SHA256 or whatever you want.

Open your Cert Manager,

  • Run/open "MMC"
  • File, Add/Remove Snap-in, Certificates, OK
  • Expand the folder with your cert (generally Personal, Certificates)
  • Right Click the Certificate, Open
  • Details tab, near the bottom choose thumbprint and select the HASH VALUE
  • remove the spaces from the HASHVALUE
  • open a Command Prompt with elevated privileges
  • run the following command using your SSL cert's thumbprint hash value in place of "HASHVALUE" remove the quotes.
    • wmic /namespace:\\root\cimv2\TerminalServices PATH Win32_TSGeneralSetting Set SSLCertificateSHA1Hash="HASHVALUE"
  • It should say "Updating property(s) of ...
  • then it should say .. update successful

That's it, you're done.

Extract Internet Headers from Outlook 2010+

Simple instructions for obtaining the internet headers using outlook 2010 and above.

  1. Double click the email in question, it should open in a new outlook window.
  2. Choose "File" 
  3. Choose "Properties"
  4. Select all of the content in the section at the bottom of the popup window labeled "Internet Headers".
  5. Copy and paste that into a text window to see the full header.

Step by Step static network setup for CentOS 7.x on Microsoft Hyper-V Server using Linux Integration Services Version 4.0.11

Create new VHD with a standard Network Adapter

Download CentOS-7-x86_64-Minimal-1503-01.iso (insert disk & install)

Download lis4-0-11.iso (insert disk)

mkdir -p /mnt/cdrom
mount /dev/cdrom /mnt/cdrom
cp -rp /mnt/cdrom /opt/linux_ic4011
umount /mnt/cdrom
cd /opt/linux_ic4011/RHEL71
./install.sh

Once the install is done, reboot the VPS

Update your network settings via vi

vi /etc/sysconfig/network-scripts/ifcfg-eth0

use "i" to insert text, (esc) to exit and ":wq" to write your changes.

It should look something like this:

DEVICE="eth0"
BOOTPROTO=none
ONBOOT="yes"
TYPE="Ethernet"
HWADDR=(MAC ADDRESS, This should match what is configured in Hyper-V)
IPADDR=(YOUR SERVER IP)
GATEWAY=(YOUR DEFAULT GATEWAY)
DNS1=(PRIMARY DNS SERVER IP)
DNS2=(SECONDARY DNS SERVER IP)
Networking=yes


If your system is still not online for static IP do this:

 ifconfig eth0 (IP) netmask (MASK) up

 service network restart

How to setup Active Directory on Windows Server 2012

Installing Active Directory as a domain controller:

Install Windows Server 2012

Computer management >  update server administrator

Server manager > Local Server > update server name

Server Manager > Manage > Add Roles and Features > Next > Next > Next > 

 Select: Active Directory Domain Services and DNS Server

  Accept each with "Add Features"

 Next > Next > Next > Next > Install

Now, Promote this server to a domain controller

 add a new forest, {enter domain} > Next

  Leave defaults and enter a DSRM password(Store this in a safe place)

 Next 

  Select Credentials to Delegate (enter your user/pass)

 Next > Next > Next > Next > Install

Active Directory on Windows Server 2012 is complete.