Windows Vista environment has problems with the keyboard configuration to use it from the system symbol.
Spanish layout keyboard works perfect from the command line but when any program, either a system program or an external one, is run the layout becomes the US English standard layout.
To solve such problem, you must follow those steps.
INSTRUCTIONS
Place your mouse on System symbol, right click and select Run as administrator.
From the system sign, type:
EDIT C:\WINDOWS\SYSTEM32\AUTOEXEC.NT
Once the file is open, add anywhere, without erasing or altering anything already in:
KB16 SP,850
At the end, select (you can use your mouse) File, Exit and confirm you want to save changes.
On the system sign again, type:
EXIT