We had problems with the script as we are a non en-us locale. This was commented in Hakan's script.
I updated our copy of the script and it fixed the issue
- Open the EnableFeatures.bat script
- Immediately after the comment "REM The below line will only work on en-us locale" modify the code to read:
for /f "tokens=1-5 delims=/ " %%d in ("%date%") do SET myDate=%%d-%%e-%%f
for /f "tokens=1-5 delims=:" %%d in ("%time%") do SET myTime=%%d-%%e
- Save and you are done, the script is now a little more non en-us friendly.