C Windows System32 Optionalfeatures Exe Application Not Found

Active3 years, 3 months ago

EXE files such as OptionalFeatures.exe are categorized as Win32 EXE (Executable application) files. As a Windows Features file, it was created for use in Microsoft® Windows® Operating System by Microsoft. File C: Windows system32 RAMgmtUI.exe cannot be located. Cause: The management tools were not installed along with the Direct Access role. This is an issue with what Windows installed with the role, and not a user issue. Remedy: To install the required management tools. OptionalFeatures.exe is non-existent in System32 folder Hi all, I have been visiting the forums for sometime now and looking up various fixes and what not, but I joined today to see if any one can help me out here. OptionalFeatures.exe is non-existent in System32 folder Hi all, I have been visiting the forums for sometime now and looking up various fixes and what not, but I joined today to see if any one can help me out here. Dec 14, 2011  Application not found When I click on regedit in the C: Windows folder I get an 'Open With' window. The same window pops up when I try and open anything on.

I am trying to invoke one executable by putting following line on command prompt. (I know I can directly invoke the exe but let's just say I have no other way to do this due to some restriction)

itself It is successfully run. /C is parameter to cmd.exe. But when I do this

Gives me error

Any idea why? And how can I solve this problem? I have to use full path of cmd.exe.

Ganesh SatputeGanesh Satpute
1,0734 gold badges16 silver badges40 bronze badges

5 Answers

Try this instead:

For example:

These work without any problem and both of them output 'Hello World'

SazidSazid
1,9821 gold badge13 silver badges28 bronze badges

As stated by Stephan, the correct way of writing it is some of the following options

The question is Why 'cmd /c' .... works? It works for the way the parser is interpreting the line.

When the line is readed and parsed, 'cmd /c' is converted to

C Windows System32 Optional Features Exe Application Not Found Windows 10

So it is executed as

This substitution can be easily tested

MC NDMC NDNot
60.8k5 gold badges53 silver badges90 bronze badges

looks for a file named C:WindowsSystem32cmd.exe /C.

Have you ever seen a file with the extension .exe /c?

Correct format is:

StephanStephan
38.7k4 gold badges35 silver badges62 bronze badges

Regarding the additional question of why the extra quotes are needed: this is described in the help returned by cmd /?, specifically

C Windows System32 Optional Features Exe Application Not Founded

If /C or /K is specified, then the remainder of the command line after the switch is processed as a command line, where the following logic is used to process quote (') characters:

So, if the first (non-whitespace) character of the command is a quote, you need an extra pair of quotes around the entire command.

Additional note: combining MC ND's answer with mine, the first command line in the question is being interpreted like this: we start with

which becomes

due to the rule that replaces cmd ->%ComSpec% combined with the bug/feature that discards the extra quote mark; this then becomes

because of the rule that removes the first and last quote marks when processing /C.

The Win32 file system rules discard the extra backslash, so the executable launched is

and the executable is presumably ignoring the missing close-quote in its argument.

Harry JohnstonHarry Johnston
30.9k5 gold badges45 silver badges118 bronze badges

Strange it seems :/

This works. Don't know why. May be the double quotes before and after 'C:Program FilesABCxyz.exe' -register='abc' are required. Wish if someone will explain that.

Solomon Ucko
1,1692 gold badges11 silver badges22 bronze badges
Ganesh SatputeGanesh Satpute
1,0734 gold badges16 silver badges40 bronze badges

Not the answer you're looking for? Browse other questions tagged windowscommand-linecmd or ask your own question.

OKay so awhile back I think I may have done something to my computer when I was infected with virus or trojan thing
Now im not able to open something on my control panel such as, 'User Accounts' without this popping up, 'C:WINDOWSsystem32rundll32.exe Application Not Found'
I've been trying to figure it out and its really annoying because Its affecting my day to day use of my pc
for instance I tried downloading iTunes but it wont install properly because of this situation, I also cant open IE properly, I have to open it through my MSN.
So if any of you know a solution or knows what im going through please help me out.
Thanks a million