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: Tip for Elevated Command Prompt

09 Feb 2012   #1
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 
Tip for Elevated Command Prompt

This probably is not new to many, but I find it useful.

There are times I want an elevated command prompt. I usually type in "cmd", right click on it and run as administrator. If you need an elevated command prompt now and then, simply create a shortcut to "cmd". Right click on the shortcut, left click on properties. Click the shortcut tab and select "advanced". Finally, you can select "run as administrator".

Like I said, just something I didn't think about before, but it's handy to have.


My System SpecsSystem Spec
.
09 Feb 2012   #2
Cancerous

Windows 7 Professional 32bit
 
 

Elevated Command Prompt

As a sysadmin trying to roll out an image of windows7 to other machines, not having cmd parameters to automate an elevated cmd really annoys the hell out of me.
My System SpecsSystem Spec
09 Feb 2012   #3
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

Quote   Quote: Originally Posted by Cancerous View Post
Elevated Command Prompt

As a sysadmin trying to roll out an image of windows7 to other machines, not having cmd parameters to automate an elevated cmd really annoys the hell out of me.
I really love using "DOS" and UNIX-like commands. I mean just for a command prompt, not elevated. But quick access to elevated commands does make one's life easier.
My System SpecsSystem Spec
.

09 Feb 2012   #4
Cancerous

Windows 7 Professional 32bit
 
 

Quote   Quote: Originally Posted by Lemur View Post
Quote   Quote: Originally Posted by Cancerous View Post
Elevated Command Prompt

As a sysadmin trying to roll out an image of windows7 to other machines, not having cmd parameters to automate an elevated cmd really annoys the hell out of me.
I really love using "DOS" and UNIX-like commands. I mean just for a command prompt, not elevated. But quick access to elevated commands does make one's life easier.
Yep, it's a great tool, but windows is so messy with it.
The linux console is so much more user friendly and has way more options. The issue with Windows cmd is that they didn't have administrative privileges since the beginning which has caused some major issues with cmd being able to perform certain tasks (like not having a parameter for the password when you want to start an elevated cmd from a non-elevated cmd).
My System SpecsSystem Spec
09 Feb 2012   #5
lehnerus2000

W7 Ultimate SP1, LM18 MATE, W10IP VM, W10 Home, #All 64 bit
 
 

If you have an icon pinned to the "Start Menu" or "Taskbar", you can use "Ctrl + Shift + left click" to provoke an elevation.

This also works in the search results list (from a "Start Menu Search").

Note:
It doesn't seem to work in "All Programs" though.
My System SpecsSystem Spec
09 Feb 2012   #6
Brink

64-bit Windows 10 Pro
 
 

My System SpecsSystem Spec
09 Feb 2012   #7
Lemur

Systems 1 and 2: Windows 7 Enterprise x64, Win 8 Developer
 
 

Nice, Brink. I like the latter link, but both are cool.
My System SpecsSystem Spec
Reply

 Tip for Elevated Command Prompt




Thread Tools




Similar help and support threads
Thread Forum
Elevated Command Prompt
How to Open an Elevated Command Prompt in Windows 7 This will show you how to open an elevated command prompt with administrator rights (Run as administrator) instead of the default command prompt without administrator rights in Windows 7. If you opened the elevated command prompt from a...
Tutorials
Elevated Command Prompt Shortcut
How to Create an "Elevated Command Prompt" Shortcut in Windows 7 and Windows 8 This tutorial will show you how to create a shortcut that will open an elevated command prompt with administrator rights in Windows 7 and Windows 8. When you use the elevated command prompt shortcut, you may be...
Tutorials
Elevated command prompt over SSH
Not sure if this is the proper forum for my question, but here it goes. I'm using a SSH server to remotely access my notebook from work. It works well for SFTP and remote command line access using a dedicated, non-admin, user account. Problem is when I want to run something that requires...
Network & Sharing
On-Screen Keyboard will only run from elevated command prompt
I recently noticed that I couldn't start the On-Screen Keyboard (osk.exe) from my start menu. Tried all kinds of clean-ups, but it would not run - not from the %windir%\system32 folder, not from start>run, not from an ordinary command shell. But it loads fine from an elevated command shell. It also...
General Discussion
How to open Elevated Command Prompt?
Hi friends ! Uber Philf told me to start a new thread with my problem. I cannot open an Elevated Command Prompt, Dont know why. I know that I can open it in two alternative ways : 1). Win+R, type cmd, hit enter eith ctrl+shift pressed ; and 2). start > all programs > accessories > command prompt >...
Performance & Maintenance
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. ...
General Discussion


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 17:36.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App