Files
RemoteDesk/packaging/windows-host/RemoteDesk-Host.cmd
T
曾志威 5db6b9ef68
ci / rust (push) Canceled after 0s
ci / web (push) Canceled after 0s
ci / package-preview (push) Canceled after 0s
ci / package-installer (push) Canceled after 0s
ci / linux-agent (push) Canceled after 0s
ci / edge-service (push) Canceled after 0s
ci / coturn-pop (push) Canceled after 0s
ci / package-windows-host (push) Canceled after 0s
Initial commit
2026-08-14 00:35:42 +08:00

12 lines
342 B
Batchfile

@echo off
setlocal
set "SCRIPT=%~dp0Configure-RemoteDeskHost.ps1"
if not exist "%SCRIPT%" (
echo Configure-RemoteDeskHost.ps1 is missing.
exit /b 1
)
powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%SCRIPT%" -Action Enable -AcceptRemoteDesktopChanges
set "EXITCODE=%ERRORLEVEL%"
if not "%EXITCODE%"=="0" pause
exit /b %EXITCODE%