[Windows RT Development and Hacking] BIade:
Hey, here is my updated Version of the Menu. All suggestions but one included. The missing one is the "add non-admin user"-Feature.

- This script now asks for admin-rights, to be able to Stop the ftpService

- After starting the FtpService, I finally managed to get Focus back on the menu

- Change port is included

- Also included is the new config file, as the provided one doesn't have the port-Feature

EDIT: actually we don't Need this, as my script will add it. So ist just for restoring

-And a bit "design"-work

Please tell me which Color you would like to have (forground and Background):

I used "4F"

Cheers

Blade

P.S.: New Code:

[MENTION=279333]ECHO[/MENTION] off
mode con: cols=15 lines=1
:: Get ADMIN Privs
:-------------------------------------
mkdir "%windir%\BatchGotAdmin"
cls
if '%errorlevel%' == '0' (
rmdir "%windir%\BatchGotAdmin" & goto gotAdmin
) else ( goto UACPrompt )

:UACPrompt
echo Set UAC = CreateObject^("Shell.Application"^) > "%temp%\getadmin.vbs"
echo UAC.ShellExecute %0, "", "", "runas", 1 >> "%temp%\getadmin.vbs"

"%temp%\getadmin.vbs"

exit /B

:gotAdmin
if exist "%temp%\getadmin.vbs" ( del "%temp%\getadmin.vbs" )
pushd "%CD%"
CD /D "%~dp0"
:-------------------------------------
:: End Get ADMIN Privs
:: [MENTION=279333]ECHO[/MENTION] off

:BEG
mode con: cols=52 lines=15
TITLE Blade's Configurator
color 4F
if not exist "Backup.config" copy /y "Wodsoft.FtpService.exe.config" "Backup.config"
cls
ECHO ---------------------------------------------------
ECHO Blade's Menu for FTP-Service
ECHO ---------------------------------------------------
ECHO.
ECHO [1] Change Username and Password
ECHO [2] Change DefaultPath, Default Port, MaxConnection
ECHO [3] Restore Default Settings
ECHO [4] Start FTP-Service
ECHO [5] Stop FTP-Service
ECHO [x] Exit
ECHO.
ECHO ---------------------------------------------------
ECHO.
set /P id=What do you want to do? %=%
IF "%id%" == "1" GOTO Username
IF "%id%" == "2" GOTO DefaultPath
IF "%id%" == "3" GOTO Restore
IF "%id%" == "4" GOTO Open
IF "%id%" == "5" GOTO Close
IF "%id%" == "x" EXIT

:Close
taskkill /F /IM Wodsoft.FtpService.exe
GOTO BEG

:eek:pen
Start "" Wodsoft.FtpService.exe
Start "" call %~s0 :BEG
EXIT

:Restore
copy /y "Backup.config" "Wodsoft.FtpService.exe.config"
del Backup.config
CLS
ECHO Default Settings restored! Press any key to exit...
PAUSE >NUL
GOTO END

:Username
CLS
set /P user=New Username: %=%
set /P pass=New Password: %=%
set ReplaceLine=25
set InFile=Wodsoft.FtpService.exe.config
set TempFile=Backup1.config
if exist "%TempFile%" del "%TempFile%"

setlocal enabledelayedexpansion
set /A Cnt=1
for /F "tokens=*" %%a in (%InFile%) do (
echo.%%a>> "%TempFile%"
set /A Cnt+=1
if !Cnt! GEQ %ReplaceLine% GOTO :ExitLoop
)
:ExitLoop
endlocal
echo.^<User Username="%user%" Password="%pass%" Group="Administrators"/^> >> "%TempFile%"
setlocal enabledelayedexpansion
set /A Cnt2=1
for /F "tokens=*" %%a in (%InFile%) do (
if !Cnt2! GEQ 26 echo.%%a>> "%TempFile%"
set /A Cnt2+=1
if !Cnt2! GEQ 29 GOTO :ExitLoop3
)
:ExitLoop3
endlocal

copy /y "%TempFile%" "%InFile%"
del "%TempFile%"
cls
GOTO BEG

:DefaultPath
CLS
set /P path=New default Path: %=%
set /P port=New default Port: %=%
set /P maxC=New Max Connections: %=%
set ReplaceLine2=9
set InFile=Wodsoft.FtpService.exe.config
set TempFile=Backup1.config
if exist "%TempFile%" del "%TempFile%"

setlocal enabledelayedexpansion
set /A Cnt=1
for /F "tokens=*" %%a in (%InFile%) do (
echo.%%a>> "%TempFile%"
set /A Cnt+=1
if !Cnt! GEQ %ReplaceLine2% GOTO :ExitLoop2
)
:ExitLoop2
endlocal
echo.^<FtpService DefaultPath="%path%" MaxConnection="%maxC%" AutoHide="true" Debug="false" Log="true" Port="%port%" Welcome=""^> >> "%TempFile%"
setlocal enabledelayedexpansion
set /A Cnt2=1
for /F "tokens=*" %%a in (%InFile%) do (
if !Cnt2! GEQ 10 echo.%%a>> "%TempFile%"
set /A Cnt2+=1
if !Cnt2! GEQ 29 GOTO :ExitLoop3
)
:ExitLoop3
endlocal

copy /y "%TempFile%" "%InFile%"
del "%TempFile%"
cls
GOTO BEG

:END