Run as Administrator in Windows 10  

Page 2 of 5 FirstFirst 1234 ... LastLast
  1. Brink's Avatar
    Posts : 56,204
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #10

    Try the location below for creating the shortcut with instead. Substitute the part in red for the task name in your Microsoft\My Tasks folder. :)

    schtasks /run /tn "Microsoft\My Tasks\Registry Editor"
      My Computers


  2. Posts : 13
    Windows 10
       #11

    Brink said:
    Try the location below for creating the shortcut with instead. Substitute the part in red for the task name in your Microsoft\My Tasks folder. :)

    schtasks /run /tn "Microsoft\My Tasks\Registry Editor"
    Yes, that works great!
    I did actually try that path, only without the quotation marks which I think is why it wouldn't work.
    Nevertheless it works as intended now, I can't thank you enough for your help, keep it up the great work, you are a credit to this community!

    Regards
    Wh0pper28
      My Computer

  3. Brink's Avatar
    Posts : 56,204
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #12

    You're most welcome Wh0pper28. :)
      My Computers


  4. Posts : 4
    windows 10
       #13

    I modified my registry in order to call mklink from cmd. However it seems that this option does not work as described and I still get "You do not have sufficient privilege to perform this operation".
      My Computer

  5. Brink's Avatar
    Posts : 56,204
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #14

    Hello tolisss, and welcome to Ten Forums. :)

    Are you using an elevated command prompt to run the mklink command from?

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


  6. Posts : 4
    windows 10
       #15

    Hi Brink,

    Thnks for the link however it is really inconvenient since all options require to use the mouse. This post 10 option describes a way to run any app as admin from anywhere by modifying the registry so it should work from cmd but it does not
      My Computer

  7. Brink's Avatar
    Posts : 56,204
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #16

    I see now. That is to be used along with this below if you haven't already. :)

    Elevated Program Shortcut without UAC Prompt - Create - Windows 7 Help Forums
      My Computers


  8. Posts : 4
    windows 10
       #17

    Brink said:
    I see now. That is to be used along with this below if you haven't already. :)

    Elevated Program Shortcut without UAC Prompt - Create - Windows 7 Help Forums
    again thanks for the link however this still is not satisfying. What I want is to run cmd from everywhere. For example you navigate to a folder using windows explorer and press Alt+D and then cmd to open a console to the current dir. How to elavate that console.
      My Computer

  9. lx07's Avatar
    Posts : 5,479
    2004
       #18

    tolisss said:
    again thanks for the link however this still is not satisfying. What I want is to run cmd from everywhere. For example you navigate to a folder using windows explorer and press Alt+D and then cmd to open a console to the current dir. How to elavate that console.
    You could make a shortcut C:\Windows\cmd.lnk and set it to run C:\Windows\System32\cmd.exe elevated. It is higher in your path so is invoked by default when you type cmd in explorer.

    Edit - sorry, it doesn't always get picked up - depends where explorer is open.
      My Computer

  10. Brink's Avatar
    Posts : 56,204
    64-bit Windows 10 Pro for Workstations build 21354
    Thread Starter
       #19

    tolisss said:
    again thanks for the link however this still is not satisfying. What I want is to run cmd from everywhere. For example you navigate to a folder using windows explorer and press Alt+D and then cmd to open a console to the current dir. How to elavate that console.
    This below will give you a Open Command Window Here as Administrator context menu that will hopefully help.

    Open Command Window Here as Administrator - Windows 7 Help Forums
      My Computers


 
Page 2 of 5 FirstFirst 1234 ... LastLast

Tutorial Categories

Run as Administrator in Windows 10 Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  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:02.
Find Us




Windows 10 Forums