Windows configuration


Here are some windows settings you should apply. They will ease the maintenance and the use of alternate systems (if you'd like to do so).


Set environment variable as non-admin user

Sometimes you are not the local administrator of your computer... But you still need to add / update some environment variables. Windows has an excellent command line tool for that: setx

setx M2_HOME "R:\java\tools\maven\3.2.3-ep-01"

Note! You are not allowed to UPDATE a value.

  • setx PATH "%PATH%;%M2_HOME%\bin" will failed. :(
  • You need to:
echo %PATH%
setx PATH "{path_current_value};%M2_HOME%\bin"


Disable Fast Startup

Since Windows 8 the startup is much faster. However that comes with a great cost: the partitions information are stored on a file and only the current OS can access it. Meaning in case of failure you'll probably lost all your data. Even Linux will not be able to access the data.


I strongly advise you to disable that feature. Even though it might slow down the startup time, it will greatly help you in case of failure and data recovery!

  • Go to control panel
  • Hardware and Sound
  • Power options
  • Change what the power buttons do
  • Change settings that are currently unavailable - This is the option at the top of page
  • Disable Turn on fast startup (recommended) - at the bottom of the new page


Windows server simultaneous sessions

To enable simultaneous sessions with the same login, see: https://support.managed.com/kb/a1816/how-to-enable-disable-multiple-rdp-sessions-in-windows-2012.aspx