How to enter administrator password way remote access?

Leandro da Silva 25 Reputation points
2024-01-02T11:59:45.48+00:00

Every time I do a remote access to install a program, I need the password of the administrator and I need the person to type, this would be bad if it were in a company, how can I do it so that when I open the UAC of windows I myself through remote access can click on the password box?

I wanted to know if there is any way for me to be able to enter the administrator password via remote access (google's remotedesktop, teamviewer, etc) in windows 11.

Windows for business Windows Client for IT Pros User experience Other
{count} vote

Accepted answer
  1. MotoX80 36,291 Reputation points
    2024-01-02T17:28:35.35+00:00

    Why can't you just type in the password yourself? I use VNC which I believe works the same way that the apps you mentioned do. It "screen scrapes" and it's just like I am sitting at the desktop.

    If those apps cannot intercept a UAC prompt, then you can try using runas.exe. Open a command prompt (or powershell) and run this with your admin account.

    runas.exe /user:admin "powershell.exe start-process cmd.exe -verb runas"
    

    Runas.exe will prompt you for the admin user's password. When Powershell runs, you will get a UAC prompt where you just need to click on the Yes button to continue.

    You will end up with an elevated cmd prompt windows that is running as your admin account. From there you can run the setup.exe for the install.


1 additional answer

Sort by: Most helpful
  1. Anonymous
    2024-01-03T06:54:44.49+00:00

    Hello,

    If your organization has a VPN connection. It is advisable to use MS official tool -- Remote Desktop to access the PC.

    In windows client (win10, win11), you can just type 'mstsc' in your search bar, login with your credential, then you can use the PC just as a local machine.

    Best Regards,
    Karlie Weng


    If the Answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.