Can you open Elevated Command Prompt from Command Prompt?

Page 1 of 5 123 ... LastLast

  1. Posts : 22
    windows 10
       #1

    Can you open Elevated Command Prompt from Command Prompt?


    I have read everything I can find on Error messages regarding looping of Preparing to Repair.
    I can not open my computer to Windows...it never loads. I started experiencing problems a while ago. Finally, I would be able to get on line, but only for about a minute before it froze up.

    I am trying to do a Repair using Command Prompt because that is the only option I seem to have left. But regardless of the command....sfc /scannow or anything else...it won't go there...because it is not recognizing me as Admin.
    So...my question is as the title says: Is there a way to open elevated command prompt from command prompt?
      My Computer

  2. Samuria's Avatar
    Posts : 6,452
    windows 10
       #2

    Welcome to the forum. Yes you can by using runas see out tutor Run as different user in Windows 10 User Accounts Tutorials
      My Computer

  3. Kari's Avatar
    Posts : 17,602
    Windows 10 Pro
       #3

    To start an elevated Command Prompt from normal user mode Command Prompt, the command is:

    runas /user:administrator cmd

    Please notice that you must first set a password for built-in administrator account. If you run the command when built-in admin has no password (by default ihas none), the command fails with following error message:

    Account restrictions are preventing this user from signing in. For example: blank passwords aren't allowed, sign-in times are limited, or a policy restriction has been enforced..
      My Computer


  4. Posts : 22
    windows 10
    Thread Starter
       #4

    Thank you so much! I can put in an admin in Set Up....correct? I'll give that a shot. Thank you again! I'll let you know how that works out.
      My Computer


  5. Posts : 22
    windows 10
    Thread Starter
       #5

    I am getting a message that says: 'runas' is not recognized as an internal or external command...
      My Computer


  6. Posts : 22
    windows 10
    Thread Starter
       #6

    at command prompt it says x:/windows/system32> How do I get to C:

    at the top of the command prompt it says:
    Adminstrator: X:\windows\system32\cmd.exe
      My Computer


  7. Kari's Avatar
    Posts : 17,602
    Windows 10 Pro
       #7

    Danfu said:
    I am getting a message that says: 'runas' is not recognized as an internal or external command...
    If you run it from Command Prompt at boot, you'll need to add path to runas command, it is located in C:\Windows\System32 folder:

    C:\Windows\System32\runas /user:administrator cmd

    Kari
      My Computer


  8. Posts : 22
    windows 10
    Thread Starter
       #8

    thanks
      My Computer


  9. Posts : 1,289
    Windows 10 Pro 64-bit
       #9

    How are you able to reach the Command Prompt option?

    Since you cannot boot into Windows check
    Boot to Advanced Startup Options in Windows 10
    Boot to Advanced Startup Options in Windows 10 Installation Upgrade Tutorials
    Two consecutive failed attempts to start Windows.
    Two consecutive unexpected shutdowns that occur within two minutes of boot completion.
    --- Two times usually work but there have been times when I had to do 3 times.
      My Computer


  10. Posts : 22
    windows 10
    Thread Starter
       #10

    Kari said:
    If you run it from Command Prompt at boot, you'll need to add path to runas command, it is located in C:\Windows\System32 folder:

    C:\Windows\System32\runas /user:administrator cmd

    Kari
    Kari,
    I appreciate your help. I don't seem to be able to gain access to anything except the command prompt. Could you please explain to me how to access the windows 32 folder?
      My Computer


 
Page 1 of 5 123 ... LastLast

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




Windows 10 Forums