Windows 10: Unable to find "runas" and other commands!

Discus and support Unable to find "runas" and other commands! in Windows 10 Installation and Upgrade to solve the problem; Windows 10 - I think my system variable path is messed up! because I'm not able to run any commands such as powershell or runas from the command prompt... Discussion in 'Windows 10 Installation and Upgrade' started by sepi2008, Sep 23, 2019.

  1. sepi2008 Win User

    Unable to find "runas" and other commands!


    Windows 10 - I think my system variable path is messed up! because I'm not able to run any commands such as powershell or runas from the command prompt after booting to a bootable disk and going to command prompt for troubleshooting. Error - Runas or Powershell is not recognized as an internal or external command, operable program, or batch file.


    It started with me trying to shrink my primary partition but after shrinking,

    it wouldn't allow me to create a new partition on the unallocated space. It would tell me that there wasn't enough space available, even though I was accepting the recommended size! After rebooting, it wouldn't find the MBR anymore.

    Windows repair disk diagnostic utilities or troubleshooting is unable to fix it! My only hope is to use an elevated privileged command prompt to repair the mbr. But I can't find the commands!


    Any ideas how to fix this? I would very much appreciate it.


    Thank you

    :)
     
    sepi2008, Sep 23, 2019
    #1

  2. Sending password from a script for runAs command

    Hello,

    Currently working on a code to stop and start a windows services with administrator credentials from a java programming language.

    Was researching on runAs command but couldn't pass send password either through piping the command or by reading the password through a file.

    Is there a possibility to send the password for runAs from java programming language.

    Thanks!
     
    Subrahmanyam Venkataraman, Sep 23, 2019
    #2
  3. runas command for username with spaces

    Hi,

    Thank you for posting your query in Microsoft Community.

    I understand the issue that you are currently facing, we will try the best we can to resolve your issue.

    Since this command may run under both elevated and non-elevated privileges. I would suggest you do a SFC Scan and see if everything is working properly in your system.

    Follow the steps to run the System File Checker

    • On the Search bar type “cmd” and click ctrl + shift + Enter to open the Elevated Command Prompt. (If prompted for a password, type the password and click Allow)
    • Type “sfc /scannow” and hit Enter.
    • Exit Command Prompt.
    For more information about SFC Scan click on the link below:

    https://support.microsoft.com/en-us/kb/929833

    Hope the information helps. Please let us know if the issue persist and we will be happy to assist you further.
     
    Nachappa C K, Sep 23, 2019
    #3
  4. Naki Win User

    Unable to find "runas" and other commands!

    GPU-Z what command line parameter ?

    Suggestion: /? (-?) and /help (-help) command-line arguments to show a list of all possible arguments in a small window. *Smile Unable to find "runas" and other commands! :)
     
Thema:

Unable to find "runas" and other commands!

Loading...
  1. Unable to find "runas" and other commands! - Similar Threads - Unable find runas

  2. DISM command /RestoreHealth unable to find source files

    in Windows 10 Software and Apps
    DISM command /RestoreHealth unable to find source files: I am unable to perform SFC Scan or DISM Restore Health Successfully.Windows 10 Pro Version 21H1 Build 19043.1083. sfc /scannow finds corruption its unable to fix.DISM /Online /Cleanup-Image /CheckHealth Results in "The component store is repairableDISM /Online /Cleanup-Image...
  3. DISM command /RestoreHealth unable to find source files

    in Windows 10 BSOD Crashes and Debugging
    DISM command /RestoreHealth unable to find source files: I am unable to perform SFC Scan or DISM Restore Health Successfully.Windows 10 Pro Version 21H1 Build 19043.1083. sfc /scannow finds corruption its unable to fix.DISM /Online /Cleanup-Image /CheckHealth Results in "The component store is repairableDISM /Online /Cleanup-Image...
  4. unable to runas diferrent user with Microsoft Teams or Teamviewer, unable to click or...

    in Windows 10 Customization
    unable to runas diferrent user with Microsoft Teams or Teamviewer, unable to click or...: This bug started last week only on Windows 10 20H2. The tech in our organisation would help install different programs on our client pc who don't have admin rights. The behavior is the same in Microsoft Teams and Team viewer, users gives control to the tech, he right click...
  5. Runas File Explorer

    in Windows 10 Ask Insider
    Runas File Explorer: Hello All, Is there a way to open file explorer as another user in windows 10? Thanks, submitted by /u/aspiretoinspire7 [link] [comments] https://www.reddit.com/r/Windows10/comments/hnj0zs/runas_file_explorer/
  6. Unable to start CMD from command line using switch -verb runas

    in AntiVirus, Firewalls and System Security
    Unable to start CMD from command line using switch -verb runas: I was able to start cmd as administrator from cmd/powershell using the following command: start cmd -verb runas I am no longer do so. The command fires up a new cmd window but without admin privelege. I am not aware which update or changes blocked this functionality....
  7. Sending password from a script for runAs command

    in AntiVirus, Firewalls and System Security
    Sending password from a script for runAs command: Hello, Currently working on a code to stop and start a windows services with administrator credentials from a java programming language. Was researching on runAs command but couldn't pass send password either through piping the command or by reading the password through a...
  8. Is it possible to run UWP apps as a different user using runas command

    in Windows 10 Software and Apps
    Is it possible to run UWP apps as a different user using runas command: I would like to know if it is possible to run Universal Windows Platform apps with a different user using the runas command. Thanks. 114099
  9. RunAs Taskbar

    in Windows 10 Software and Apps
    RunAs Taskbar: Hello! I wrote my first tool and i would like to present it here. short description: RunAs Taskbar is a free windows software to make your admin-tools easier to organize! If you run RunAs Taskbar as Administrator you will have all programs you are created in a tool...
  10. runas command won't recognize administrator password

    in Windows 10 Support
    runas command won't recognize administrator password: I tried the runas command to configure some software I just updated, as the directions said, but my administrator password was rejected. Then I tested the runas command on a pdf file that I know for sure is in the current directory (it can open from the command line), but my...