@echo off
title Services
echo Services


rem sc config lanmanserver start= auto
rem sc start lanmanserver 
sc config RpcSs start= auto
sc start RpcSs 
sc config TermService start= auto
sc start TermService 
sc config RDSessMgr start= auto
sc start RDSessMgr 
sc config Spooler start= auto
sc start Spooler 
sc config helpsvc start= auto
sc start helpsvc 
sc config CiSvc start= demand
sc stop CiSvc 
sc config wuauserv start= auto
sc start wuauserv 
sc config BITS start= auto
sc start BITS 
sc config ImapiService start= auto
sc start ImapiService 
sc config Themes start= demand
sc stop Themes 
sc config TFTPD start= demand
sc stop TFTPD 
sc config stisvc start= auto
sc start stisvc 
sc config AudioSrv start= auto
sc start AudioSrv 
sc config seclogon start= auto
sc start seclogon 
sc config tlntsvr start= auto
tlntadmn config sec=-ntlm+passwd
sc start tlntsvr 
sc config MSFtpsvc start= auto
sc start MSFtpsvc
sc config SMTPsvc start= demand
sc stop SMTPsvc 
sc config W3svc start= demand
sc stop W3svc 
cscript %SystemRoot%\system32\iisweb.vbs /stop "Default Web Site"
sc config Nntpsvc start= demand
sc stop Nntpsvc 
sc config cryptsvc start= demand
sc stop cryptsvc 
sc config trkwks start= demand
sc stop trkwks 
sc config msdtc start= demand
sc stop msdtc 
sc config ersvc start= demand
sc stop ersvc 
sc config policyagent start= demand
sc stop policyagent 
sc config mdm start= demand
sc stop mdm 
sc config protectedstorage start= demand
sc stop protectedstorage 
sc config remoteregistry start= demand
sc stop remoteregistry 
sc config remote_storage_server start= demand
sc stop remote_storage_server 
wmic OS Set DataExecutionPrevention_SupportPolicy=0

echo.
exit
