If your computer is running in a corporate environment, one day you may wonder which Active Directory (AD) groups your current user is a member of. The easiest way to see what AD groups i am a member of is by executing the appropriate commands from a command prompt (CMD or PowerShell) and this short […]
windows
Start Maximized | Minimized Program – CMD (Batch)
A START command is used to run a program or command in a separate window from a Windows command prompt (CMD). The new window can be started as maximized or minimized, that can be controlled using the /MAX or /MIN switches correspondingly. Below i will show how to start a program in the maximized or […]
Windows: Get a User’s SID – CMD & PowerShell
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 […]
Windows: Migrate Domain User Profile To Local
If you are leaving a company and keep your corporate laptop, that is in a company’s AD domain (e.g. AzureAD), with you, you may wonder how to keep your user’s profile settings and data before removing it from the domain. Unfortunately, by the moment, Microsoft doesn’t propose any official tool to migrate the domain user […]
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.
Git Bash: Clear History
The history -cw command is used to clear a Bash history on Linux, but for some reason it doesn’t work for a Git Bash on Windows. If you try to clear the commands history in the Git Bash using this command, it won’t work – you will still see the history of the executed commands […]
Windows: `lsusb` Equivalent – PowerShell
The lsusb command in Linux, known as the “List USB” command, is widely used to list the connected USB devices and display the information about them. One of the quickest ways to list the connected USB devices in Windows is by using the “Device Manger”: simply press the ⊞ Win key to open the “Start […]
Windows: Startup Folder – Add Program to Startup
A program in Windows can be configured to automatically start on boot by placing its shortcut in a Windows startup folder. There are two types of the startup folders in Windows – a user startup folder used to autostart applications for the particular user only and a system startup folder to configure the startup of […]
QR Code Generator – Windows, Linux, MacOS
A QR code generator is an application which creates and stores different types of data in a QR code image file. A qrencode is a free command line tool for encoding string data in the QR code and saving it as a PNG or an EPS image. In this note i will show how to […]
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 […]