Do you often use SU command on Linux systems? Undoubtedly, it is a very handy command to switch users and elevate permissions. But Windows does not have anything like that. Not even anything close to it. In this post, we are going to cover a small tool that is just going to give you a little hang of it. SU – Supershell for Windows 11/10/8/7 is a new fancy way of starting a CMD window with administrator rights. It is the same as right-clicking CMD and selecting Run as administrator but in a more intuitive way.
SU Supershell for Windows
The program is a very small (9 KBs) executable file and has no GUI. It is super simple to use. All you need to do is download it and copy it to the folder where you want to start a CMD window with administrator privileges. Double click the EXE and a new CMD window with administrator rights will start.
But make sure you have access to Admin privileges on your device. If not, then this tool is quite pointless for you.
Supershell also supports a basic command line argument which is for sure very handy when used in combination with other programs. Suppose, there is a program that you want to run always as an administrator. Place su.exe with that program in the same folder. Now, the next time you want to execute it, you just need to run the following command:
su.exe /CMD yourprogram.exe
su /CMD program
The command line argument will start the mentioned program with elevated privileges. This comes very handy in day-to-day tasks.
Another way of using this tiny little utility is by adding it to your PATH Environment Variable. By adding Supershell installation directory to your path variable, you are practically making it available everywhere on your system.
Once added to the path, su command is available anywhere on your system. Open a CMD window and just type in su to open a new CMD window with elevated permissions. Similarly, the command with an extra argument will also work.
This might not be the exact su functionality offered by Linux, but this is as close it can get to it. Remember that if you normally do not have Admin privileges or you are logged in as a standard user, you won’t be able to use this tool.
Supershell for Windows is offered as a part of gtools, which is a very useful collection of Windows and scientific tools. The tool is completely open source, and the link to code can be found on the developer’s website. You can download the source, modify it to your requirements and build it along with your own projects. The entrire project has been written in C#.
Supershell for Windows is a great tool to have in your toolbox. If you are a developer or if you use the command line often, then you will find this tool useful. The tool is simple, quick and easy to setup and use. Click here to download Supershell.