You might have ran into the problem where you can still buy a 3 year (or 2) SSL certificate, but you have to renew it each year. It's pretty simple still (assuming you know your way around SSH commands to your AWS instance). Generate your private key: sudo openssl genrsa -out server.keyOr if you have…
Read more
Use Active Directory to retrieve computer last logon date
If you need to see when a computer last logged onto your domain, here is a quick command to achieve that using PowerShell Active Directory shell: Get-ADComputer -identity [COMPUTER NAME] -Properties * | FT Name, LastLogonDate To look at all computers in your network. Change the -Identity switch for the -Filter switch: Get-ADComputer -Filter *…
Read more
Partition Assistant – Manage your Space
If you are in need of increasing space on any drive (mainly in regards to servers), I highly recommend this tool: AOMEI Partition Assistant (PA) A great tool that is easy to use and works! Just a few notes: MAKE A BACKUP OF ALL DRIVES BEFORE STARTING! - DO THIS, don't be lazy and regret…
Read more
AWS CLOSE_WAIT socket problems!
A buildup of sockets in CLOSE_WAIT state may indicate an application programming error. A CLOSE_WAIT socket is a socket in which the connection has received a FIN and has yet to be closed by the application. In this state, it is the responsibility of the application to close the socket, although the operating system will…
Read more
Go Daddy and PHP.ini file.
If you are using GoDaddy and hosting Linux with them, you may be needing to modify the PHP.ini configuration file. The PHP initialization files can manage form, server, and environmental variables as well as server-side cookies, temporary directories, error display, and error logging. First, you need to know how to modify it (or where to…
Read more
Linux Helpful Commands
Here is a list of some helpful Linux commands (all these commands assume you are a ROOT user): Need to search all your files, on your server for a word(s)? grep -r "SEARCH WORDS HERE" . Add on "-l" if you want to return ONLY the file that search word is in. Add on "-i"…
Read more
FTP PowerShell Script
Automated PS script to run a FTP via Windows Task Scheduler using: Powershell.exe -ExecutionPolicy Bypass -command ".'C:path\to\SCRIPTNAME.ps1' optional argument -WindowStyle Hidden For console testing, use Set-ExecutionPolicy RemoteSigned or --bypass [sourcecode language="plain"] # Location where csv file is to be created, with results from query. $dir = Get-ChildItem -Path "PATH TO DIRECTORY HERE" | Sort-Object…
Read more
How To Modify An Existing DHCP Scope and Subnet
After searching through a lot of tutorials and how-to's I created a step-by-step tutorial of how to change a DHCP scope. Probably because you are running out of IP's to had out from your DHCP server. First here is a IP Subnet Calculator. CMD: netsh dhcp server \\”Server name” scope “scope subnet name” dump>c:\dhcp.txt Take…
Read more
Logon screen turns black in Windows Server 2012 R2
When you try to log on to a Windows Server 2012 R2-based computer, the logon screen turns black after you enter the credentials. Then, the computer becomes unresponsive. Note: The computer is unresponsive even if you press CTRL+ALT+DEL Here is the fix: https://support.microsoft.com/en-us/kb/2897632 This issue occurs because an error occurs when the system tries to…
Read more
Scheduling your Server to Automatically Reboot
Navigate to Start -> All Programs -> Accessories -> System Tools -> Scheduled Tasks. You should now see the Add Scheduled Task Wizard on the Right. Choose run a program when prompted on what to do... click the Browse button. By default, the browse button will bring you to the root of the C: drive. Navigate to WINDOWS -> system32 and locate the file named ‘shutdown.exe’. Highlight it,…
Read more
Restart a Remote Server Using Command Prompt
Sometimes your server will become unresponsive, most of the time you will notice this when you try and remote desktop on and you just get a black BLANK screen. To fix this: Launch command prompt (as administrator) and run the below command. User should have administrator permissions on the server. 1: SHUTDOWN /r /f /t…
Read more
Windows computer is not accessible on domain network error
If you get a message that says "Windows computer is not accessible..." and you are on a domain network here is the fix that generally works: Go to your DNS on your domain controller Look for the FQDN computer you are trying to access in the list. It will MOST LIKELY be the wrong IP…
Read more
- 1
- 2