color f0 REM disable UAC Prompt reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorUser /t REG_DWORD /d 0 /f reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f REM set Administrator's password to 1234 (probably don't want to really use 1234) net user administrator 1234 REM share drive net share admin=c:\ /grant:administrator,full REM install service pkgmgr /iu:"TelnetServer" REM enable service sc config TlntSvr start= auto REM Enable password logins. tlntadmn config sec +passwd REM change mode to stream (better for Linux login) tlntadmn config mode=stream REM start service net start TlntSvr REM install choco @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" choco feature enable -n allowGlobalConfirmation REM install python choco install python REM open port 8000 netsh advfirewall firewall add rule name="Open Port 8000" dir=in action=allow protocol=TCP localport=8000 cd c:\ REM Create vbs file to start python hidden echo Dim WShell > go.vbs echo Set WShell = CreateObject("WScript.Shell") >> go.vbs echo WShell.Run "c:\Python36\python -m http.server", 0 >> go.vbs echo Set WShell = Nothing >> go.vbs REM start webserver wscript go.vbs del go.vbs del c:\install*