Any user, group or computer in Windows has a unique SID (security identifier) assigned. The SIDs are used to control access to various Windows resources like files, registry keys, network shares, etc. Below i will show you how to get the user’s SID and how to do the reverse SID lookup (get the user name […]
cmd
Change Computer Name – Windows CMD & PowerShell
To show a computer’s name in Windows, simply execute the hostname command from a Windows command prompt (CMD) or PowerShell. There may be multiple reasons to rename the computer. In this article, i will show you how to change your computer’s name in Windows using the CMD and PowerShell.
Windows: Restart Explorer
Windows Explorer or explorer.exe is a process in Windows that is responsible for starting and displaying the most of the graphical user interfaces (GUI), including the Desktop, Taskbar, “Start” menu and File Explorer. If any of the components the Windows Explorer is responsible of are freezing, hanging and not responding, before restarting the whole computer […]
CMD: Delete Folder (Force `RMDIR`) – Windows
The rm -rf command in Linux is used to force the deletion of folders and their contents recursively. The rmdir command is a Windows rm equivalent in a Windows command prompt (CMD), that also can be used to force the folders deletion with all their contents. In this note i will show how to force […]
Open Command Prompt in Folder – CMD & PowerShell
While browsing files and folders in a default Windows graphical file manager application called File Explorer, sometimes you may want to open a folder in a command prompt (CMD) or PowerShell to execute some commands within the current folder. You can easily open the command prompt or PowerShell directly in the current folder without wasting […]
Open File Explorer from CMD & PowerShell
File Explorer, is a default file manager application in Windows that provides a graphical user interface for accessing the file systems. While working in a Windows command prompt (CMD) or PowerShell, sometimes you may want to open the current folder in the File Explorer to continue working from there. This note shows how to open […]
Windows: `Echo` Newline (Line Break) [\n] – CMD & PowerShell
In a Windows Command Prompt (CMD) and PowerShell when you execute the echo command to print some text or redirect it to a file, you can break it into multiple lines. In Linux you can do this by using the \n. This short note shows how to break lines and insert new lines using the […]
How To Find Laptop’s Model & Serial Number – CMD
The laptop’s model and serial number usually can be found on the bottom case of the laptop as either a printed sticker or laser etched into the cover. Also the model and the serial number of a laptop can easily be found using a Windows command prompt (CMD). This “command prompt method” works for all […]
Check BIOS Version in Windows – CMD & PowerShell
BIOS is a firmware interface between a computer’s hardware and the operating system and like any software, it can be updated. Knowing the BIOS version can tell you if you have the most up-to-date version of the BIOS or it has to be updated. This note shows how to check the BIOS version in Windows […]
CMD: Clear Screen – Clear Command Prompt
The clear command in Linux is used to clear the terminal’s screen. You can also use the clear command in a Windows PowerShell where it is an alias of the Clear-Host command, that does pretty match the same – removes all text from the current display, including commands and output that might have accumulated. But […]