If you are an active user of the Command Prompt on Windows, you will like this tiny utility. It allows you to run elevated programs without entering your password (but with UAC dialog). You could achieve similar behavior if you choose "Run as administrator" in context menu of a program, but it is not possible to achieve it from command line by default. As an additional useful and important feature, this utility preserves current directory instead of using
c:\windows\system32\. So, if you run su from a Total Commander window, it will open cmd with elevated privileges, and in your current directory. Other similar utilities usually don't preserve current directory, so cmd runs in
c:\windows\system32\, and it is very inconvenient.
Download: sucmd.zip (7KB). Source code →
install.cmd to copy
su32.exe to appropriate directories as
c:\windows\syswow64\su.exe accordingly). After this, the
su command will always be available in command line or after pressing Win+R.
su without arguments runs elevated cmd. If you provide a command in arguments,
su will execute it with elevated rights. For example, if you are in the
c:\windows\system32\drivers\etc\ directory, and want to edit the hosts file, you can just execute
su notepad hosts and agree with UAC using
- x64 version
- Won't even try to run on Windows older than Vista (it didn't work anyway)
- Smaller executable (since non-working XP compatibility is removed)
- First public version
- Uses itself as an intermediate
- Uses cmd as an intermediate
Hey, this is a super handy feature to have. Thanks!