A little something about everything

internet marketing and website development made simple..

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.

Enable / Disable IE ESC Internet Explorer Enhanced Security Configuration and Display Content was blocked Dialog

You can enable or disable IE IEC by using the following steps:

  • Open Server Manager
  • Click Configure IE ESC under the Security Information Section
  • Enable or disable IE IEC

Done.

Have IE IEC Enabled and accedently clicked off the "Display enhanced security configuration dialog" check box?

  • Click Start, type in "regedit" and hit enter.
  • Go to "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\LowRegistry\DontShowMeThisDialogAgain"
  • Edit "DisplayTrustAlertDlg" to be "1"

Done.