[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1381
  • Last Modified:

Windows Vista CMD

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
0
reidras
Asked:
reidras
  • 4
  • 3
1 Solution
 
maninblac1Commented:
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.
0
 
reidrasAuthor 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
0
 
reidrasAuthor Commented:
I thought that I would try and see what VER came up with.

ver.gif
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
maninblac1Commented:
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.
0
 
reidrasAuthor 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
0
 
maninblac1Commented:
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.
0
 
reidrasAuthor Commented:
Sorry, Im new here and didn't know I had to click Accept Solution, sorry
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now