Sometimes it is required to run an application as a different user. For example, you may want to run an elevated command prompt to execute some commands with administrative privileges. In Windows, an executable file can be run as a different user from the File Explorer or using the command line.
During troubleshooting of different issues it is often required to check if some TCP port on a remote host is opened and ensure that it is not blocked by a firewall. The most common tool for this is telnet, but it may not be installed or you may want to be able to copy the […]
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 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 […]
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 […]
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 […]
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 […]
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 […]
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 […]
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 […]