DesktopECHO / xWSL

Installer script for Ubuntu 22.04 / 24.04 with XFCE 4.18 on WSL. Does not require hypervisor, container, or X11 server.
https://github.com/DesktopECHO/xWSL
307 stars 80 forks source link

Script error in xWSL.CMD #1

Closed ppasham closed 4 years ago

ppasham commented 4 years ago

ECHO Creating Scheduled Task for InitSystem and PulseAudio SCHtasks /create /RU %USERNAME% /RL HIGHEST /SC ONSTART /TN %DISTRO%-InitSystem /TR "%DISTROFULL%\xWSLres\LxRunOffline.exe run -w -n %DISTRO% -c 'initWSL 2'" SCHtasks /create /RU %USERNAME% /RL HIGHEST /SC ONSTART /TN %DISTRO%-PulseAudio /TR "%DISTROFULL%\xWSLres\xWSLpa.exe" CD .. ECHO @SCHtasks /run /TN %DISTRO%-InitSystem > %DISTRO%.CMD ECHO @SCHtasks /run /TN %DISTRO%-PulseAudio >> %DISTRO%.CMD START /MIN %DISTRO%.CMD START /WAIT /MIN "Bad Wait Loop" "PING" "-n" 7 "127.0.0.1" %DISTROFULL%\xWSLres\WFreeRDP.exe /bpp:24 /h:600 /w:1000 /v:LOCALHOST:%RDPPRT% /u:%xu% /p:%password%

The script error-ed: below is the out put

Creating Scheduled Task for InitSystem and PulseAudio ERROR: The parameter is incorrect. (16,8):UserId:ERROR: The parameter is incorrect. (16,8):UserId: C:\WSL\xwsl> InstallLog.txt

DesktopECHO commented 4 years ago

Hi, are you positive you ran the script from a command prompt window (CMD.EXE) and not from PowerShell? That’s the only way I can see you getting this error message.

If you can post a screenshot of when the failure occurred, that may be useful as well.

Cheers, D.

On Tue, Mar 3, 2020 at 10:36 PM ppasham notifications@github.com wrote:

ECHO Creating Scheduled Task for InitSystem and PulseAudio SCHtasks /create /RU %USERNAME% /RL HIGHEST /SC ONSTART /TN %DISTRO%-InitSystem /TR "%DISTROFULL%\xWSLres\LxRunOffline.exe run -w -n %DISTRO% -c 'initWSL 2'" SCHtasks /create /RU %USERNAME% /RL HIGHEST /SC ONSTART /TN %DISTRO%-PulseAudio /TR "%DISTROFULL%\xWSLres\xWSLpa.exe" CD .. ECHO @SCHtasks /run /TN %DISTRO%-InitSystem > %DISTRO%.CMD ECHO @SCHtasks /run /TN %DISTRO%-PulseAudio >> %DISTRO%.CMD START /MIN %DISTRO%.CMD START /WAIT /MIN "Bad Wait Loop" "PING" "-n" 7 "127.0.0.1" %DISTROFULL%\xWSLres\WFreeRDP.exe /bpp:24 /h:600 /w:1000 /v:LOCALHOST:%RDPPRT% /u:%xu% /p:%password%

The script error-ed: below is the out put

Creating Scheduled Task for InitSystem and PulseAudio ERROR: The parameter is incorrect. (16,8):UserId:ERROR: The parameter is incorrect. (16,8):UserId: C:\WSL\xwsl> InstallLog.txt https://github.com/DesktopECHO/xWSL/files/4284760/InstallLog.txt

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/DesktopECHO/xWSL/issues/1?email_source=notifications&email_token=AH43PYOZY5OEFYBEOQPMSRTRFW5BFA5CNFSM4LAZHXE2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4ISHIIMQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH43PYMKHV5MK22SX3KH53TRFW5BFANCNFSM4LAZHXEQ .