What Active Directory Groups Am I In?

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 note shows how to do this. (more…)

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 minimized window from the Windows command prompt (CMD) or a batch file. (more…)

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 you can try to restart the explorer.exe process only.

In this note i will show how to fix problems with the Windows Explorer by restarting the explorer.exe from the Windows Task Manager or from the command prompt (CMD). (more…)

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 the rmdir command to delete folders and their contents recursively without throwing any errors like “The directory is not empty” or “Access is denied“. (more…)

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 time on opening them from some other place (e.g. from a “Start” menu) and navigating to the required folder manually.

This note shows very easy and efficient way of how to open the CMD or PowerShell withing the current folder. (more…)

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 the File Explorer from the CMD or Windows PowerShell using the explorer command. (more…)

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 the laptop vendors, including: HP, Lenovo, Dell, Acer, Asus, etc.

In this show note i will show how to find the laptop’s model and serial number from the command prompt using the wmic command. (more…)