Interesting! It's almost as if CMD spawns as "CMD /c Start %windir%\system32", which of course means then cmd terminates leaving a copy of explorer.exe. The path is right, I end up in a dos shell there when I do elevated cmd.
Maybe look into these registry keys since they seem to modify what CMD does. HKEY_LOCAL_MACHINE\Software\Microsoft\Command Processor\AutoRun HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun Sysinternals Process Explorer might give insights on what actually is being spawned. On Tue, Sep 23, 2014 at 12:36 PM, Thane Sherrington <[email protected]> wrote: > At 04:10 PM 23/09/2014, Joshua MacCraw wrote: >> >> So you mean literally GUI explorer.exe opens or do you mean a text DOS >> box? >> >> So you type "CMD", into Start>Search, does that return >> Programs(1)->D.exe under ? Does right clicking the result & choosing >> Run as Administrator work? > > > Here's what happens: > I type cmd - CMD shows up at the top of the MRU list on the Start Menu. I > can right click that and run as Administrator and it works fine. > If I type cmd and press enter, I get a regular command prompt > (non-elevated). > If I type cmd and press ctrl-shift-enter, I get a Windows Explorer window > (the GUI) showing me c:\windows\system32. - I should get an elevated > command prompt. > If I type command and press ctrl-shift-enter I get and elevated command > prompt. > > I've seen this on both Vista and 7 machines, and I've tried playing with > UAC, and running sfc /scannow. No change. > > I posted it on the MS Windows 7 help forums, but the best answer the "MVPs" > there could come up with was to create a shortcut to open CMD as elevated, > which isn't a fix. > > Anyway, very odd. From the user's point of view, it doesn't matter, because > they never do this anyway, but I hate little twitchy things in Windows > because it makes me think something bigger is lurking. > > T > >
