After setting up an Active Directory (AD) on our Windows Server it is advisable to have another server to be a Secondary Active Directory Domain Controller to become the failover for Active Directory in case something happens to the first AD Server.
Below is a detailed tutorial on how to properly set up a Secondary Active Directory Domain Controller on Windows Server 2016.
Primaryrefers to the first Windows Server that we setup Active Directory with.
Secondaryrefers to the the Second Windows Server we will set Active Directory. This is what we will setup here.
The very first thing I do after installing Active Directory (AD) on Windows Server is to change the password of my AD Administrator. I do this because I use Amazon Web Services (AWS) EC2 as my servers and AWS automatically generates the password for my Windows Server.
The AD Administrator is a very powerful user for Active Directory as you can restrict or open capabilities to other users and computer, install/uninstall programs and can even shut down any member computer using the Admin user. That is why you should really keep your AD Administrator User password in a safe place.
Whatever the reason you have for wanting to change the password of your AD Administrator below is a step-by-step tutorial on how to change it.
Login to your Windows Server.
Click on the Window Icon on the bottom-left and click on Server Manager.
Click on Toolsthen Active Directory Users and Computers.
My favorite Python connector for MySQL or MariaDB is MySQLdb, the problem with this connector is that it is complicated to install on Windows!
I am creating this article for those who want to install MySQLdb for Python 3 for Windows. Especially me, since each time I am doing a Python project that needs to connect to MariaDB or MySQL I always look on how to install MySQLdb.
Problem: You are running a critical Windows Server on AWS EC2 and the C: drive is almost full (storage volume) but it should zero downtime (No Restart, No Stop then Start). Is this possible on AWS EC2?
Editing configuration values inside the code is a high risk for error since there is a high chance that not only the values that you are changing you will change, you might even delete a letter or edit a line. In order to avoid this risk, you want your code to be able to accept configuration values at run time. This is extremely useful when developing codes on different environments like development, testing and production.
With AWS Lambda you can reuse your code on different environments using the Environment Variables.
When opening a program in Windows, sometimes it would open itself in a position outside of the screen. Right-clicking the program on the taskbar does not work. Trying to move it to a new desktop is also futile. Using window key+arrow keys is also not making it appear. What to do then?
Below is a way to make the off-screen window appear again.
Click the off-screen program icon on the Windows Taskbar to make it the active window.
When right clicking on the File or Folder in Windows Explorer, the context menu will not show “Open with Atom” as an option. Because of this a user would need to open Atom Text Editor then Add Project Folder to see the Folder Tree on the side bar. Quite a lot of steps really.
Having a “Open with Atom” would be a time saving feature.
The Context Menu is the menu that you can see every time you right-click a file or folder in Windows Explorer or Windows Desktop.
Is there a way to add “Open with Atom” on the context menu when you right click on a file or folder?