How-To Geek
Run a Command as Administrator from the Windows Run Box (Any Version)

If you are a command line junkie like me, and have been testing out Windows… one of the first things you’ll notice is that there is no way to run a command from the run box in “Administrator” mode. Until now.
This works in Windows 10, 8, 7, or Vista, but it works a little differently in each.
Running a Command as Administrator in Windows Vista, 7, or 10
To try this out, go to the run box and type in something (cmd, for example)

If you’re using Windows 10, it’ll look a little different, but it’ll be the same thing:

Now instead of hitting the Enter key, use Ctrl+Shift + Enter. You will be prompted with the obnoxious User Account Control dialog… but it will then open up a command prompt in Administrator mode.

Hint: You can use Alt + C to quickly close the User Account Control dialog in Vista, or Alt+Y in Windows 7, 8, or 10.
Running a Command as Administrator in Windows 8
Windows 8 is annoying.
You can’t use either of the methods listed above in Windows 8, instead you’ll have to either just open a command prompt in administrator mode and run the commands from there (the smartest idea) or you can type the command into the search on the Start Screen, and then right-click to get the menu to allow you to run as administrator.

But seriously, Windows 8 is really annoying.
Nice, I should start actually reading these tips. Can’t tell you how many times I’ve googled for something I’ve needed in a hurry and ended up here…
If you check out the Start++ add-on utility you can actually type ‘sudo cmd’ into the search box…
http://brandontools.com
You do have a “Run” option on the “Start” menu. Right click the Start button and select properties. Click on the “Start menu” tab and select “customize”. Scroll down the list and make sure “run command” is checked.
ctrl+shift+enter do not seem to work, i still get “elevation complaints” in vista home premium @ command level. please can you recommend how can i make the system run as an administrator even though i am logged in as the adminisitor without having to switch UAC on/off and rebooting.
regards
Thank you Andy for helping me to get the RUN back on the Start Menu
The other day I found out my daughter had made her self the administrator. I was a little hot and before I made myself the administrator I changed her to limited and when I did this now no one on my pc is the administrator and I can not do a lot of things because I am not the administrator as far as the computer is concern. What must I do if there is a way to make everything right again. Do I call the Geek Squad?????????????????Help!!!!!!!!!!!!!!!!
ctrl + shift + enter does not work why? The annoying box doesn’t come up when i do the ctrl + shift + enter, and when I try and run an elevated command it doesn’t work.
u might have typed juz “cmd” try typin “cmd.exe”
Actually, it doesn’t seem to work from the real “Run” dialog, just from the “Search” dialog. The Search dialog is what’s in the Start menu and what is shown in the picture above, the Run dialog is what comes up if you select the run option or if you hit WindowsKey+R
Maybe there is something I don’t get. But the above picture shows the Search box in Start and not the RUN box. It is anyhow much easier to run from the Start Search box because then the program shows up in the left pane and you can run it as Admin from there.
I found it: You need to avoid ‘classic’ menu for this to work.
If you switch to Vista startmenu (yuk) it works with ctrl-shift-enter.
This does not work. I type cmd into the search box, hit ctrl+shift+enter, and am given an advanced search box. I’m mostly ok with Vista but I’m sick of not being in control of my own machine. Is there another way to do this? I also don’t have the Command icon listed under Programs>>Accessories. I’m using the regular Vista Start Menu, not Classic.
I have Vista and, after clicking the start ball and entering cmd in the search box the dos window opens. Is there something different about my install?
I got new pc with windows vista premium and trying to find Run command by reading Andy’s guidance I found it.
Thank you to Andy and Forum
hay all i want to do the old dxdiag.txt file that i did for windows xp but it wont work with vista is there any way of doing that same thing with vista??
Thank you, thank you, thank you Andy!!!
I had pondered for a month on how to get the run command on my new Vista laptop. Now I can sleep at night.
Some Useful Windows Run Commands
ADDUSERS Add or list users to/from a CSV file
ARP Address Resolution Protocol
ASSOC Change file extension associations
ASSOCIAT One step file association
AT Schedule a command to run at a later time
ATTRIB Change file attributes
BOOTCFG Edit Windows boot settings
BROWSTAT Get domain, browser and PDC info
CACLS Change file permissions
CALL Call one batch program from another
CD Change Directory – move to a specific Folder
CHANGE Change Terminal Server Session properties
CHKDSK Check Disk – check and repair disk problems
CHKNTFS Check the NTFS file system
CHOICE Accept keyboard input to a batch file
CIPHER Encrypt or Decrypt files/folders
CleanMgr Automated cleanup of Temp files, recycle bin
CLEARMEM Clear memory leaks
CLIP Copy STDIN to the Windows clipboard.
CLS Clear the screen
CLUSTER Windows Clustering
CMD Start a new CMD shell
COLOR Change colors of the CMD window
COMP Compare the contents of two files or sets of files
COMPACT Compress files or folders on an NTFS partition
COMPRESS Compress individual files on an NTFS partition
CON2PRT Connect or disconnect a Printer
CONVERT Convert a FAT drive to NTFS.
COPY Copy one or more files to another location
CSCcmd Client-side caching (Offline Files)
CSVDE Import or Export Active Directory data
DATE Display or set the date
Dcomcnfg DCOM Configuration Utility
DEFRAG Defragment hard drive
DEL Delete one or more files
DELPROF Delete NT user profiles
DELTREE Delete a folder and all subfolders
DevCon Device Manager Command Line Utility
DIR Display a list of files and folders
DIRUSE Display disk usage
DISKCOMP Compare the contents of two floppy disks
DISKCOPY Copy the contents of one floppy disk to another
DNSSTAT DNS Statistics
DOSKEY Edit command line, recall commands, and create macros
DSADD Add user (computer, group..) to active directory
DSQUERY List items in active directory
DSMOD Modify user (computer, group..) in active directory
ECHO Display message on screen
ENDLOCAL End localisation of environment changes in a batch file
ERASE Delete one or more files
EXIT Quit the CMD shell
EXPAND Uncompress files
EXTRACT Uncompress CAB files
FC Compare two files
FDISK Disk Format and partition
FIND Search for a text string in a file
FINDSTR Search for strings in files
FOR /F Loop command: against a set of files
FOR /F Loop command: against the results of another command
FOR Loop command: all options Files, Directory, List
FORFILES Batch process multiple files
FORMAT Format a disk
FREEDISK Check free disk space (in bytes)
FSUTIL File and Volume utilities
FTP File Transfer Protocol
FTYPE Display or modify file types used in file extension associations
GLOBAL Display membership of global groups
GOTO Direct a batch program to jump to a labelled line
HELP Online Help
HFNETCHK Network Security Hotfix Checker
IF Conditionally perform a command
IFMEMBER Is the current user in an NT Workgroup
IPCONFIG Configure IP
KILL Remove a program from memory
LABEL Edit a disk label
LOCAL Display membership of local groups
LOGEVENT Write text to the NT event viewer.
LOGOFF Log a user off
LOGTIME Log the date and time in a file
MAPISEND Send email from the command line
MEM Display memory usage
MD Create new folders
MKLINK Create a symbolic link (linkd)
MODE Configure a system device
MORE Display output, one screen at a time
MOUNTVOL Manage a volume mount point
MOVE Move files from one folder to another
MOVEUSER Move a user from one domain to another
MSG Send a message
MSIEXEC Microsoft Windows Installer
MSINFO Windows NT diagnostics
MSTSC Terminal Server Connection (Remote Desktop Protocol)
MUNGE Find and Replace text within file(s)
NETDOM Domain Manager
NETSH Configure network protocols
NETSVC Command-line Service Controller
NBTSTAT Display networking statistics (NetBIOS over TCP/IP)
NETSTAT Display networking statistics (TCP/IP)
NOW Display the current Date and Time
NSLOOKUP Name server lookup
NTBACKUP Backup folders to tape
NTRIGHTS Edit user account rights
PATH Display or set a search path for executable files
PATHPING Trace route plus network latency and packet loss
PAUSE Suspend processing of a batch file and display a message
PERMS Show permissions for a user
PERFMON Performance Monitor
PING Test a network connection
POPD Restore the previous value of the current directory saved by PUSHD
PORTQRY Display the status of ports and services
PRINT Print a text file
PRNCNFG Display, configure or rename a printer
PRNMNGR Add, delete, list printers set the default printer
PROMPT Change the command prompt
PsExec Execute process remotely
PsFile Show files opened remotely
PsGetSid Display the SID of a computer or a user
PsInfo List information about a system
PsKill Kill processes by name or process ID
PsList List detailed information about processes
PsLoggedOn Who’s logged on (locally or via resource sharing)
PsLogList Event log records
PsPasswd Change account password
PsService View and control services
PsShutdown Shutdown or reboot a computer
PsSuspend Suspend processes
PUSHD Save and then change the current directory
QGREP Search file(s) for lines that match a given pattern.
RASDIAL Manage RAS connections
RASPHONE Manage RAS connections
RECOVER Recover a damaged file from a defective disk.
REG Registry: Read, Set, Export, Delete keys and values
REGEDIT Import or export registry settings
REGSVR32 Register or unregister a DLL
REGINI Change Registry Permissions
REM Record comments (remarks) in a batch file
REN Rename a file or files.
REPLACE Replace or update one file with another
RD Delete folder(s)
RDISK Create a Recovery Disk
RMTSHARE Share a folder or a printer
ROBOCOPY Robust File and Folder Copy
ROUTE Manipulate network routing tables
RUNAS Execute a program under a different user account
RUNDLL32 Run a DLL command (add/remove print connections)
SC Service Control
SCHTASKS Create or Edit Scheduled Tasks
SCLIST Display NT Services
ScriptIt Control GUI applications
SET Display, set, or remove environment variables
SETLOCAL Control the visibility of environment variables
SETX Set environment variables permanently
SHARE List or edit a file share or print share
SHIFT Shift the position of replaceable parameters in a batch file
SHORTCUT Create a windows shortcut (.LNK file)
SHOWGRPS List the NT Workgroups a user has joined
SHOWMBRS List the Users who are members of a Workgroup
SHUTDOWN Shutdown the computer
SLEEP Wait for x seconds
SOON Schedule a command to run in the near future
SORT Sort input
START Start a separate window to run a specified program or command
SU Switch User
SUBINACL Edit file and folder Permissions, Ownership and Domain
SUBST Associate a path with a drive letter
SYSTEMINFO List system configuration
TASKLIST List running applications and services
TIME Display or set the system time
TIMEOUT Delay processing of a batch file
TITLE Set the window title for a CMD.EXE session
TOUCH Change file timestamps
TRACERT Trace route to a remote host
TREE Graphical display of folder structure
TYPE Display the contents of a text file
USRSTAT List domain usernames and last login
VER Display version information
VERIFY Verify that files have been saved
VOL Display a disk label
WHERE Locate and display files in a directory tree
WHOAMI Output the current UserName and domain
WINDIFF Compare the contents of two files or sets of files
WINMSD Windows system diagnostics
WINMSDP Windows system diagnostics II
WMIC WMI Commands
XCACLS Change file permissions
XCOPY Copy files and folders
Useful Run Commands for Windows
To Access Run Command
Accessibility Controls access.cpl
Add Hardware Wizard hdwwiz.cpl
Add/Remove Programs appwiz.cpl
Administrative Tools control admintools
Automatic Updates wuaucpl.cpl
Bluetooth Transfer Wizard fsquirt
Calculator calc
Certificate Manager certmgr.msc
Character Map charmap
Check Disk Utility chkdsk
Clipboard Viewer clipbrd
Command Prompt cmd
Component Services dcomcnfg
Computer Management compmgmt.msc
Date and Time Properties timedate.cpl
DDE Shares ddeshare
Device Manager devmgmt.msc
Direct X Control Panel (If Installed)* directx.cpl
Direct X Troubleshooter dxdiag
Disk Cleanup Utility cleanmgr
Disk Defragment dfrg.msc
Disk Management diskmgmt.msc
Disk Partition Manager diskpart
Display Properties control desktop
Display Properties desk.cpl
Display Properties (w/Appearance Tab Preselected) control color
Dr. Watson System Troubleshooting Utility drwtsn32
Driver Verifier Utility verifier
Event Viewer eventvwr.msc
File Signature Verification Tool sigverif
Findfast findfast.cpl
Folders Properties control folders
Fonts control fonts
Fonts Folder fonts
Free Cell Card Game freecell
Game Controllers joy.cpl
Group Policy Editor (XP Prof) gpedit.msc
Hearts Card Game mshearts
Iexpress Wizard iexpress
Indexing Service ciadv.msc
Internet Properties inetcpl.cpl
IP Configuration (Display Connection Configuration) ipconfig /all
IP Configuration (Display DNS Cache Contents) ipconfig /displaydns
IP Configuration (Delete DNS Cache Contents) ipconfig /flushdns
IP Configuration (Release All Connections) ipconfig /release
IP Configuration (Renew All Connections) ipconfig /renew
IP Configuration (Refreshes DHCP & Re-Registers DNS) ipconfig /registerdns
IP Configuration (Display DHCP Class ID) ipconfig /showclassid
IP Configuration (Modifies DHCP Class ID) ipconfig /setclassid
Java Control Panel (If Installed) jpicpl32.cpl
Java Control Panel (If Installed) javaws
Keyboard Properties control keyboard
Local Security Settings secpol.msc
Local Users and Groups lusrmgr.msc
Logs You Out Of Windows logoff
Microsoft Chat
winchat
Minesweeper Game winmine
Mouse Properties control mouse
Mouse Properties main.cpl
Network Connections control netconnections
Network Connections ncpa.cpl
Network Setup Wizard netsetup.cpl
Notepad notepad
Nview Desktop Manager(If Installed) nvtuicpl.cpl
Object Packager packager
ODBC Data Source Administrator odbccp32.cpl
On Screen Keyboard osk
Opens AC3 Filter (If Installed) ac3filter.cpl
Password Properties password.cpl
Performance Monitor perfmon.msc
Performance Monitor perfmon
Phone and Modem Options telephon.cpl
Power Configuration powercfg.cpl
Printers and Faxes control printers
Printers Folder printers
Private Character Editor eudcedit
Quicktime (If Installed) QuickTime.cpl
Regional Settings intl.cpl
Registry Editor regedit
Registry Editor regedit32
Remote Desktop mstsc
Removable Storage ntmsmgr.msc
Removable Storage Operator Requests ntmsoprq.msc
Resultant Set of Policy (XP Prof) rsop.msc
Scanners and Cameras sticpl.cpl
Scheduled Tasks control schedtasks
Security Center wscui.cpl
Services services.msc
Shared Folders fsmgmt.msc
Shuts Down Windows shutdown
Sounds and Audio mmsys.cpl
Spider Solitare Card Game spider
SQL Client Configuration cliconfg
System Configuration Editor sysedit
System Configuration Utility msconfig
System File Checker Utility (Scan Immediately) sfc /scannow
System File Checker Utility (Scan Once At Next Boot) sfc /scanonce
System File Checker Utility (Scan On Every Boot) sfc /scanboot
System File Checker Utility (Return to Default Setting) sfc /revert
System File Checker Utility (Purge File Cache) sfc /purgecache
System File Checker Utility (Set Cache Size to size x) sfc /cachesize=x
System Properties sysdm.cpl
Task Manager taskmgr
Telnet Client telnet
User Account Management nusrmgr.cpl
Utility Manager utilman
Windows Firewall firewall.cpl
Windows Magnifier magnify
Windows Management Infrastructure wmimgmt.msc
Windows System Security Tool syskey
Windows Update Launches wupdmgr
Windows XP Tour Wizard tourstart
Wordpad write
ciadv.msc – indexing service
compmgmt.msc – Computer management
devmgmt.msc – Device manager
dfrg.msc – Disk defragment
diskmgmt.msc – Disk management
eventvwr.msc – Event viewer
fsmgmt.msc – Shared folders
gpedit.msc – Group policies
lusrmgr.msc – Local users and groups
ntmsmgr.msc – removable storage operator request
perfmon.msc – Performance monitor
rsop.msc – Resultant set of policies
secpol.msc – Local security settings
services.msc – Various Services
secpol.msc – local security settings
certmgr.msc – certificate manager
wmimgmt.msc – windows management infrastructure
cpl commands
ac3filter.cpl – ac3 filter(if installed)
access.cpl – accessibility option control
appwiz.cpl – Add/Remove Programs control
desk.cpl – Display Properties control
directx.cpl – direct x control panel(if installed)
findfast.cpl – FindFast control
firewall.cpl – windows firewall
hdwwiz.cpl – add hardware wizard
inetcpl.cpl – Internet Properties control
intl.cpl – regional and language options
joy.cpl – game controlloers control
jpicpl32.cpl – java control panel(if installed)
main.cpl – Mouse Properties control
mmsys.cpl – Multimedia Properties control
ncpa.cpl – network control
netsetup.cpl – network setup wizard
nusrmgr.cpl- user accounts control
odbccp32.cpl -odbc data souce adminstrator
password.cpl – Password Properties control
powercfg.cpl – power options properties control
joy.cpl – game controlloers control
sysdm.cpl- System Properties control
sticpl.cpl -scanner and camera control
tlephon.cpl -telephone and moden options
timedate.cpl – Date/Time Properties control
waaucpl.cpl – automatic updates
wscui.cpl – security center
control admintools – Amdinistrative tools
control color – display properties(appearence)
control desktop – desktop properties
control folders – folder properties
control fonts – fonts properties
control keyboard – keyboard properties
control netconnections – network connections
control mouse – mouse properties
control printers – printer and fax options
control schedtasks -schedualed tasks
dxdiag – direct x trounbleshooter
ddeshare – dde share
cliconfg – sql client configaration
cmd -command prompt
dcomcnfg – component services
clipbrd – clipboard
chkdsk – check disk utility
fsquirt – bluetooth transfer wizard
folders – folders properties
font – fonts folder
freecell – freecell
calc – caculator
charmap – carater graph
cleanmgr – too long to explain but useful
command – Opens command prompt
diskpart – disk partition manager
explorer – Explorer
iexpress -iexpress wizard
javaws – java control panel(in installed)
logoff – logs you out of windows
magnity – windows magnifier
msconfig – System Configuration Utility
msinfo32 _ System Infomation
msimn= letterbox
mailto: _ Opens default email client
notepad= notepad
osk= keyboard
packager – object packager
perfmon – performance minitor
prefetch – the thing windows prepairs
regedit – Registry Editor
regedit32 –
sfc – system file checker utility
taskmgr – task manager
telnet – telnet client
wab= windows address book
wabmig= windows address book (adding something)
win.ini _ windows loading information(also system.ini)
winver _ Shows current version of windows
winchat – microsoft chat
sysedit – System Edit
tourstart= tour pub when xp is installed
drwtsn32 – dr. watson troubleshooting utility
verifier -driver verifier utility
sigverif – file signature verification tool
write – wordpad
utelman – utility manager
I suppose one should write the last one:
control userpassword2 – user accounts.
In order to run cmd.exe as a administrator do following:
click on START –> PROGRAMS –> ACCESSORIES
right click on command prompt icon and click on Run as administrator
hope it helps
lots of helpful info here, but i still can’t find the way to start task manager from run line command…great website tho…very helpful
i forgot to click followup comments on the task manager run line thing
to get to run command in vista, click on the windows icon on keyboard + R, it will open. lol
ctrl+shift+Enter does not elevate the process when I start it in the run box; however, it does elevate the process when I type cmd in the ‘Start Search’ box on the start menu and then use ctrl+shift+Enter (as in the picture at the top of this article).
the file secpol.msc is not included in the home versions of vista
if i’m trying to write a .bat that executes cmd in admin mode how would i go about doing that? anyone know?
Thank you! this had been driving me crazy! you saved the day.
Running the cmd.exe in the Vista view works – thanks for the advice. Do not run in Classic view!
typing cmd on the start search and then doing Shift+Ctrl+Enter worked for me Thank you
I was getting a search window upon hitting ctrl-shift-enter (or upon hitting enter), here’s how I fixed it:
Right click on the Start menu, select “Properties”
Select the “Start Menu” tab if not already selected.
Assuming the “Start Menu” radio button is already selected, click “Customize…”
Scroll down to “Search Programs” and select the check box.
Click “OK”
Click “OK”
Now, upon entering “cmd” in the start search field, the cmd program and icon show up at the top of the window and ctrl-shift-enter works for running it with elevated privileges.
RON —- THANK YOU SOOO MUCH! The ctrl+shift+enter wasn’t working, but right clicking on the command prompt did… (duh!)
Thanks again!
Alternative:
Go to c:\windows\system32
right click cmd.exe and Run As Administrator
I needed to enable hybrid sleep (powercfg -h on) at a cmd prompt. Tried it and wouldn’t give me permission without running the cmd as the admin. Ctrl + shift + enter worked very well. Thanks so much!
OR you can just type
Win + r
to bring up the Run dialog (I mean the windows button on the keyboard, right next to ctrl)
I tried that, with run and search box, but it opens a regular cmd, you can’t do anything special there.And if it’s Administrator cmd, it should say that at the top, but it doesn’t.Any help?????
Great little how-to/tips — thanks! I was having trouble getting the damn command prompt window to stay open in Vista, but that totally fixes the problem, and it’s super simple.
@gino
For the love of God do NOT call Geek Squad (bad experience. Held hostage my computer for two weeks before deciding they couldn’t do anything and sent it to HP.)
If you have the “Buisness”, “Ultimate” or “Enterprise” versions of Vista, you can fix that via the Management Console.
1. Run “mmc” with elevated rights (as shown in this article :) ) ;
2. Once the Management Console appears, press Ctrl+M ;
3. A window should appear. Find the “Local Users and Groups” snap-in in the left column, and press the “Add >” button, select “Local Computer” then press Enter twice ;
4. The Local Users and Groups snap-in should appear. Expand it, go to the “Users” folder, and double click the account you want to set as Administrator (or want to take off Administrator rights…)
5. Go to the “Member Of” tab, and remove “Administrator” if you want to (but make sure your daughter is still member of the Users group), and add yourself as Administrator (Select “Add…”. In the dialog box that appears, type Administrator, and click “Check Names”. If what you typed shows as “COMPUTERNAME/Administrator” then select OK. If not, check for typos…)
If you have Home Basic or Home Premium, beats me. You will need to use the NETUSER command, which I don’t know how to use…
Dalek_Supreme, your solution did not work for me. At step 3, when I press Enter twice, it takes me back to the same screen (where I select Local computer). The snap-in does appear (guessing by snap-in you mean in the list of ‘Selected Snap-ins’. There was nothing to expand and no ‘Users’ folder. Am I missing something? Please help.
This approach works for me:
Enter your command in the search box (not run dialog). You will now have to options. Either ctrl+shift+enter, or right click on the search results above and choose “Run as administrator”
Hey guys i am trying to DL a game but it says i need administrator permisson, i am the admisnistrator why does it still ask me?
to get the command prompt just press “start+r” then type in cmd or command . thats it !! and ya this will open the command prompt as a normal user not as an admin. to get it opened as admin. goto start->accessories and right click on the cmd icon and click on run as admin.
my environment vairiables don’t work at all i can’t install any new apps the plug ins don’t work i can’t fix it
thanks geek! i’ve been searching for quick answers since i started using vista and your site has saved me 3 times in one week!
Thanks a lot Geek!!!!!! The BEST information I had after trying for hours to run an unitentified program on Vista!
With all due respect this article should be re-written or removed.There are much easier and more permanent ways to achieve this,
Regular command prompt users should create a shortcut to cmd.exe, right click the shortcut, properties, shortcut tab, advanced, tick run as administrator.
or you can right click any shortcut or .exe and Run as Administrator.
i was trying the faster method
WINDOWS + R and then CMD in run box
my question if theres no subcommand to make it run as admin
like typing ” cmd +something ” in the run box
Hi, all. I am using Windows Vista Premium, and I have a few limited user accounts from which the Run as Administrator option will not work. I’ve tried to run it a few different ways but nothing happens. I even activated the built-in Windows administrator account but that didn’t help. (Right now, there are two admin accounts.) Anyway, I’ve tried ctrl-shift-enter, right clicking and selecting “Run as Admin”, and navigating the program’s directory and right clicking there. Any ideas how I can fix this? Many thanks, and great forum!
Check that you logged in with administrator privileges, disable UAC.
NOTE – when you change your User Account Control (UAC), make sure you reboot your computer. Disabling the UAC will NOT take hold until a reboot.
Well explained by Chris Sanders:
“Occasionally, I run into Error 0x80004005 when registering these files. This error sounds highly complicated, but what it all boils down to is a rights issue. This error basically means that you don’t have the permissions to register the file you are trying to register.
This usually brings about the questions, “Wait! I’m logged in as an administrator?!”
Under previous versions of Windows, being logged in as an administrator is enough, but in Windows Vista there is a little thing called User Account Control (UAC) that prevents programs from running administrative tasks without first specifying that they are running as the administrator. This applies for the command prompt the same as it does for any other program. This being the case, right-click on the command prompt icon, and select “Run as Administrator”, and then try to register your DLL. This is a mistake that is usually frustrating enough that, once you figure it out, you won’t make too often.”
sry, this is usfull but for some reason its the same cmd, its not in admin mode :(
Thank you very much .
Hi,
I installed Windows Vista in my PC. Earlier i have XP professional (sp3) edition, Its working fine . When i run one .exe file in windows vista. It throws error (Error : This application is not open in Full screen mode).The Dialog box shows Close or ignore. It ll close which ever button i clicked. I think i can get some good solution from this blog..
Thanks and Regards
Aravind G
TO LAUNCH THE PROMPT WINDOWS AS ADMINISTRATOR JUST GO IN C:\WINDOWS\SYSTEM32 AND THEN RIGHT CLICK ON CMD.EXE AND CHOOSE THE RUN AS ADMINISTRATOR OPTION. THAT’S ALL ;-)
thank you
now i can’t press alt+y on window 7 why is that
u cannot do this unless admin is logged on and changed swiched user
for those having probs in win7, with runas….
goto any admin acct, run gpedit.msc
in the group policy editor, Goto Computer Configuration>Windows Settings>Security Settings>Security Options
”
set the property “user account control:behaviour of elevation prompt….” to “Prompt for Credentials”
could anyone tell me how to make at telnet connection in window 7.tahe telnet command is not working in it.i like all the commands given by u for windows.
i would be thankful to u
Hi there. I am using Window 7 Home Basic. Recently, the window starting is slower than usual. It took few minutes to start the window. I scan the whole computer and no virus detected. Could you give some advices?
Hey Anshu I might be able to help, if you are using windows 7 or vista then telent is not a default program, to open it go “Start” “Control Pannel” “Programs” “Turn windows features on or off” and then obviously select telent, hope I helped
Regards
Nick
Works for me on Windows 7. So happy!
As others above have pointed out, here are the simple steps:
1) Pushed Windows key
2) Typed “cmd.exe” in search box
3) Afterwards hit CTRL+SHIFT+ENTER
Using the RUN box does not work for me.
OK. Here’s a tricky question.
in Windows 7, I have say X: linked to \\server\share
I start CMD as my self (that is NOT as run as admin) and I type X: and I get to X:.
However, if I use START – CMD – ctrl-shift-enter it enters the Administrator: C:\windows\system32\cmd.exe mode. typing X: now says
“C:\>x:
The system cannot find the drive specified.”
I always felt that the Run as Administrator, actually ment ran as myself but with Higher privelages, not run in limited DOS window. Also, the “Administrator” account is actually disabled on my computer.
This seems to be the cause that the line
“If exist X: (Echo Yes) Else (echo No)” answers with “No” when CMD is run as administrator even if X: does actually exist, and the command actually answers Yes when CMD is NOT run as administrator.
Can someone explain this one for us? It feels as though it runs CMD as “THE ADMINISTRATOR” and not as ME with increased admnistrators rights despite the fact that the “Administartor” account is disabled! does “run as administrator” work something like c:\> RUNAS /Noprofile CMD.exe?? if so, how can I change “run as administrator” so I get all of my current variables and Share DeviceNames (x:)??
Don’t suppose someone could explain this one to me?
Never mind, it seems to have solved itself because today it all works as it should! Hate no knowing WHY is all….
Thax!!! This is very helpful :)
Try this…
runas /user:”Your Domain Name”\”Your AD Admin Account” cmd.exe
This will bring up a new DOS Window. However, it is running with full Admin priv
What if I’m in DOS mode already and I wanted to type a command as an administrator. I’m asking this because I don’t have access to the RUN box and I can only access DOS on startup. I hope somebody can answer my question.
Thanks!
You rock! The info worked perfectly!
all u guys suck im seerious wtf is c:\windows\system32 have anything to do with this just show me the real steps i have a school computer not a real computer i need to run as administrator on school computer dumbjacks
Hey, this is just what I was looking for! Thanks!
@Azees: Could you POSSIBLY be any more of a show-off? How about getting your own website for people who want to read an endless list of commands. =P
@aaron: AHAHAHA. Go to your public library, pick up a copy of “Windows X for Dummies”, X being the OS on your “unreal” school computer. That should answer all of your questions. And you sir, are the dumbjack. =)
(P.S.)
@Myself: sudo apt-get a life
Saved you all some trouble and flamed myself. ^_^
If you’re having trouble with this, switch to Vista’s default start menu and use the search bar to input cmd followed by ctrl+shift+enter. “Run” from the classic menu doesn’t apply to this shortcut. If you prefer the classic menu create a shortcut to C:\Windows\System32\cmd.exe in a convenient place and right click it for a run as admin option.
Thanks for pointing me in the right direction.
I ended up adding a new text file to my desktop, typed the line “cmd” into it (without the quotes) and renamed it to have a .bat extention.
Now I just right click the file on my desktop and say ‘run as administrator”
Seems to do the trick for me.
Could probably add a ‘CD C:\’ line so the prompt starts there rather than in the ..Windows\System32\ directory.
Thanks for the tip! While making computer experts out of us Microsoft will turn us all into ex-Windows users. Switching to Linux soon.
cool man,
just what i needed.
works like magic
Go to Start -> All Programs -> Accessories -> Command prompt (Right click) -> Run as Administrator…..
Enjoy….. ;-p
Wow, you just saved my life!
This is not the first advice I take from this guy. They are usually f****** useful, I spare lots of time by reading them.
how to run as admin from notepad?
What if I’m in command mode already and I wanted to run another program as an administrator. I’m asking this because I don’t have access to the brouser at all. I hope somebody can answer my question.
Thanks!
what if my screen is black and all I can do is to start task menager. how do i run as admin? ctrl+shift+enter wont work
worked aftr i ctrl+shift+entered through search! and not when i enabled “run” in start menu!
how can you tell which programs on your machine are currently running in administrator mode?
My pen drive is ful of my programme but it is not show my programme. What can i do?
how to run CMD as admin if ur not an admin?
hey all i just an emachine computer but i cant connect it to the internet,ive been trying to connect to the internet for a while now and i still cant connect any help?
The CTL+Shift+Enter did not set my cmd utility to administrator. Instead I right mouse clicked the cmd command and it asked me to set the cmd to various options. I selected “run as administrator” and it worked fine.
duc6d5r4u6cdr4i65r65d
really works thanks!!i need it to extend my win 7 activation day.
Hey guys i need a lot of help. ever since i took my laptop to college with me, this problem has started, at school to access the wireless, i had to use a proxy switcher, now ever since then trying to use my laptop, none of my internet programmes work, e.g. chrome, itunes, msn, i looked on a website and it directed me to command prompt and everytime i try to put the following in ‘netsh interface tcp set global autotuninglevel=disabled’ it says need to run as admin….help….
@rhodes autry: Ctrl+Shift+Esc will bring up the Task Manager.
Hi
Do anybody knows how to execute an application from “Run” (not through CMD.EXE) with elevated rights?
I ask because if you turn off UAC, all applications will run with administrative privileges when executed from “Run”. Also, you can’t run some applications via the Command Line. (e.g. Firefox)
Hey,
The lil write up is simply superb. I tried with the Windows 7 . Ctrl +Shift + Enter did the wonder :)
Thanks to you.
“the filename directory name or volume label syntax is incorrect” this come up when i try 2 run as admin what to do ?
Thanks The Geek :)