If you gsudo again before the elevated gsudo timeouts, it wont ask for UAC again. It shows a UAC window for the first elevation. Like gsudo, a sudo for windows that allows to elevate the command prompt in place. It shouldn't be possible to elevate skipping the UAC, otherwise it violates a windows security principle.īut there are tools that allows this. By setting the windows layout manually, the new window can be created directly below and abutting the original. In either case it's not quite the same as su or sudo, but it's the closest you'll get. ): for a GUI application this is expected, but for a command-line program, you may want to use /k instead of /c, to give you a chance to see the output or you could run via a batch file ( sudo.cmd perhaps?) which concatenates & pause to the end of your run string. Note that this will always open a new window (as does the TCC solution start /elevated. Depending on your policies, you may or may not be prompted for confirmation. Now cmdadmin is your su or sudo: you can start it without parameters to give you a shell with administrative privileges, or you can run it with /c to execute a single command in this mode. In the Compatibility tab select run as admin (or set it for all users). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |