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


Groups > alt.comp.os.windows-10 > #96251

Re: RD WinKey-R "This task will be created with administrative privileges."

From VanguardLH <V@nguard.LH>
Newsgroups alt.comp.os.windows-10, microsoft.public.windows.server.general
Subject Re: RD WinKey-R "This task will be created with administrative privileges."
Date 2019-08-15 14:59 -0500
Organization Usenet Elder
Message-ID <1ppxv8it296z0.dlg@v.nguard.lh> (permalink)
References <20190814c@crcomp.net> <1p4l8fwuokk37$.dlg@v.nguard.lh> <20190814e@crcomp.net> <hk0qtejigrge$.dlg@v.nguard.lh> <20190815a@crcomp.net>

Cross-posted to 2 groups.

Show all headers | View raw


Don Kuenz, KB7RPU wrote:

> In alt.comp.os.windows-10 VanguardLH <V@nguard.lh> wrote:
>> Don Kuenz, KB7RPU wrote:
>>
>>> In alt.comp.os.windows-10 VanguardLH <V@nguard.lh> wrote:
>>>> Don Kuenz wrote:
>>>>
>>>>> My question is how to configure W10P and W16S to consistently display
>>>>> "This task will be created with administrative privileges." when WinKey
>>>>> R is entered?
>>>
>>> Allow me to restate my question. Although lots of different ways exist
>>> to run a task with administrative privileges, my goal is to arrange for
>>> this specific Run dialog:
>>>
>>>     http://i.stack.imgur.com/32hqo.png
>>>
>>> to popup whenever WinKey-R is pressed. Note how no additional steps are
>>> necessary. Note the shield on the dialog.
>>
>> And some of my suggestions addressed that.  Did you try them?
> 
> Did your read my OP?
> 
> Let's try this a different way.
> 
> When the domain Administrator is logged into a W10P device with UAC
> completely disabled, turned all the way down, WinKey-R is hit-and-miss.
> On some devices it displays the shield, on others it doesn't.
> 
> Ctrl-Shift-Enter accomplishes nothing from the Run dialog.
> 
> The goal is to have WinKey-R simply show the shield, and avoid all Task 
> Manager, Start Menu, shortcut, cmd, etc. rigmarole.
> 
> Policy edits fail. Hacks fail.
> 
> Addendum:
> 
> Further research shows that things work for an Administrator logged on 
> at the console. The shield appears on W16S when WinKey-R is pressed and 
> Ctrl-Shift-Enter elevates the task from W10P's Run dialog.  
> 
> It turns out that a Remote Desktop qualifier needs to be appended on my 
> original question so that it becomes:
> 
>     How to configure W10P and W16S to consistently display a
>     shield along with "This task will be created with 
>     administrative privileges." when WinKey-R is entered /from
>     a Remote Desktop session/?
> 
> A couple of workarounds suggest themselves:
> 
> 1. mstsc /admin
> 2. Determine if there's a RD key combo analogous to Ctrl-Alt-End, which
>    is interpreted as Ctrl-Alt-Del on the remote end of a RD session.
> 
> Thank you, 73,

Nothing in your original post about remoting to the host where you want
to use its Run dialog.  I haven't used RDP for a long time.  The only
thing I remember about the /admin switch (was /console before) was that
I had to use it to kill sessions that users left open when they left
work at the end of the day.  /admin does not confer any admin privileges
in the Windows account on the remote host, just admin functions within
the Terminal service running there.  On the remote host, were you
logging into an admin-level account?

Nothing mentioned about logging in under a domain account (versus a
local account).  Since you are logging into the remote host using a
domain account, and because a local account on the remote host works
okay, sure seems like the roaming profile or PDC is pushing a policy to
your remote host that alters the Run dialog.  

When RDP'ing to the remote host:
1. Logging into remote host's local account works.
2. Logging into remote host's domain account doesn't work.
The difference is using a roaming profile and pushed policies for #2.

I take it enabling the ""User Account Control: Use Admin Approval Mode
for the built-in Administrator account" policy /on the remote host/
didn't help there for the remote host's Run dialog.

I suspect Ctrl+Shift+Enter can be used only locally, just like
Ctrl+Alt+Del.  With RDP, you use Ctrl+Alt+End to effect Ctrl+Alt+Del on
the remote host.  I think another way is to run OnScreen Keyboard
(osk.exe), press and hold Ctrl+Alt on your local host's keyboard, and
press the Del button on the OSK display.  Since RDP hosts can be chained
(host A remotes to host B that remotes to host C), you'd run OSK on host
B to send Del to host C to do the Ctrl+Alt+Del on host C.  

https://docs.microsoft.com/en-us/windows/win32/termserv/terminal-services-shortcut-keys

I don't see an RDP hotkey substitute for Ctrl+Shift+Enter (to effect
that key combo on the remote host), so maybe using OSK would work.

In RDP (on your local host), check the keyboard config: Local Resources
tab, Keyboard section.  Check which setting is used.  If it is set to
"Only when using the full screen" but you're windowed, then the Windows
key combos won't be sent to the remote host.  See what happens if you
change to "On the remote computer".

https://www.nextofwindows.com/how-to-use-the-same-win-key-combinations-on-remote-desktop

"On the remote computer" has RDP hook into the keyboard at a lower level
(probably capturing the keyboard's scan codes).  You can try the
different keyboard hooking to see if one of them lets you pass the
Ctrl+Shift+Enter key combo without having to use OSK.  Of course, this
doesn't make it automatic that the Run dialog on the remote host will
run the command with admin privs.  That seems to be a problem with the
domain login, roaming profile, and policy pushing on the remote host.

Back to alt.comp.os.windows-10 | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

"This task will be created with administrative privileges." Don Kuenz, KB7RPU <g@crcomp.net> - 2019-08-14 18:30 +0000
  Re: "This task will be created with administrative privileges." VanguardLH <V@nguard.LH> - 2019-08-14 15:28 -0500
    Re: "This task will be created with administrative privileges." Don Kuenz, KB7RPU <g@crcomp.net> - 2019-08-14 20:43 +0000
      Re: "This task will be created with administrative privileges." VanguardLH <V@nguard.LH> - 2019-08-14 23:19 -0500
        Re: "This task will be created with administrative privileges." Don Kuenz, KB7RPU <g@crcomp.net> - 2019-08-15 04:44 +0000
        RD WinKey-R "This task will be created with administrative privileges." Don Kuenz, KB7RPU <g@crcomp.net> - 2019-08-15 15:47 +0000
          Re: RD WinKey-R "This task will be created with administrative privileges." VanguardLH <V@nguard.LH> - 2019-08-15 14:59 -0500
            Re: RD WinKey-R "This task will be created with administrative privileges." Don Kuenz, KB7RPU <g@crcomp.net> - 2019-08-16 04:01 +0000

csiph-web