2025-02-13 18:37:59 -05:00

6 lines
317 B
Batchfile

copy "%~dp0StartSuspended.sys" %systemdrive%\StartSuspended.sys
sc.exe create StartSuspended type= kernel start= auto binPath= %systemdrive%\StartSuspended.sys
reg.exe add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\StartSuspended /v Target /t REG_SZ /d sppsvc.exe /f
net.exe start StartSuspended
pause