Windows 8 and 8.1 Forums


Command Prompt Woes

  1. #1


    Posts : 7
    windows 8.1

    Command Prompt Woes


    Hello! So, I seem to be having a problem when command prompt needs to run anything as an admin.

    This happens whenever it feels it needs to do so, like when setting a program to run as admin myself, or running an installer, like the setup for firefox (I'm in chrome right now, but I happen to prefer firefox)

    Basically, whenever it needs to run anything, it'll open up to the user account controls window in this picture:

    Click image for larger version

    Upon clicking yes, it opens the command prompt you see in the left of the image for a split second, then closes. (it took many attempts to get a clear shot using printscreen, and I did edit it to have the UAC prompt in the same image to save space)

    I have no idea how to fix this, but I'm guessing a manual regedit of somekind, as running any program is obviously blocked by the problem itself. (I cannot install any fixing programs, and anything that needs to run as admin to work is out as well)

    Anyone have any idea on how to fix this?

      My System SpecsSystem Spec

  2. #2


    Texas
    Posts : 1,022
    Windows 8.1


    Do you search for "cmd" without the quotes and then right click on it and run as administrator?

    Or, when "running" the program, do you right click on it and then click on run as administrator?

    I have the Quick Launch bar set up on Windows 8.1 Update and when I right click on Thunderbird (email), a context menu pops up and when I click on "run as administrator" I'm asked if I want to allow the program to make changes. When I click on yes, Thunderbird opens.

    What I am seeing, though, is that not all programs work the same way. If I right click on Microsoft Word 2013, however, I don't get "run as administrator" in the context menu.

    I run Firefox, and have never had to run as administrator to install it. In fact, every so often, when I open Firefox, I'm told to wait a minute while it updates. Same with Thunderbird, which is understandable, since both are from Mozilla.
      My System SpecsSystem Spec

  3. #3


    Central IL
    Posts : 3,468
    Linux Mint 17.2


    You do not need to use the Command prompt to run programs. You should also never run windows as a straight administrator account. There is no manual registry edit to change the behavior of the Operating System protecting itself from possible damage from malware.

    The reason you are getting the security pop-up. Is because that has been the design since the inception of UAC. Then layer on top of that the extra security controls they added to Windows 8 to protect users from their bad habits.
      My System SpecsSystem Spec

  4. #4


    Posts : 10
    Windows 8.1 Pro (x64)


    Hello!

    I had the same problem.

    I found help here: Default File Associations - Restore in Windows 8
      My System SpecsSystem Spec

  5. #5


    Posts : 7
    windows 8.1


    In the case of 'cmd' it'll run just fine if I start without run as admin. If I try it with that though, it opens and closes, just as I described in the original post.

    As for the firefox setup program, it gets as far as extracting everything, then pops up with the UAC in the picture, clicking no closes it out, clicking yes opens the command prompt in the picture and closes it immediately.

    As for neutron, I'll check it out, but obviously try and be wary.

    Finally, my account is indeed an admin account, I had to set it up like that to make tweaks necessary to not tear my hair out in frustration over the UI overhauls that microsoft keeps implementing. If it means I need to make further adjustments, then so be it.

    EDIT: It appears that neutron's offered solution works after all. It was just perfect, actually.

    I am sorry if I came off as bitter or angry with that last statement, sometimes I'm just irritable for no reason.
      My System SpecsSystem Spec

  6. #6


    Texas
    Posts : 1,022
    Windows 8.1


    Quote Originally Posted by crystalorbie View Post
    Finally, my account is indeed an admin account, I had to set it up like that to make tweaks necessary to not tear my hair out in frustration over the UI overhauls that microsoft keeps implementing. If it means I need to make further adjustments, then so be it.

    EDIT: It appears that neutron's offered solution works after all. It was just perfect, actually.

    I am sorry if I came off as bitter or angry with that last statement, sometimes I'm just irritable for no reason.
    I'm glad Neutron's solution worked for you. That's what's great about these forums; somebody usually comes up with the right solution for most problems.

    I may be confused, but you say your account is set up as an admin account. So, if your account is admin, are you, in addition right clicking to get to an "elevated (admin) prompt"? If so, that could be some of your problem, I think.

    As far as whether or not you should set your account up as admin, I would think that's your prerogative, especially if you're the sole user of the computer. However, I would suggest that you might want to also set up a "standard" account for yourself when you're doing "everyday" work that doesn't require admin privileges.

    Since your problem seems to be solved, I'm pretty much asking questions for my own information and knowledge. Can't learn too much, ya know.
      My System SpecsSystem Spec

  7. #7


    Posts : 7
    windows 8.1


    For your information? I'll tell you what I know.

    As far as I know, even though my account is an admin account (yes, I am the sole user of this computer) sometimes, for whatever reason, it actually requires me to select 'run as admin' in order for some programs to run. I have not figured out why this is, but that is just what happens.

    As for running as admin when I'm already an admin? It normally does the prompt, but only requires a yes/no response, no passwords or anything like that. If I didn't normally need the 'run as admin' it merely adds a secondary step of clicking yes to run. This normally doesn't cause any problems, so 'run' or 'open' are usually the same as 'run as admin' but without the confirmation step of the UAC.

    I understand that it may cause problems in the future, so I'll be on the lookout for it though.

    I also understand that there may have been a better way to word all of that, so I'm sorry if I left you more confused.

    And should I mark this as solved?
      My System SpecsSystem Spec

  8. #8


    Texas
    Posts : 1,022
    Windows 8.1


    Quote Originally Posted by crystalorbie View Post
    For your information? I'll tell you what I know.

    And should I mark this as solved?
    Thanks, much appreciated.

    If the problem is solved to your satisfaction, yes, mark it as solved. Also, since Neutron's solution seems to be what solved your problem, it would be good to click on the little "thumbs up" icon to give him/her a kudu.

    I'm not sure how all that works, but it seems to have a direct correlation to whether one is a "new member", "power user", or "guru". I think.
      My System SpecsSystem Spec

  9. #9


    Canada
    Posts : 1,950
    windows 8.1 Update 1 Pro 64bit


    The following site gives you some idea why UAC is deemed necessary.

    HTG Explains: Why You Shouldn?t Disable UAC

    If you are satisfied and comfortable with the info of the above posts, mark it as solved.
      My System SpecsSystem Spec

  10. #10


    Posts : 7
    windows 8.1


    Oh, I don't disable it, as a matter of fact I do find it useful.

    Its just odd how it's required for some programs to run as admin when I am an admin. But that is a different and not real problem for me, so I'll mark as solved.
      My System SpecsSystem Spec

Command Prompt Woes
Related Threads
Hi, I need to execute the command prompt as admin. When I try to do it the command prompt window doesn't open and there are no errors. If I run the command prompt without admin privs it works, but I then can't do what I need to do in the admin window. Can someone help me to understand why this...
Command prompt flashed once in General Support
Hello, While typing up an assignment, I just barely noticed that command prompt opened and then closed for a fraction of a second. I am extremely cautious with the files I download, and instantly performed a scan with malwarebytes. It detected nothing, so I performed a second scan with...
no log in password to use for 'command prompt' in User Accounts and Family Safety
all of a sudden my HP 9200 notebook w/windows 8 went into an 'automatic repair' that failed.... can't use 'refresh' because I don't have password to use with my log in name..... can't use command prompt for that same reason.....i am a 63yr old 'amateur' pc person..... am communicating now by...
Command Prompt help in General Support
The average monitor can display 25 lines of text in full screen mode. When you list a directory containing more than 25 files, some of the filenames disappear off the top of the screen before you have a chance to read them. What do you add to the DIR command to always prevent this?
Solved elevated command prompt...huh? in General Support
how do I open an elevated command prompt?
Command Prompt crashes in General Support
Hi After upgrading from Windows 7 to Windows 8 everything seems to works fine except when I want to run command line applications from 3rd party programs. When this is happening the Windows 8 command prompt just stop working. I have to use many programs based on command prompt for web developing...
Command Prompt shortcut in General Support
Hello, I don't know if anyone has suggested this before or not. Sorry to be redundant if they have. See Picture attached.
Eight Forums Android App Eight Forums IOS App Follow us on Facebook