We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Windows Vista CMD

Medium Priority
1,399 Views
Last Modified: 2012-08-13
Hello,
This has been going on for a while now with my Vista CMD, when I open CMD it diplays Welcome to Darwin, as I own 2 macs I know that Darwin comes up when you run terminal, so why is it displaying on my VISTA PC? I also have not installed a BASH or TSCH shell.
scrnsht.gif
Comment
Watch Question

So, first things first.

You want to determine if this is a legitimate bash prompt or not.  If you can use

ls
grep

Or any other *nix commands that aren't duplicated in CMD....If they work...then you have a legimitage bash prompt that has been installed...somehow.

If you want to be sure it is in fact a cmd prompt and not anything else try "robocopy"...this is a windows specific command that shouldn't have an equal in *nix.

If you've go to task manager, after you've opened cmd.exe and see cmd.exe is listed, either a setting has been changed, or your CMD.exe has been overwritten.

If you don't see cmd.exe, cmd.exe has been linked to something else.  This will give us a start.

Author

Commented:
Ok, so ROBOCOPY does work, as does other commands that do not work on my mac.
and it's process is CMD.EXE in Task Manager, so it is not a real BASH shell.

robocopy.gif

Author

Commented:
I thought that I would try and see what VER came up with.

ver.gif
It seems to me that your cmd.exe has been overwritten by something that "looks" like a bash prompt.

So, you might want to try...sadly...at the prompt.

sfc.exe /verifyfile=c:\windows\system32\cmd.exe

This will "check" to see if the cmd is the cmd that windows expects.  Naturally it should NOT say "Windows Reasource Protection did not find any integrity violations".  If it does, there's some serious weirdness going on here.

Also, even if task manager says it's cmd.exe, make sure that it's cmd.exe in c:\windows\system32 and not anywhere else.  Right click cmd.exe and select open file location.

Author

Commented:
I did what you said and it came up with Windows Reasource Protection did not find any integrity violations which you said it shouldn't, I don't think think this is possible but it looks like my CMD has a Darwin theme! :)

sfc.exe.png
Did you verify the the location of the cmd.exe window you open with task manager?  Is it c:\windows\system32\cmd.exe?  Also, i would like you to check a few things for me.  I want you to check your environment variables and look for a "prompt" declaration.  For example if i set the environment variable of prompt to OMGWTFPROMPT

Instead of
c:\Users\owner>
i get
OMGWTFPROMPT
at the commandline

However if i type cd it says

OMGWTFPROMPT
C:\Users\owner

Also, check in your registry under HKLM\SOFTWARE\MICROSOFT\COMMAND PROCESSOR
There should only be 4 keys and the default.
Default = value not set
CompletionChar = 64
Default Color = 0
EnableExtensions = 1
PathCompletionChar = 64

We'll go from here.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
Sorry, Im new here and didn't know I had to click Accept Solution, sorry
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.