Category: Microsoft Windows 8.1

Microsoft Active Directory – Trust Relationship Failure with Primary Domain

If you’ve worked with Microsoft Active Directory, then it’s very likely you’ve seen the following error message while trying to login to a server or workstation using domain credentials: “The trust relationship between this workstation and the primary domain failed.” Typically, this is resolved by removing the server or workstation from the domain then rejoining…


Amazon Web Services – Verify AWS CLI Installation

You may use the following link to receive instructions on installing the AWS CLI. Additionally, to verify the installation, navigate to C:\Program Files\Amazon\AWSCLI for x64 operating systems and C:\Program Files (x86)\Amazon\AWSCLI for x86 operating systems. Lastly, you may verify the version of the AWS CLI using the aws –version command from a Windows Command Prompt…


Microsoft Windows PowerShell – View Reboot and Uptime

The Microsoft Windows PowerShell script below will query a Windows hosts for the time it was rebooted and the time it completed it’s reboot. <#.SYNOPSISThis script will request the hostname of a server then provide the time it was shutdown and completed it’s reboot..DESCRIPTIONThis script will request the hostname of a server then provide the…


Microsoft Windows PowerShell – Get Host Architecture

You may use the following Microsoft Windows PowerShell script below to get the architecture, physical or virtual, of a Windows host on a network. <#.SYNOPSISThis script will provide the architure (physical of virtual) of a host..DESCRIPTIONThis script will provide the architure (physical of virtual) of a host..EXAMPLEsysteminfo /s $HOSTNAME | findstr /c:”Model:” /c:”Host Name”.AUTHORWritten by…


Telnet – Testing Network Ports

You may use the command below, in the Windows command prompt or Windows PowerShell, to verify network ports are open on a specific host in your network. The example below is verifying that port Transmission Control Protocol (TCP) port 80 is open on Internet Protocol (IP) address 192.168.1.1. Syntax: telnet <<<HOST>>> <<<PORT>>> Example: telnet 192.168.1.1…


Microsoft Windows PowerShell – Scheduling a Microsoft Windows PowerShell Script

You may use the following settings to configure a Microsoft Windows PowerShell script to run as an automated task in Task Scheduler. This is a very helpful feature for running scripts during the evening. General When running the task, use the following user account: DOMAIN\USERNAME Run whether user is logged on or not Actions Start…


Microsoft Windows Server 2012 R2 – Map a Network Drive

You may use the following command to map a network drive using the Microsoft Command Prompt or Microsoft Windows PowerShell. Additionally, replace the <HOSTNAME> and <SHARE> variables with the appropriate server and share name. NET USE Z: \\<HOSTNAME>\<SHARE> Enjoy!


Group Policy Object – Standard Security Settings GPO

You may use the following Windows Server 2012 Group Policy Object (GPO) settings to configure basic security settings for Windows Server 2008/2012/2012 R2 or Windows 7/8/8.1.   Local Logon and Local Administrators GPO Path: Computer Configuration\Policies\Windows Settings\Security Settings\Local Policies\User Right Assignment GPO Setting: Allow log on locally¬†(used to define this user group) GPO Path: Computer…