Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > alt.comp.os.windows-11 > #18226 > unrolled thread

beesu for windows?

Started byT <T@invalid.invalid>
First post2025-04-03 04:02 -0700
Last post2025-04-03 14:36 -0400
Articles 12 — 8 participants

Back to article view | Back to alt.comp.os.windows-11


Contents

  beesu for windows? T <T@invalid.invalid> - 2025-04-03 04:02 -0700
    Re: beesu for windows? Newyana2 <newyana@invalid.nospam> - 2025-04-03 08:49 -0400
      Re: beesu for windows? T <T@invalid.invalid> - 2025-04-03 08:47 -0700
      Re: beesu for windows? ...w¡ñ§±¤ñ  <winstonmvp@gmail.com> - 2025-04-03 10:36 -0700
        Re: beesu for windows? Newyana2 <newyana@invalid.nospam> - 2025-04-03 14:17 -0400
          Re: beesu for windows? ...w¡ñ§±¤ñ  <winstonmvp@gmail.com> - 2025-04-05 11:16 -0700
            Re: beesu for windows? "Kerr-Mudd, John" <admin@127.0.0.1> - 2025-04-06 21:12 +0100
          Re: beesu for windows? T <T@invalid.invalid> - 2025-04-06 06:08 -0700
    Re: beesu for windows? Anssi Saari <anssi.saari@usenet.mail.kapsi.fi> - 2025-04-03 19:31 +0300
    Re: beesu for windows? Paul <nospam@needed.invalid> - 2025-04-03 16:01 -0400
      Re: beesu for windows? Andy Burns <usenet@andyburns.uk> - 2025-04-03 21:56 +0100
    Re: beesu for windows? mummycullen@gmail-dot-com.no-spam.invalid (MummyChunk) - 2025-04-03 14:36 -0400

#18226 — beesu for windows?

FromT <T@invalid.invalid>
Date2025-04-03 04:02 -0700
Subjectbeesu for windows?
Message-ID<vslprv$3sbip$1@dont-email.me>
Hi All,

Anyone know if a "beesu" style command for Windows?

Beesu open a input text dialog box prompting for the
root's password and then proceed to run your command
as root. Or bust your chops for the inputting
the wrong password.

Many thanks,
-T

[toc] | [next] | [standalone]


#18232

FromNewyana2 <newyana@invalid.nospam>
Date2025-04-03 08:49 -0400
Message-ID<vsm03m$mmv2$1@dont-email.me>
In reply to#18226
On 4/3/2025 7:02 AM, T wrote:
> Hi All,
> 
> Anyone know if a "beesu" style command for Windows?
> 
> Beesu open a input text dialog box prompting for the
> root's password and then proceed to run your command
> as root. Or bust your chops for the inputting
> the wrong password.
> 

   I keep shortcuts to cmd.exe and powershell on my desktop,
so if I need them I can just right-click -> Run as Admin.
Actually, I keep several such shortcuts, including Regedit,
gpedit and my own program for stripping of file restrictions
recursviely. I often forget to elevate. So right-clicking
shortcuts is an easy way to take care of it.

[toc] | [prev] | [next] | [standalone]


#18235

FromT <T@invalid.invalid>
Date2025-04-03 08:47 -0700
Message-ID<vsmahl$11481$1@dont-email.me>
In reply to#18232
On 4/3/25 5:49 AM, Newyana2 wrote:
> On 4/3/2025 7:02 AM, T wrote:
>> Hi All,
>>
>> Anyone know if a "beesu" style command for Windows?
>>
>> Beesu open a input text dialog box prompting for the
>> root's password and then proceed to run your command
>> as root. Or bust your chops for the inputting
>> the wrong password.
>>
> 
>    I keep shortcuts to cmd.exe and powershell on my desktop,
> so if I need them I can just right-click -> Run as Admin.
> Actually, I keep several such shortcuts, including Regedit,
> gpedit and my own program for stripping of file restrictions
> recursviely. I often forget to elevate. So right-clicking
> shortcuts is an easy way to take care of it.

That is the way I currently do it too.

Something like beesu would uncomplicate the process.
And it would get me around Any Desk crashing on the
UAC prompt

[toc] | [prev] | [next] | [standalone]


#18241

From...w¡ñ§±¤ñ <winstonmvp@gmail.com>
Date2025-04-03 10:36 -0700
Message-ID<vsmgu8$17vbo$1@dont-email.me>
In reply to#18232
Newyana2 wrote on 4/3/2025 5:49 AM:
> 
>    I keep shortcuts to cmd.exe and powershell on my desktop,
> so if I need them I can just right-click -> Run as Admin.
> Actually, I keep several such shortcuts, including Regedit,
> gpedit and my own program for stripping of file restrictions
> recursviely. I often forget to elevate. So right-clicking
> shortcuts is an easy way to take care of it.

Skip the right click.
Set the shortcut properties to open with admin rights.

-- 
...w¡ñ§±¤ñ

[toc] | [prev] | [next] | [standalone]


#18243

FromNewyana2 <newyana@invalid.nospam>
Date2025-04-03 14:17 -0400
Message-ID<vsmj97$1ad50$1@dont-email.me>
In reply to#18241
On 4/3/2025 1:36 PM, ...w¡ñ§±¤ñ wrote:
> Newyana2 wrote on 4/3/2025 5:49 AM:
>>
>>    I keep shortcuts to cmd.exe and powershell on my desktop,
>> so if I need them I can just right-click -> Run as Admin.
>> Actually, I keep several such shortcuts, including Regedit,
>> gpedit and my own program for stripping of file restrictions
>> recursviely. I often forget to elevate. So right-clicking
>> shortcuts is an easy way to take care of it.
> 
> Skip the right click.
> Set the shortcut properties to open with admin rights.
> 

Ah. Thanks. I didn't know about that.

[toc] | [prev] | [next] | [standalone]


#18309

From...w¡ñ§±¤ñ <winstonmvp@gmail.com>
Date2025-04-05 11:16 -0700
Message-ID<vsrs1t$2toj6$1@dont-email.me>
In reply to#18243
Newyana2 wrote on 4/3/2025 11:17 AM:
> On 4/3/2025 1:36 PM, ...w¡ñ§±¤ñ wrote:
>> Newyana2 wrote on 4/3/2025 5:49 AM:
>>>
>>>    I keep shortcuts to cmd.exe and powershell on my desktop,
>>> so if I need them I can just right-click -> Run as Admin.
>>> Actually, I keep several such shortcuts, including Regedit,
>>> gpedit and my own program for stripping of file restrictions
>>> recursviely. I often forget to elevate. So right-clicking
>>> shortcuts is an easy way to take care of it.
>>
>> Skip the right click.
>> Set the shortcut properties to open with admin rights.
>>
> 
> Ah. Thanks. I didn't know about that.

You're welcome.

IIrc, shortcut properties/advanced option/run as admin has been around, 
at least, since Windows Vista.  Possible earlier with XP SP3, if not, 
then XP probably required the 'runas' command line method in the shortcut 
target path.

-- 
...w¡ñ§±¤ñ

[toc] | [prev] | [next] | [standalone]


#18319

From"Kerr-Mudd, John" <admin@127.0.0.1>
Date2025-04-06 21:12 +0100
Message-ID<20250406211255.03048e851c44e5dcdc3ecb0d@127.0.0.1>
In reply to#18309
On Sat, 5 Apr 2025 11:16:29 -0700
...w¡ñ§±¤ñ  <winstonmvp@gmail.com> wrote:

> Newyana2 wrote on 4/3/2025 11:17 AM:
> > On 4/3/2025 1:36 PM, ...w¡ñ§±¤ñ wrote:
> >> Newyana2 wrote on 4/3/2025 5:49 AM:
> >>>
> >>>    I keep shortcuts to cmd.exe and powershell on my desktop,
> >>> so if I need them I can just right-click -> Run as Admin.
> >>> Actually, I keep several such shortcuts, including Regedit,
> >>> gpedit and my own program for stripping of file restrictions
> >>> recursviely. I often forget to elevate. So right-clicking
> >>> shortcuts is an easy way to take care of it.
> >>
> >> Skip the right click.
> >> Set the shortcut properties to open with admin rights.
> >>
> > 
> > Ah. Thanks. I didn't know about that.
> 
> You're welcome.
> 
> IIrc, shortcut properties/advanced option/run as admin has been around, 
> at least, since Windows Vista.  Possible earlier with XP SP3, if not, 
> then XP probably required the 'runas' command line method in the shortcut 
> target path.
> 

Yup, Right Click "run as" is an option here. XP SP3.

-- 
Bah, and indeed Humbug.

[toc] | [prev] | [next] | [standalone]


#18318

FromT <T@invalid.invalid>
Date2025-04-06 06:08 -0700
Message-ID<vstucv$3grbt$1@dont-email.me>
In reply to#18243
On 4/3/25 11:17 AM, Newyana2 wrote:
> On 4/3/2025 1:36 PM, ...w¡ñ§±¤ñ wrote:
>> Newyana2 wrote on 4/3/2025 5:49 AM:
>>>
>>>    I keep shortcuts to cmd.exe and powershell on my desktop,
>>> so if I need them I can just right-click -> Run as Admin.
>>> Actually, I keep several such shortcuts, including Regedit,
>>> gpedit and my own program for stripping of file restrictions
>>> recursviely. I often forget to elevate. So right-clicking
>>> shortcuts is an easy way to take care of it.
>>
>> Skip the right click.
>> Set the shortcut properties to open with admin rights.
>>
> 
> Ah. Thanks. I didn't know about that.


That is what I wound up doing.  Beats right click,
open as administrator.  Be nice if here was a beesu,
but ...

[toc] | [prev] | [next] | [standalone]


#18239

FromAnssi Saari <anssi.saari@usenet.mail.kapsi.fi>
Date2025-04-03 19:31 +0300
Message-ID<sm0fripnr4g.fsf@lakka.kapsi.fi>
In reply to#18226
T <T@invalid.invalid> writes:

> Hi All,
>
> Anyone know if a "beesu" style command for Windows?

I've never used beesu but Windows has runas, maybe that works for you?

[toc] | [prev] | [next] | [standalone]


#18244

FromPaul <nospam@needed.invalid>
Date2025-04-03 16:01 -0400
Message-ID<vsmpeo$1h06j$1@dont-email.me>
In reply to#18226
On Thu, 4/3/2025 7:02 AM, T wrote:
> Hi All,
> 
> Anyone know if a "beesu" style command for Windows?
> 
> Beesu open a input text dialog box prompting for the
> root's password and then proceed to run your command
> as root. Or bust your chops for the inputting
> the wrong password.
> 
> Many thanks,
> -T
> 

This is hardly a help, as it's for 24H2.

https://learn.microsoft.com/en-us/windows/sudo/

   "Prerequisites

    The Sudo for Windows command is available in Windows 11, version 24H2
    or higher. (Check for Windows updates).

    Note

    Sudo for Windows is not yet available for Windows 10, but may be in the future.
    [You know, when hell freezes over.]
   "

I expect there could be comedy, if the main [MSA] account is the
Administrator-enabled account and you have to type the MSA password :-)
The password on a local account, may be a lesser password.
(You know, your luggage password.)

  Paul

[toc] | [prev] | [next] | [standalone]


#18250

FromAndy Burns <usenet@andyburns.uk>
Date2025-04-03 21:56 +0100
Message-ID<m58b0rFfbplU1@mid.individual.net>
In reply to#18244
Paul wrote:

> This is hardly a help, as it's for 24H2.
> https://learn.microsoft.com/en-us/windows/sudo/

I don't think it can prompt for credentials, just a Y/N UAC dialogue, if 
you're an admin.

[toc] | [prev] | [next] | [standalone]


#18246

Frommummycullen@gmail-dot-com.no-spam.invalid (MummyChunk)
Date2025-04-03 14:36 -0400
Message-ID<FQWdnVTkDusCcnP6nZ2dnZfqn_ednZ2d@giganews.com>
In reply to#18226
> T wrote:
> Hi All,
> 
> Anyone know if a "beesu" style command for Windows?
> 
> Beesu open a input text dialog box prompting for the
> root's password and then proceed to run your command
> as root. Or bust your chops for the inputting
> the wrong password.
> 
> Many thanks,
> -T



Windows doesn't have an exact equivalent to Linux's beesu command, but there are several ways to achieve similar functionality. The closest built-in option is the 'runas' command.

You can use it like this:

runas /user:Administrator "your_command_here"

This will prompt for the administrator password before running the command. One limitation is that it doesn't work with the default disabled Administrator account.

For something more like beesu, you might want to try gsudo - a popular third-party tool that adds sudo-like functionality to Windows.

It can:

Prompt for credentials when needed

Cache elevated privileges temporarily

Work in both Command Prompt and PowerShell

PowerShell also has its own elevation method using Start-Process with the -Verb RunAs parameter, though this uses the standard UAC prompt rather than a password dialog.

If you're using WSL (Windows Subsystem for Linux), you can use the regular sudo command within that environment. 


This is a response to the post seen at:
http://www.jlaforums.com/viewtopic.php?p=686763702#686763702

[toc] | [prev] | [standalone]


Back to top | Article view | alt.comp.os.windows-11


csiph-web