Skip to content

Instantly share code, notes, and snippets.

View acorpuz's full-sized avatar
🍻
don't drink and root

Angel Corpuz Jr acorpuz

🍻
don't drink and root
  • Sysadmin Hoverture Italia
  • Rome
View GitHub Profile
@echo off
if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b)
@rem *** Disable Some Service ***
sc stop DiagTrack
sc stop diagnosticshub.standardcollector.service
sc stop dmwappushservice
sc stop WMPNetworkSvc
sc stop WSearch