shortcut w/admin privileges for standard user


  1. Posts : 110
    Win 10 ver 20H2
       #1

    shortcut w/admin privileges for standard user


    Hello,

    I've just cleaned up a massive malware infection on my grandson's computer (HP Pavilion notebook) and upgraded it to Win 10 from its native Win 8. His account is a standard user vs admin. Everything's working fine. EXCEPT, he plays an online game which requires an admin password to boot. What I'm trying to do is create access to the program without having to log him in every time. The command I'm trying to implement is:

    runas /user:ComputerName\Username /savecred "C:\path\to\file.exe"

    Of course I swapped out the real computer name and user name, and I've tried working with the existing shortcut pinned to the taskbar, so I know I've got the correct file path. I've also tried creating a brand new shortcut, but I can't get the program to boot. Perhaps Win 10 doesn't allow a runas command for a standard user.

    Is there another way - that isn't too complicated - to do this?
      My Computer


  2. Posts : 68,665
    64-bit Windows 11 Pro for Workstations
       #2

    Hello 3point1, :)

    You would need to use the credentials of the built-in Administrator account instead for that command to work.

    Elevated Program Shortcut - Create for Standard User - Windows 7 Help Forums
      My Computers


  3. Posts : 110
    Win 10 ver 20H2
    Thread Starter
       #3

    Enabling the hidden/built-in Admin account & setting a password for it worked like a charm! Thanks, Brink! :)
      My Computer


  4. Posts : 68,665
    64-bit Windows 11 Pro for Workstations
       #4

    You're most welcome. I'm glad it could help. :)
      My Computers


  5. Posts : 15
    Win 10
       #5

    Brink said:
    Hello 3point1, :)

    You would need to use the credentials of the built-in Administrator account instead for that command to work.

    Elevated Program Shortcut - Create for Standard User - Windows 7 Help Forums
    Thanks. One, perhaps dumb, question:

    Must it be the built-in Administrator account? Or, can it be an Admin level account created at install time? I have an Admin level account on all our PCs and a standard User account.

    If it must be the hidden Administrator account, I presume it can be re-hidden afterwards - correct?

    I'd like to use this for a VPN shortcut. Prior to finding this thread, I tried similar using the Admin level account (i.e. not the hidden Administrator one), but it didn't work. Maybe it didn't because it should have been built-in Administrator, but it seems to accept without either error or the VPN application started.

    Anyway, wanted to check if built-in Administrator was necessary vs created Admin, before going through the rigmarole to change up all the computers.
      My Computer


  6. Posts : 68,665
    64-bit Windows 11 Pro for Workstations
       #6

    Hello tansplanted99, :)

    Yeah, it must be the built-in Administrator account used for this to work.

    If you disable the account afterwards, it will also break the shortcut. The account will need to remain enabled for the shortcut to continue to work.

    If you wanted an elevated shortcut to use in an administrator account instead of standard user, then you could use the method below instead.

    https://www.tenforums.com/tutorials/5...dows-10-a.html
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:44.
Find Us




Windows 10 Forums