Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller). In this short note i will show how to find out which DC a computer is authenticated to using Windows CMD and PowerShell.
windows
Check If Computer Is In Domain – CMD & PowerShell
Windows Domain Controller (DC) is a server that responds to security authentication requests within a Windows Domain (group of networked computers controlled by domain controller). In this article i will show how to find out whatever a computer is a part of a Windows domain and how to get the name of the domain the […]
Windows: Prevent Lock Screen Timeout When Idle
Corporate Windows computers and servers are usually configured to lock the screen after some time of inactivity. This is especially inconvenient when your remote desktop session keeps disconnecting with “RDP Session Timeout” each time after few minutes of being idle. In this article i will show how to stop computer from locking and keep the […]
Run CMD as Administrator – Command Prompt
The elevated command prompt allows users to execute commands with administrative privileges. By default, when opening the command line in Windows, you will not have full rights and not all commands will work. In this short note i am showing the easiest and quickest way of how to run CMD as administrator. This method of […]
Install Maven in Windows
Apache Maven is a command-line tool for building and managing dependencies of Java-based applications. Maven requires Java and before installing Maven in Windows it needs to ensure that Java Development Kit (JDK) is installed and JAVA_HOME environment variable is set. As only this requirement is satisfied, you can download and install Maven. In this note […]
Windows: `Cat` Equivalent – CMD & PowerShell
The cat command in Linux is used to concatenate files and print on the standard output. The type command is a Windows cat equivalent that works across a command-line prompt (CMD) and a Windows PowerShell. In this short note i will show how to concatenate files and how to print the contents of a text […]
File is Open in Another Program: Delete – Find Locking Process
If you try to delete a file or a folder locked by some process (open in another program) in Windows you may get an error as follows: The action can’t be completed because the file is open in another program The action can’t be completed because the folder or a file in it is open […]
Windows: Environment Variables Editor – Quick Shortcut
The most convenient way to create and modify environment variables in Windows is to use the default environment variables editor. Unfortunately it is not easy to find where to launch this tool from that is quite annoying if you have to edit environment variables in Windows often. In this article i will show how to […]
Windows: `Watch` Equivalent – CMD & PowerShell
The watch command in Linux is used to execute a command periodically and show the output. This is extremely useful if you need to track any changes in the output of a repeatedly executed command. There is no direct equivalent for the watch command in Windows, however the same result can be achieved using the […]
Windows: MD5/SHA256 CheckSum – Built-In Utility
In Windows you can make a checksum of a file without installing any additional software. For this you can use the certUtil – built-in command-line utility that works both in Windows CMD and Powershell. In this note i will show the examples of how to make md5sum and sha256sum of a file in Windows from […]