Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: elevated command prompt fails


15 Jan 2010   #1

 
 
elevated command prompt fails

If i try and use cmd from within the start menu ,in accessories and right click ,then "Run as administrator",all i am granted is normal cmd usage e.g(C:\Users\(User Name ).Now,i then pinned cmd to the start menu and again i tried to "run as administrator",but this time cmd fails to open at all.

The only way i am able to run cmd with administrator access is by using the start search box and entering cmd from there ,and right click ,run as administrator!

very strange ?


My System SpecsSystem Spec
.

15 Jan 2010   #2

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

I have set my command prompt from the start menu to ALWAYS run as administrator:

Start menu
command prompt
right click
properties
shortcut
advanced
put a check in "run as adminstrator" checkbox.

I dunno about getting that to the taskbar. Maybe it is doable?
My System SpecsSystem Spec
15 Jan 2010   #3

 
 

I followed your good advice ,but,even with that check box checked,i still only get given (C:\Users\(User Name),instead of the expected C:\Windows\System32 . ?
My System SpecsSystem Spec
.


15 Jan 2010   #4

Windows 7 Ultimate x86-64
 
 

Type cmd into the start menu, press Ctrl+Shift+Enter.
My System SpecsSystem Spec
15 Jan 2010   #5

Microsoft Community Contributor Award Recipient

Windows 7 SP1, Home Premium, 64-bit
 
 

Here is a shot of start menu/command prompt/right click/properties.

Note that the target of my shortcut is system32.

Not sure why your's is different. Are you accessing it from start menu??

Can you manually change target??


Attached Images
 
My System SpecsSystem Spec
16 Jan 2010   #6

 
 

Quote   Quote: Originally Posted by Frostmourne View Post
Type cmd into the start menu, press Ctrl+Shift+Enter.
When highlighting the cmd with my mouse pointer and then pressing Ctrl+Shift+Enter,well this just makes that window disappear !

.................................................................................................... .......

Also here's a picture of my start menu cmd and the properties shortcut for it!


Attached Thumbnails
elevated command prompt fails-untitled.jpg  
My System SpecsSystem Spec
16 Jan 2010   #7

64-bit Windows 8.1 Pro
 
 

can you run sfc /scannow in safemode??
My System SpecsSystem Spec
16 Jan 2010   #8

 
 

Quote   Quote: Originally Posted by Tews View Post
can you run sfc /scannow in safemode??
Will it make a difference if it is ran from with windows 7,as i have done just that and nothing wrong was found,if not how do you access windows 7 safe mode ,F8 during boot up ?
My System SpecsSystem Spec
16 Jan 2010   #9

W7x64 Pro, SuSe 12.1/** W7 x64 Pro, XP MCE
 
 

I don't know about pinning it to the Taskbar, but I keep it on the Quick Launch and it works fine.
My System SpecsSystem Spec
Reply

 elevated command prompt fails




Thread Tools



Similar help and support threads for2: elevated command prompt fails
Thread Forum
Elevated Command Prompt Tutorials
Elevated Command Prompt Shortcut Tutorials
Elevated command prompt over SSH Network & Sharing
Tip for Elevated Command Prompt General Discussion
Running an elevated command prompt (from the Recovery DVD) General Discussion
Crash trying to launch elevated command prompt BSOD Help and Support
How to open Elevated Command Prompt? Performance & Maintenance

Our Sites

Site Links

About Us

Find 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 05:45 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33