Over 1 million tech questions and answers.

Can't seem to get elevated cmd prompt to work

Q: Can't seem to get elevated cmd prompt to work

I have been trying to register a program I bought and they tell me I must be logged in as Admin.

When I try to get to the elevated CMD prompt I am entering: net user administrator /active:yes

I get an ERROR 5 message and nothing happens.

I have also tried to use the other method using the Computer Management | Users method and enabling the account there. I don't see anything happening when I do this unless I have to reboot the machine, which I haven't tried.

The admin account is simply administrator and has not been renamed to something else and there is no password. I have used the CMD prompt method before and it worked fine now for some reason it won't.

Thanks ,


Preferred Solution: Can't seem to get elevated cmd prompt to work

I recommend downloading and running Reimage. It's a computer repair tool that has been proven to identify and fix many Windows problems with a high level of success.

I've used it in the past to identify and fix everything from blue screens (BSOD's), ActiveX errors, corrupt files and processes, dll/exe/sys errors, recover lost memory, Windows update problems, defragging, malware removal etc.

You can download it direct from this link http://downloadreimage.com/download.php. (This link will automatically start a download of Reimage that you can save to your computer.)

A: Can't seem to get elevated cmd prompt to work

Never heard of a program you are trying to register need you to be an admin, what`s the program ?

Right click on command prompt to run as admin.

Read other 7 answers

After thrashing this Win 7 beast around (it's now preforming rather well) it has become apparent to me that I need some tutoring on commands that are available for the different modules that are available at an elevated prompt. I don't mean the old dos commands. Does anyone know of a text available for this? Also The power shell commands (language) would be of interest.

A:Elevated Prompt

Hi HammerHead,

Check in the Tutorial section here on the Forum. Some great information for those looking to improve their knowledge of Windows 7. Good Luck

Read other 1 answers

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 admin permission under that connection. The server runs cmd.exe under the context of a non-admin user I've created for it, so I'm limited in what I can do. Question is, how can I "elevate" that remote command prompt to execute admin-only programs and commands? UAC of course will not help under that conditions.


A:Elevated command prompt over SSH

before you enter the command you can use the runas command first. You can also save the credentials so you dont have to enter them in every time.



runas /noprofile /user: username "command"

Read other 5 answers

how do I open an elevated command prompt?

A:elevated command prompt...huh?

Right click the bottom left corner of the screen and select Command Prompt (Admin)

Elevated Command Prompt - Open in Windows 8

Read other 2 answers


For those who'd like to use the power of a permanent admin (can of course be reverted) prompt here's how:

Elevated Command Prompt Shortcut - Windows 7 Forums

Open Explorer and drill down to:

C:\Users\"Username"*\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\System Tools

There you see the command prompt shortcut as the first of a list of shortcuts. Right click it, choose properties from the list.
The property list will open, now choose Advanced and tick the "Run as Administrator" checkbox. Click Apply, Close. Done.

Now every time you run a command prompt you'll run it with administrative rights.


* Username: the account name you logged on with.

A:Elevated prompt/Run as Administrator once and for all.

I don't have that option.

Read other 3 answers

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.

A:Tip for Elevated Command Prompt

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.

Read other 6 answers

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 > right click and run as admit. The prompt should be C:\Windows\System32_

But What prompt I am having is C:\Users\username_

Am I doing it wrong? Then what I am to do? I have user account control settings turned off.

A:How to open Elevated Command Prompt?

Several member had the same problem

Go to search by the start menu

type cmd

As soon as cmd pops up, do not hit enter. right click and run as adminitraor.

If done properly you will have the cmd. Try and report back

Read other 9 answers

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 ?

A:elevated command prompt fails

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

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

I dunno about getting that to the taskbar. Maybe it is doable?

Read other 8 answers


I'm trying to setup a WiFi Hotspot on my Laptop running Windows 7.
When I enter the command:

netsh wlan set hostednetwork mode=allow "ssid=myssid" "key=mykey? keyUsage=persistent
in an elevated command prompt, it says:
"You must run this command from a command prompt with administrator privilege."

I have an administrator account and had never problems with it.

Does someone has an idea what the problem could be?

A:No administrator privileges in elevated command prompt

Hi Bones, welcome to the Seven Forums.

The message you get shows absolutely clear without any doubts that you are not running the command from elevated Command Prompt. That message is only shown when a command requiring administrative privileges has been run from a normal Command Prompt.

When run from an elevated Command Prompt, your command syntax is OK (highlighted yellow) and runs as it should, the output (highlighted green) showing it's working:
Two telltales of an Elevated Command Prompt, numbers referring to respective numbers in above screenshot:The title has word Administrator in it
The prompt (by default) is C:\Windows\System32


Read other 5 answers

I am trying to make a shortcut to launch a program with admin privileges, with User Account Control (UAC) enabled, from a regular user account.

I had previously used 'runas' to launch a program with admin privileges from a regular user account using a similar method in the "How to Create an Elevated Program Shortcut Any User is able to Run" tutorial to create an elevated shortcut. In my case I am launching Process Explorer as an admin user from a regular user account. I had created a batch file with the command, then created a shortcut to the batch file, although the method in the tutorial where the entire command is just written out as the shortcut target is much simpler.

The 'runas' command used to work fine with UAC turned OFF. However it does NOT work with UAC turned ON. I'm not sure why. If I turn UAC off, it works. But if UAC is turned on, even though the application (Process Explorer) is launched with the admin user account, for system processes it shows <access denied> and no network and no disk information. I have verified the command launches as the admin user, since the admin user account username is listed next to the process, and the name of the admin user account is shown in brackets in the title bar of the application.

Interesting I also tried the Sysinternals 'ShellRunas' utility, which also did NOT work with UAC turned ON. I registered the context menu entry, then I right clicked to select "Run as different user...", and the... Read more

Read other answers

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 runs from other user accounts. And it runs fine on log-on if enabled in the Ease of Access Center.
Does anyone know where its idiosyncratic behavior could originate from.

A:On-Screen Keyboard will only run from elevated command prompt

Welcome to Seven Forums c2357. Does it run fine in Safe Mode? If so, you might try performing a clean start to see if there is a conflict.

Troubleshoot Application Conflicts by Performing a Clean Startup

See if unchecking Tablet PC Components in windows features correct this behavior

Windows Features - Turn On or Off

If not, try the System Files Checker

SFC /SCANNOW Command - System File Checker

It may be a permission issue, but then the question is what changed it, and how?

A Guy

Read other 3 answers

I can run an application as another user, and I can run an application as another user.  What I cannot figure out how to do is run an application as another user with elevation.  Both of the accounts are in the administrators groups of the windows
7 pro systems, one os a domain admin.  In order to get around this I currently have to turn off UAC.  Is there a way to choose run as administrator and somehow use another user account?

A:run elevated command prompt (or application) as another user

Based on my research, there are only two choices: run as another user and run as administrator. If you would like to modify the execution policy via another user
profile with administrator privilege, you have log off the current account and login on with another user account.

Read other 12 answers

Needed to launch an elevated command prompt and now, explorer crashes when I do so.

What I've already done:
1) Run sfc /scdannow both from inside Win7 and from DVD. Finds files it can't fix. Appear to be due to (1) login screen customization, and (2) Vista basic custom there. But -- these have been true from when I first installed Win7 and have only run into this problem recently.
2) Read the thread on diagnosing Explorer crashes, applied the registry fix, generated the dump file. So, I can upload that here.
3) Do regular full-partition images, so went back three months, restoring one at time -- problem remains with the oldest restore I have -- December of last year.
4) Restored latest backup (2/25/11), ran startup repair (from DVD) three times. Rebooted Win7, tried elevated command prompt -- still crashes Explorer.

So, apart from a complete clean-install (which I am dreading because of all the pain I went through scrounging drivers for this XP-era Tablet PC), is there anything else I can do?

A:Crash trying to launch elevated command prompt

1 - start scrounging drivers "just in case". Save them to a flash drive or DVD

2 - upload the dump file. If it's too big to upload, upload it to a free file-hosting service and post the link here.

3 - check the CBS.log file (C:\Windows\logs\CBS\CBS.log) for the missing/corrupt files. Here's a KB article on it for Vista (Win7 should be similar): How to analyze the log file entries that the Microsoft Windows Resource Checker (SFC.exe) program generates in Windows Vista

4 - scan for viruses, scan for rootkits

5 - try a Repair Install of Win7: Repair Install

Read other 7 answers

Long story short,
I've been trying to dual-boot W7 with Ubuntu. Failed. Now I cannot boot up Windows, and though there are hundreds of forum articles explaining how to fix this (using the Bootrec/bcdedit commands in the Windows RE command prompt), but I can't run either of them (get an error). My guess is that I need to run bcdedit as an admin.
After doing some research, I learned about the "Runas" command, but I can't seem to get it to work. Microsoft and other forums didn't help much...

Please help!

A:Running an elevated command prompt (from the Recovery DVD)

Mark Win7 partition Active, then run Startup Repair from DVD/Repair CD up to 3 separate times with reboots until Win7 starts.
Startup Repair - Run 3 Separate Times
Partition - Mark as Active (Method Two)

Read other 5 answers

when I'm in cmd promt admin mode I still get message I need to be in elevated mode?

cmd prompt is in windows/system32 ok

this is a fresh install of win on to a new drive

can anyone help me on this please



A:I'm in cmd prompt admin mode I get message I need to be in elevated

Hi there ... Read the Link below ...

Elevated Command Prompt

Read other 5 answers

@ AceInfinity & anyone who wishes to respond:

Hello. Nice to meet you. I have a question to ask you or anyone that would like to help me...

After seeing your example above, it got me thinking... ...I would like to add to my context menu an elevated command prompt (with administrator privileges) in the same or similar coding fashion (not binary code) as in this example below. The key is that it has to be "elevated" with Administrator privileges, not just a normal command prompt to open. I am not sure how to write a working script since it "MAY" (probably is) quite different than the coding pattern in my example here after including the 'elevated' coding component part to it:

[HKEY_CLASSES_ROOT\Directory\Background\shell\Elevated Command Prompt]

[HKEY_CLASSES_ROOT\Directory\Background\shell\Elevated Command Prompt\command]
@="control appwiz.cpl"

Please correct by adding and or deleting or modifying the script above so the code that would demonstrate a working "elevated" command prompt script to open in a window.

I would also like to add the command prompt icon to my context menu too. I am very sure that it would look something like this (pretty sure if the registry key information is correct though, probably it is not since I am looking for the script to be 'elevated' as I have already stated):

[HKEY_CLASSES_ROOT\Directory\Background\shell\Elevated Command Prompt]
"Icon"="C:\\Windows\\Context Menu Icons\\E... Read more

A:Add elevated command prompt to context menu

Hello. I tested with the test registry script and yes... ...I have the name "Elevated Command Prompt" in my context menu with the representative icon, and CMD does open successfully... ...the only issue is that it is NOT "elevated", but a "regular" command prompt. That is the question... ...what do I need to modify (subtract or add) to the code in order to the "elevated" command prompt (administrator privileges)??? Please provide the script to accommodate these changes.

Please reply.

Thank you!

Read other 5 answers

hi !

is it possible to have an "Elevated Taskmanager" without UAC-prompt on a user-account ?

for obvious security-reasons, i always run on a user-account, except when doing system maintenance.
i want taskmanager to show everything, so it would be really nice if it was possible to create a shortcut that starts it without any UAC-prompts.

any ideas ?

A:Elevated Task manager without UAC-prompt for a user-account ?

Quote: Originally Posted by hackerman1

hi !

is it possible to have an "Elevated Taskmanager" without UAC-prompt for a user-account ?

for obvious security-reasons, i always run on a user-account, except when doing system maintenance.
i want taskmanager to show everything, so it would be really nice if it was possible to create a shortcut that starts it without any UAC-prompts.

any ideas ?

Yep. You could start by searching the tutorial section. You would be amazed at how many things are covered there. For example. Elevated Program Shortcut without UAC Prompt - Create

Read other 3 answers

Is there any programmatic way within a BATch file of determining whether it has been started from an elevated command prompt (run as Administrator) or a normal command prompt?

I note the difference between the Current Directory at start of the BATch file, but wonder if there is a better way.

When in elevated mode I don't get a UAC prompt when using DISKPART.
The UAC prompt only happens when running it in a normal command prompt window.

Are you aware of any command which simultaneously would
give a different errorlevel when executed in an elevated command prompt than in a normal command prompt, and
not produce a UAC prompt in normal mode?
If this is the case, unless I can find something to distinguish between elevated command prompts and normal command prompts, then I will have to try the %cd% variable at the start of BATch files, to see whether it is consistent even across user modifications of the command prompt shortcut's Target Directory...

A:programmatic way with BAT file determining if elevated command prompt

I can answer my own question, as below

@echo off

:: +----------+
:: I Elevated I Test whether this BATch file / Command Prompt
:: +----------+ in running in Elevated mode or Normal mode


:: method (applicable to Windows 7, and maybe Vista)
:: try to write a zero-byte file to a system directory
:: if successful, we are in Elevated mode and delete the file
:: if unsuccessful, avoid the "Access is denied" message

:: arbitrary choice of system directory and filename
set tst="%windir%\$del_me$"

:: the first brackets are required to avoid getting the message,
:: even though 2 is redirected to nul. no, I don't know why.
(type nul>%tst%) 2>nul && (del %tst% & set elev=t) || (set elev=)

if defined elev (echo Elevated mode) else (echo Normal mode)


Read other 1 answers


Not sure if this has already been posted, or covered in a tutorial, but this is a little trick I discovered to open an elevated command prompt, without having to create a special shorctcut. I find this quite useful.


1. Click Start Orb, and in the search box type cmd
2. Right-click cmd, and then choose Pin to Taskbar

Now, whenever you wish to open an elevated command prompt, hold down CTRL+SHIFT and the click the cmd icon on the Taskbar. Click Yes on the UAC panel, and an elevated command prompt window is then opened.


A:Simple trick for opening Elevated Command Prompt

I went one step further. I checked the box " run as admin" in the cmd Properties > Advanced. Then I applied this Elevated Program Shortcut without UAC Prompt - Create Now my cmd sits in the taskbar and never bothers me with UAC prompts when I launch it.

Read other 3 answers

I just finished [finally] updating my copy of Windows 8 Pro to Windows 8.1 Pro (manually downloaded the ISO from Microsoft and did an in-place update within the existing copy of W8). After I did all of the available Windows Updates, I noticed that, whenever I try and open an elevated Command Prompt window (I want to do this to try and manually do some things to remove Windows.old, since it says that the directory is not empty), I see it open, but close instantly. A non-elevated Command Prompt window opens just fine. I searched, and haven't found anything. This also happens in safe mode.

A:Elevated Command Prompt window opens and closes instantly

Anything interesting in Event Viewer?

Read other 16 answers

this was simple in windows xp.I have a script that installs Citrix web client.Problem I need to copy over the shortcut to users\public\public desktop through this scriptHow can you program the copy to run in the Elevated command prompt mode to do this?

A:Windows7 elevated command prompt priviledges throug a script

Greetings, I agree with Calwell’s reply. It seems that you want to run the copy action as an administrator using the script itself.
You can refer the following URLs, hope it would be helpful.Utility Spotlight - Script Elevation PowerToys for Windows Vistahttp://technet.microsoft.com/en-us/magazine/2007.06.utilityspotlight.aspx?pr=blogHow Can I Run a Script Under Alternate Credentials?http://blogs.technet.com/heyscriptingguy/archive/2004/12/13/how-can-i-run-a-script-under-alternate-credentials.aspx  Since this issue is more related to scripting, I recommend you open a thread to Official Scripting Guys Forum in Technet so those coders can help you fix the issue in a timely manner.Official Scripting Guys Forum http://social.technet.microsoft.com/Forums/en/ITCG/threadsScript Center:  http://technet.microsoft.com/en-us/scriptcenter/default.aspx

Read other 15 answers

As a single home user, in setting up Windows 10 I was not aware there is a hidden administrator who controls changes to the system.  I discovered this when I went to  open the check disk function.  I have spent hours trying different prescribed
methods found online online for ogetting access to the elevated command prompt - but all end saying I don't have the priviledge.  In another approach, my computer tells me I do not have access to luscr.msc and to instead go to account change.  Here's
the kicker.  Once there, I am not allowed to change from "standard" to "administrator"  - this is a Catch 22 since I am the only registered user of the system.  HELP - I'm not techie, but I'm also not a complete dummy. 

Read other answers

1. Create a newTask named OpenCmdHereAsAdminNoUAC and activate "Run with the highest privileges"

2. Go to the Actions Tab, create a new Action "Start a Program" choose "C:\Windows\System32\cmd.exe" and set the Working Directory (Start in) to %CURDIR%

3. Create a Shortcut named OpenCmdHereAsAdminNoUAC.
In the "Type the location of the item" Field type:

C:\Windows\System32\schtasks.exe /run /TN "\OpenCmdHereAsAdminNoUAC"

and copy the created Shortcut to C:\Windows\System32

Finally, add the attached "Add_Open_Command_Window Here_Admin_No_UAC.reg" to Registry.

Windows Registry Editor Version 5.00

; Created by: Darth Nukem
; Created on: 08_20_16
@="Open Command Window Here (Admin)"
@="cmd /s /c \"setx CURDIR \"%V\"& start c:\\windows\\system32\\OpenCmdHereAsAdminNoUAC.\"lnk\"& exit\""
@="Open Command Window Here (Admin)"
@="cmd /s /c \"setx CURDIR \"%V\"& start c:\\windows\\system32\\OpenCmdHereAsAdminNoUAC.\"lnk\"& exit\""

... Read more

A:[How-To] Context menu "Open elevated Command Prompt Here" without UAC

Elevated Shortcut without UAC - Create in Windows 10 - Windows 10 Forums

Read other 1 answers

I used the info in Elevated Program Shortcut without UAC Prompt Tutorial and it soon dawned on me that the applications seemed to be taking a long time to run.

Than the penny dropped - Scheduled Tasks run at priority 7 by default (which is lower than directly run applications typically run at) and the Task Scheduler does not directly provide a way to set priorities. So I Exported each task [that I had added] (as XML), deleted each task, edited the XML to change priority to 6 (which makes all the difference) and then Imported the tasks again. Problem solved.

The point of this posting is really to suggest that the Elevated Program Shortcut without UAC Prompt Tutorial could mention the priority issue and its solution.

A:Setting Priority with "Elevated Shortcut without UAC Prompt Tutorial"

Hello Batch,

If you go directly to the comment section of the tutorial you mentioned. You can make your suggestions there to the tutorial's author.


Read other 4 answers

Re: Windows 7, SP1, Home Premium, 64-bit

When using Q-Dir, a 4-pane Windows Explorer replacement, I can manually move desktop files/icons between the all users a/c and my account. I created a batch file to do this, and it works fine when clicked from within Q-Dir. It does not, however work from a command prompt, even an elevated command prompt.

At the elevated command prompt, even the Dir *.* command results in a file not found error message, even though files are actually there (and are not hidden files).

This is the simple batch file:

rem C:\Users\All Users\desktop = C:\ProgramData\desktop
Move C:\ProgramData\Desktop\*.* C:\Users\ALLAN\Desktop\
@echo off

Incidentally, changing the permissions, to allow full control in the properties/security settings for the All Users desktop does not have any effect with respect to this issue.

Does anyone know why the elevated command prompt cannot access/find the files in the All Users desktop ("File not found" error message)?

Again, I can do this via my Windows Explorer replacement, so it is not really a problem, but it has me baffled; thus my request for help.



A:All Users Desktop Files "Not Found" (Dir *.*) in Elevated Cmd Prompt

The common desktop is located here:
C:\ProgramData\Desktop and\or C:\Users\All Users\Desktop is not where you should be working.

Read other 9 answers

I'm having a problem with this known bug in UAC related with subst and mapped drives and can't find a workaround.

I have a standard user account (NOT in the administrators group) which I use every time and another which is an admin which I use only to elevate processes though UAC when prompted. I'm used to have a drive mapped with the "subst" command to point at a local directory in my hard disk, which is run at each logon with a bat file placed in the startup menu.

Problem is that, whenever I elevate any program with UAC, that program doesn't sees the mapped drive. Moreover, if I try to elevate a program whose executable lies in the subst'ed drive, after prompting for my password it says the .exe I just double-clicked doesn't exists.

Has anyone solved this problem in some "elegant" way? I don't really like to get rid of that drive for convenience, and using the full path to the real file is just a pain.

A:Can't get subst drives to work under elevated standard account

Replace it with a hard link or symbolic link? Mklink in Windows

Read other 2 answers

I would like to add some info here as I had the above problem, and couldn't find the answer anywhere except on a site that wanted money! Aaargh! The nerve of it!

But I saw a topic here with the exact same problem, although the solution was quite different. (Here: http://forums.techguy.org/windows-xp/944096-taskkill-does-not-work-batch.html )

I can't recall now why I thought about the firewall, but as you guys have helped me in the past, I'd like to leave some information here for people who Google the following problems and think they have found a site with a solution, only to find that the site wants your credit card number. Bah!

Here are the errors I had:

1. Net stop: System Error 5 has occurred. Access is Denied

2. Tasklist or Taskkill: The RPC server is unavailable

Both of my problems were caused by the Comodo firewall on a new PC running XP SP3.
The startup command file calls various other command files and I got the above errors when they executed the Net, Taskkill and Tasklist commands.

When I entered the commands (net stop, taskkill, tasklist) at a command prompt, they worked.

The problem was because the Comodo firewall had a "Defence +" setting for a "Sandbox" that was enabled.
When I disabled the sandbox, everything worked as I expected, i.e. as on my old PC that I was replacing.

I hope this helps someone in the future.

If you tech guys would like to add some techy details as to what the sandbox was doing, that would be g... Read more

Read other answers


I am new to program and deisgn and I am working form a Video tutorial while I am using the operating system Windows XP. I am trying to use the command prompt feature. In this video tutorial the instructor is using operating system Windows Vista.

In opening command prompt I find there is a differnce in the first line of the coding in eighter operating systems.

In windows XP the first line in the coding displays as follows:

C:\Documents and Settings\Henry>

In Vista the first line appears as follows:


When using command prompt In XP I have this first line by default:

C:\Documents and Settings \Henry>

From there I add the following cd\

Which makes the line look like this

C:\Documents and Setings\Henry>cd \

Then hit enter and type in the next line:

C:\cd cs

Then hit the Tab key. From there all of my information should display in command prompt. Nothing happens.

While the instructor in the tutorial manages to use command prompt while using Vista I trying to duplicate the same using Windows XP. But I do not get the same results as the video instruction does. This is the first step in the command prompt process I am trying to work with. There are more commands to come in the program. Is there some way that I can adjust the coding in the first line that appears in the command p... Read more

A:How Can I get Command Prompt To Work

Hello Henry,

It looks like the video is asking you to change directories ( the cd command). After you type "cd cs", you need to press enter, not tab, as that will tell the operating system to execute that command. As a side note, you may want to be sure that the folder named 'cs' exists on your computer. If not, you can create a new folder with that name by typing "md cs" and pressing enter.

Hope this helps.

Read other 4 answers

any help, I have looked in the internet but the tutorials there are no good, HELP!

A:How does command prompt work?

Quote: Originally Posted by Gackybelton

any help, I have looked in the internet but the tutorials there are no good, HELP!

Well, what do you want to do with it? It has far to many uses to list.

Read other 9 answers

I have a cable modem and when I click on the internet explore icon I get prompted the "Work Offline or Try Again" option. I click try again and I get connected. Though, this prompt occurs about 50% of the time. Any thoughts on why this may be occuring, and doing so inconsistently?

Read other answers

When I try and use the command prompt I this this msg

C:\windows\system32\autoexec.nt. The system file is not suitable for running MS-DOS and Microsoft Windows applications. Choose 'Close' to terminate the application.


A:command prompt wont work

Well, first of all the "command prompt" you want to use in XP is cmd not command

The older version will normally run, but not with respect to everything.

Other issues with respect to "autoexec.nt" can usually be resolved by restoring it if it has changed or become corrupted.

These folks have provided an all in one restore for similar such problems, see Elvandil's post here:


Read other 2 answers

command prompt won't recognize commands

A:command prompt doesn't work

Hi nreeves2, welcome to TSF !

What commands are you trying to run ? When did the problem start and what's the last thing you did on the computer beforehands ?

Go to start => run and type cmd, do you get into the command prompt window ? If so type path and report the result.

Read other 1 answers

Hello all.

I've recently tried to work my command prompt and it will not work. I have no idea why but it just won't. When I use Run, and type 'cmd', and then come onto prompt, it doesn't work and gives me the message:


C:\Documents and Settings\Name>nslookup
'nslookup' is not recognized as an internal or external command,
operable program or batch file.

Thanks for any help.

A:Command Prompt Doesn't work?

I had a similar situation a long time ago, and was only able to repair by doing a non-destructive recovery. Like to find out what others know about this as well...

Read other 5 answers

it's weird, i've been trying to port-forward but I can't because my command prompt won't work! when I type Ipconfig/all it says...

___'ipconfig' is not recognized as an
___internal or external command,
___operable program or batch file.

A:My command prompt doesn't work, help!?

Welcome to TSF!

I'm assuming you are typing Ipconfig/all into the Command Prompt, so you Command Prompt is workiing, it's ipconfig that seems to be MIA.

Have you looked to see if it's actually present? It should be in Windows\system32
If it's there, type the following into a Command Prompt window to see if the system can find it:

For %I In (ipconfig.exe) Do @Echo %~dp$PATH:I
It should display C:\WINDOWS\system32\

If it shows ECHO is on. instead, then ipconfig.exe is either missing, or your path statement is missing the System32 folder.
type Set path to display the path statement. You should see at least the following three folders on the Path= line:
C:\>set path

I'm assuming you can connect to the Internet on this PC?
What version of XP, and what Service Pack are you running?


Read other 1 answers


My command prompt somehow dosn't seem to work like i want it to. E.g. I want to enable the administrator account. So i type: net user administrator /active:yes
Or i type ipconfig /all or getmac to get the mac address.

No matter what command i type i get the message: 'something' is not recognized as an internal or external command, operable program or batch file

I tried to run command prompt both admin and as common user.

Have anyone any suggestion for what i can do?



A:command prompt dosn't work

You get this error only when you don't type it correctly. Try typing simple commands like diskpart or ipconfig and check what comes up.

Read other 9 answers

hi guys! lately i've been having some problems with my windows xp command prompt.

whenever i type in a command i always receive this message:

"[any]" is not recongized as an internal or external command, operable program or batch file.

"[any]" would be any command i type in like "edit" or "ipconfig".

i've looked around but i'm still confuse as to how i can fix this. i also noticed i can't seem to get into safe mode (tapping F8) on boot up. has anyone ever came across this problem before?

thanks in advance!

A:my windows xp command prompt doesn't work

Does this only happen in Start>Run and type in or in the Command Prompt from the Start>All Programmes>Accesories menu as well?

Read other 2 answers

Ah, I just love finding new problems with these machines I work on. It would be nice if they all had the same or similar problems, but NO... Anyway, an eMachines PC I'm working on now will not carry out commands entered at the command prompt. I type in MSCONFIG, it does nothing. I type in REGEDIT and, for a split second, the REGEDIT window opens, then quickly closes. So, instead of using Start > Run, I went to the command prompt and entered the same commands. Same result. So far, I've found Internet Optimizer and deleted related files/folders. I'm getting ready to run more "diagnostic" software, but if anyone has any ideas out there, I'm all ears... Thanks!

A:Solved: Command prompt commands won't work

This computer, I swear, has a mind of it's own... Okay: As with a few of the machines I've worked on down here in the basement (Mulder? You down there?) it won't recognize the network when plugged in—which is to say that I can't get to the internet. That's a problem because I wanted to run Spybot and it updates before it runs. So, I installed AVG antivirus. I discovered, as others have, that it hangs on the msobshell.dll file. So that makes two otherwise effective software programs useless. Does anyone know of a FREE utility (the store isn't spending money on this type of software) that I can download onto a CD from one machine to run on the infected one? HEY!! IT WORKED!! Was rebooting that PC as I was typing this. I can now run MSCONFIG and Task Manager will open. If I have additional problems, I'll let ya know... Thanks. [So: AVG Antivirus was helpful after rebooting machine.]

Read other 1 answers

Im learning to programme and I wanted to do some of my work at home.
So i downloaded jdk 5.0 (from sun.com) and jEdit.
I wanted to compile the 'programme' i'd just written with Command Prompt, but whenever i type javac something.java
it says dat javac is not recognized

Ive been told to add the input/output txt files into a specific folder and then go to my computer>properties>advanced>environment....
In the user, i added CLASSPATH
and the other one already had a 'Path' and there i pasted the directory where the input/output tct can be found.
And then i restarted the pc.
But i keep getting the same msg..
And i think the command : java
doesn't work either

I checked around online and they said that i should check in the folder 'bin' if there was a javac.exe and a java.exe if there weren't any, then sth went wrong w/ the intallation.
I re-installed it and there it was.
But Command Prompt still doesn't recognize the command.

A:"javac'' and ''java'' won't work (Command Prompt)

Read other 12 answers

Hi, thank you for taking your time to read this.

As the title suggests, my command prompt will not work. Everytime I tried opening it through start>run>cmd, or %windows%\system32\cmd.exe, or just clicking on it, my screen refreshes for 2 seconds where the task bar disappears and reapears, and all explorer windows are closed afterwards.

I suspect it could be the Conflicker worm since my windows automatic updates wont turn on. I tried reinstalling service pack 2 and it seemed to be fixed for a while, but the problem came back the next day.

I've been using Mcafee for a few years now. Recently the scans seem to be picking up a file called KeepMainM.cab that i cant seem to remove. I've tried to remove it manually, with Malwarebytes, and FileKill but the problems with command prompt persists, so i'm not sure if its connected. Also, I cannot seem to open Mcafee.com with IE or Firefox.

For some reason my scans with scaning software seems to be quite slow. Malwarebytes, McAfee virus scan, and Microsoft Windows MSRT scans all ran for over 15 hours until they finished, and saying nothing was found when it was finished.

Also, I recently did something to set my PC back to factory configuration (not sure what its called, but windows reinstalled and hardrive was left intact), and the problem with Command Prompt occured afterwards. Not sure if that helps.

I really dont want to have to completely reformat my PC, and thanks for the help.

Logfile of Trend Micro Hij... Read more

Read other answers

When I try to use ctrl-alt-delete to brring up the task manager, it doesn't work and when trying to use programs that use command promt, a message appears that say it is beign used by another program. Both task manager and command prompt work in safe mode but not in normal mode. I have ran several virus scans and spyware removal tools but they still dont work. Here is my HijackThis log. Thank you in advanced.

Logfile of HijackThis v1.99.1
Scan saved at 6:53:16 PM, on 12/20/2006
Platform: Windows XP SP2 (WinNT 5.01.2600)
MSIE: Internet Explorer v7.00 (7.00.5730.0011)

Running processes:
C:\Program Files\Adobe\Photoshop Elements 3.0\PhotoshopElementsFileAgent.exe
C:\Program Files\Common Files\Command Software\dvpapi.exe
C:\Program Files\Adobe\Photoshop Elements 3.0\PhotoshopElementsDeviceConnect.exe
C:\Program Files\Common Files\New Boundary\PrismXL\PRISMXL.SYS
C:\Program Files\CyberLink\PowerDVD\PDVDServ.exe
C:\Program Files\Digital Media Reader\shwiconem.exe
C:\Program F... Read more

A:Task Manager and Command Prompt doesn't work

Hi and welcome to TSF.

I am currently reviewing your log. Please note that this is under the supervision of an expert analyst, and I will be back with a fix for your problem as soon as possible.

You may wish to Subscribe to this thread (Thread Tools) so that you are notified when you receive a reply.

Please be patient with me during this time.

Read other 11 answers

Hey guys,

It's been a while since I've posted here, so sorry if I posted in the wrong section.

When Windows 8.1 was released, I upgraded my current Windows 8 installation. Overall, it has been a great experience. However, I've run into a couple of strange problems that I have never had before.

The first problem is, whenever I boot into Windows 8.1, my USB devices don't work right away (keyboard and wireless mouse). It doesn't matter if I restart my computer or have just turned it on. In order to get the keyboard to respond, I have to unplug and plug back in the cord. It's very annoying to have to do this every time I boot Windows.

The second problem is, while Windows is logging in, I get a UAC prompt. The UAC prompt says "Service Control Manager Configuration Tool". This prompt also happens every single time I log on, which is also very annoying.

I have checked my startup programs and have found nothing obvious that could solve these problems, but maybe I'm missing something.

Does anyone have any ideas? Have these problems happened before? I really would prefer not to do a clean install since everything else is working perfectly and it's not slow at all.

Thanks guys for the help !


A:Keyboard doesn't work on startup and weird UAC prompt

Maybe running sfc & dism might help ?

DISM - Fixing Component Store Corruption in Windows 8

Read other 2 answers

I'm on Windows XP Professional, Dual-Booting RedHat Linux 9 (Just upgraded from 8)
This is very odd. I recently found a folder in my recycling bin called Jgl_Rt ( I think it was after I installed the new Freelancer demo from PCGAMER. . . or perhaps when I transfered a zip file with a bunch of jpg's I had scanned from my grandma's house) so I was curious, and dragged it onto my desktop to take a look inside. I couldn't open the folder, because it said access denied, and I couldn't delete it. I tried to change the read-only attribute under properties and it said access denied. I tried to scan the file with 3 different anti-virus software. Avast! Home edition, Norton 2003, and PC-Cillin 2002. None of them were able to access the file, therefore, they couldn't scan it. Now, almost all the jpg's and zips on my computer, as well as many random files around my computer are locked in place. They now have the same symptoms of that folder. A few of them I was able to fix when scanning and choosing repair, which I could then delete. . . but that only applied to a few files, and not all of them. No virus was detected yet on my computer. What the hell is going on!? I tried checkdisk, and defragmenting my drive (Why did I think defragmenting would help, I have no idea.).
Eventually I got rid of jgl_rt by doing a system restore point, but that made a few other folders do the same thing. . . I got a few of them to delete in command prompt under safe mode wi... Read more

Read other answers

This is for my sister,I hope someone can help us out...

her computer is a windows 7.It shut down one day while she was at work.Message said, computer shut down improperly, so she rebooted it.. it started in safemode. wouldnt go any where else... so we tried the f8 and command prompt and it opened but as soon as she started to type in user passwords2 the command prompt closed and rebooted the computer to the windows log on screen with her password in the "user" box, we cant get it to do anything, and the command prompt wont let us type in anything.. each time it jumps back to the windows logon.. we tried password reset but it also asks for a password then when she types it in says wrong password..she cant remove the user name in the box and every PW she puts in.. she went and bought a usb disk thinking we can create a password disk well it wont work when it comes to the option to choose cd/dvd or usb.. nothing... what else can we do.Im trying to help via phone.. Can I create a password disk for her on my computer which by the way is not a win7 I have a Dell exp... is there a full working one I seen many trial are they any good? Can someone please help us..

A:Windows 7 logon Locked out Command Prompt Wont work

Here is a tutorial for using the Offline NT password program- I've lost the password to my Windows Administrator account, how do I get it back?

The website to download has been changed to Offline Windows Password & Registry Editor

Notice that if you want to use a CD, you have to burn, not copy the .iso file on the disc.

Read other 1 answers

Hi Everybody

This is my first post on this forum.

I am trying to create a batch file which prompts for an user input. Depending upon what the user response is, I want to terminate a particular application.

When I use the "Taskkill" command at the "Command Prompt", it works and terminates the desired application. However, when I use it in the batch file, the application doesnt' terminate.

Any suggestions, how can I get it to work from within a batch file? I am using Windows XP Professional SP3.

The batch file is reproduced here for your immediate reference :-

@echo on
set /p Input =
if /i "%Input%"=="y" goto DoNotProceed
exit /b

taskkill /im notepad.exe

This batch file is actually the batch file that is run as a "Before Backup" task using GFI backup program. I am testing the above batch trying to terminate Notepad application but the intent is to termiate this GFI application. I know the image name for this application.

The "Taskkill" command as it is works from any location. The active directory does not have to be "Windows\System32" which houses the "Taskkill" exe file.

This batch file runs but doesn't terminate the "Notepad" application.
An early response shall be highly valued.

Best regards

Deepak Agarwal

A:Taskkill does not work in batch file but works at command prompt

Read other 6 answers

recently,i uninstalled all Malwarebytes software and from then I was unable to open .exe files,not even command prompt and regedit and getting error as "no such interface supported".i tried all the methods like changing registry values(I
can open cmd in safemode options and through that I can access regedit and import Exe.reg but changes regains while restart) and sfc /scannow but nothing works me.so please get me out of this,thanks in advance

Read other answers

Here's an anomaly.

In my W7 Ultimate Administrator Command Prompt, I'm trying to set the colors as follows:
Screen Background: 192, 192, 192
Screen Text: 0, 0, 255

You can see the selection area by right-clicking the Title Bar (or the little black box at top left) and clicking Properties or Defaults.

My preference (RGB numbers above) is a light gray background with bright blue text.

Problem is, the background won't stay set. It keeps reverting to a murky green, 128, 128, 0.

No problem, says I. The colors can be set in the registry. But can they?

Here's the rub. Under the key HKEY_CURRENT_USER/Software/Microsoft/Command Processor, the Set DefaultColor command only works for a 2-character combination of 0 to 9 plus A to F. You can see the same thing working in the Command Prompt box itself. If you type 'color' followed by say, f0, you'll get black text on a white background. color 0f will get you white text on black. And so on.

Now, if you Google for 'command prompt colors' you'll get umpteen pages like this one that show the colors represented by the 16 characters:


Have a look for 'gray' in any of those charts and you'll find it's represented by the numeral 8.

But go back to the palette in the Command Box and you'll see that there are TWO grays. And the gray that 8 gets is a DARK gray, not the LIGHT gray beside it on the palette.

So if I type color 89 in the box, I get blue text on a DARK gray background, not t... Read more

A:Command Prompt Color - Registry setting doesn't work for this combo.

Hi Teckneeculler,

Instead of changing colour defaults globally, I suggest you create a shortcut to Cmd.exe on your desktop, then make your desired colour changes in the Colours tab of the shortcut's Properties pane.

Avoid making changes under "HKCU\Software\Microsoft\Command Processor". All command prompt sessions will always be overridden with these preferences. That means if you change the value of DefaultColor you'll be stuck with the colour profile on all command prompt instances until you revisit the registry and reset its value back to 0.

To automatically reset the global defaults you've changed, I've attached a registration file you should merge.

Read other 4 answers