Command Prompt

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 47
    Windows 7 Ultimate x64
       #20

    whs said:
    If you have a prior restore point, you can try to recover the cmd.exe in the system32 folder with Shadow Explorer.
    I tried the shadowexplorer and the nearest thing I have to cmd is the cmddll and cmdl32. Both don't do the cmd.

    Sorry, the cmd key opens the command prompt for a millesecond. Then it closes.
    Last edited by Brink; 22 Jan 2012 at 11:03. Reason: merged
      My Computer


  2. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #21

    Hello TmanTM,

    You might see if running a sfc /scannow command may be able to restore the default C:\Windows\System32\cmd.exe file for you.
      My Computer


  3. Posts : 47
    Windows 7 Ultimate x64
       #22

    I have downloaded a windows xp version of the cmd.exe because I can't find a windows 7 version. I tried the sfc /scannow command but it says the restore process failed to start or something like that. Should I njust use the cmd.exe that I downloaded?
      My Computer


  4. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #23

    TmanTM,

    No, don't use a XP copy. Here's a clean copy from my system in ZIP file below. After you download the ZIP file, extract (drag and drop) the cmd.exe file to your desktop, unblock the extracted cmd.exe file, then copy it into your C:\Windows\System32 folder. :)
    Command Prompt Attached Files
      My Computer


  5. Posts : 47
    Windows 7 Ultimate x64
       #24

    It is working now. Thank you so much for your time and effort.
      My Computer


  6. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #25

    You're most welcome TManTM. :)
      My Computer


  7. Posts : 6
    64
       #26

    Hello, I tried each of the methods to open a command prompt not as an administrator, and each of the methods resulted in me getting a command prompt window as an administrator. Does this mean I have a setting somewhere to make the command prompt open as an administrator of which I am not aware? Advice to resolve this would be appreciated. (Windows 7 Home)
    Regards,
    Henry
      My Computer


  8. Posts : 72,055
    64-bit Windows 11 Pro for Workstations
    Thread Starter
       #27

    Hello Henrys,

    As a test, type diskpart in the command prompt and press Enter to see if you are prompted by UAC or get an access denied message. :)
      My Computer


  9. Posts : 6
    64
       #28

    I can run Diskpart.
      My Computer


  10. Posts : 6
    64
       #29

    The main reason I wanted to run the command prompt not as an administrator was because I wanted to run the ASP.NET Configuration tool in VS2013 and I found a blog that included instructions to do so.
    Accessing the ASP.NET Web Configuration Tool in Visual Studio 2013 - .NET Web Development and Tools Blog - Site Home - MSDN Blogs

    However, I decided when I need the ASP.NET configuration tool I will use it in VS2012, then resume my work in VS2013. It is a simple solution. So now there is no need to run the cmd not as an admin, except for knowledge sake, which is optional at this point.

    If you happen to know what would cause one to always run the command prompt as an admin it would be appreciated. I think at one time, I may have tinkered with some settings thinking as a web developer I'd "always" want to run as an admin to do my work, so I might as well set the thing to do so, but it's been so long that I don't recall how to undo the setting, or even what settings I may have changed.

    Appreciate the help.
      My Computer


 
Page 3 of 4 FirstFirst 1234 LastLast

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

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